66 views

Description

Using <sn-list-parent> on angular page.
Trying to update reference field (dot-walking) with inline editing on list.
Field not updated.

Steps to Reproduce

Reproducing with "problem" table.

Mdify layout of problem list t oadd some dot-walkin colum, for exampl e Configuration Item > Name

Open $list.do?sysparm_table=problem

Double-click and edit the field. Click "save".
Inline editor stuck in waiting state.

Sys log:

2017-05-15 12:04:27 (602) Default-thread-3 699998F8C33232008EBD1962C1D3AE53 #422 /api/now/ui/table_edit/problem Parameters -------------------------
sysparm_field_styles=true
sysparm_related_type=
sysparm_referring_record_id=
sysparm_reference_field=
sysparm_parent_table=
sysparm_referring_record_changed_values=
sysparm_referring_table=
sysparm_referring_encoded_record=
api=api
sysparm_limit=20
sysparm_offset=0
sysparm_fixed_query=
sysparm_relationship_id=
sysparm_reference_key=
sysparm_related_field=
sysparm_userpref_module=
sysparm_fields=name
sysparm_exclude_reference_link=true
sysparm_records=051e8f6cc0a8016600cdf7fd19e10414
sysparm_list_type=
sysparm_related_list_query=
sysparm_view=
sysparm_query=
sysparm_related_list=
sysparm_clear_stack=
sysparm_parent_record=
sysparm_display_value=all
sysparm_read_replica_category=list
sysparm_input_display_value=true
2017-05-15 12:04:27 (603) Default-thread-3 699998F8C33232008EBD1962C1D3AE53 WARNING *** WARNING *** getGlideElement called for unknown field 'name' in table 'problem'
2017-05-15 12:04:27 (603) Default-thread-3 699998F8C33232008EBD1962C1D3AE53 WARNING *** WARNING *** setValue called for unknown field 'name' in table 'problem'
2017-05-15 12:04:27 (612) Default-thread-3 699998F8C33232008EBD1962C1D3AE53 SEVERE *** ERROR *** java.lang.NullPointerException
java.lang.RuntimeException: java.lang.NullPointerException
at com.glide.rest.handler.impl.ServiceHandlerImpl.handleInvocationTargetException(ServiceHandlerImpl.java:79)
at com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:50)
at com.glide.rest.processors.RESTAPIProcessor.process(RESTAPIProcessor.java:228)
at com.glide.processors.AProcessor.runProcessor(AProcessor.java:468)
at com.glide.processors.AProcessor.processTransaction(AProcessor.java:199)
at com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:178)
at com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:167)
at com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31)
at com.glide.sys.Transaction.run(Transaction.java:2033)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.glide.ui.list.TableEditService.cannotWriteToElement(TableEditService.java:354)
at com.glide.ui.list.TableEditService.setValues(TableEditService.java:321)
at com.glide.ui.list.TableEditService.updateGlideRecord(TableEditService.java:308)
at com.glide.ui.list.TableEditService.updateSingleRecord(TableEditService.java:177)
at com.glide.ui.list.TableEditService.updateRecordResponse(TableEditService.java:154)
at com.glide.ui.list.TableEditService.updateListEditRecords(TableEditService.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.glide.rest.handler.impl.ServiceHandlerImpl.invokeService(ServiceHandlerImpl.java:43)
... 10 more

Exception on browser:

angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:95 PUT http://localhost:8080/api/now/ui/table_edit/problem?sysparm_records=051e8f6…lationship_id=&sysparm_userpref_module=&sysparm_read_replica_category=list 500 (Internal Server Error)
(anonymous) @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:95
r @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:91
g @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:88
(anonymous) @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:121
$eval @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:135
$digest @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:132
$apply @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:136
(anonymous) @ angular_includes_1.4.jsx?v=Mon_May_15_08_49_41_IDT_2017:256
dispatch @ jquery2_includes.jsx?v=Mon_May_15_08_49_41_IDT_2017:18
r.handle @ jquery2_includes.jsx?v=Mon_May_15_08_49_41_IDT_2017:18

Workaround

Currently, there is no workaround. To receive notifications if and when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article.


Related Problem: PRB964285

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-11-16 17:10:01
Published:2017-11-17