Notifications

32 views

Symptoms


List Editing does not work for a choice filed and choiced will not load showing a blue spinning circle in the cell. We can successfully edit the field in form but it breaks on while editing in the list.

Error in the developer tools:

Uncaught TypeError: Cannot read property 'getElementsByTagName' of null

at e._createOptions (js_includes_list_edit_doctype.jsx:1741)

at e._responseReceived (js_includes_doctype.jsx?v=11-02-2018_1054&lp=Mon_Oct_15_14_04_21_PDT_2018&c=26_493:12084)

at e._processReqChange (js_includes_doctype.jsx?v=11-02-2018_1054&lp=Mon_Oct_15_14_04_21_PDT_2018&c=26_493:11942)

 

Error in Node logs:

 

Default-thread-16 A97702F5DB87E700F3AFF3D31D961976 txid=635f46b1db4b SEVERE *** ERROR *** java.lang.NullPointerException

java.lang.NullPointerException

at com.glide.choice.XMLChoiceListSerializer.getChoiceList(XMLChoiceListSerializer.java:43)

at com.glide.processors.xmlhttp.XMLListChoiceListSeralizer.intersectedChoiceList(XMLListChoiceListSeralizer.java:60)

at com.glide.processors.xmlhttp.XMLListChoiceListSeralizer.getChoiceList(XMLListChoiceListSeralizer.java:44)

at com.glide.processors.xmlhttp.PickList.process(PickList.java:71)

at com.glide.processors.XMLHttpProcessor.processJavaAJAX(XMLHttpProcessor.java:151)

at com.glide.processors.XMLHttpProcessor.process(XMLHttpProcessor.java:104)

at com.glide.processors.AProcessor.runProcessor(AProcessor.java:483)

at com.glide.processors.AProcessor.processTransaction(AProcessor.java:205)

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:2038)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Release


All Releases

Cause


The value of the sys_class_name is null for the record which is unable to edit in the list. You can verify it by adding class field to the list and notice the value is null.

Resolution


Adding the value to the Class(sys_class_name) to the record will resolve the issue.

 

Article Information

Last Updated:2019-01-18 06:45:35
Published:2019-01-18