CDF error NullPointerException

From IMSMA Wiki
Jump to navigation Jump to search

This example is from Task

This error is received when opening a Task which has value of the CDF (single-select radio-button with two options).
When opening a Task without CDF value there is no error message but the CDF is invisible.
The Data Inventory Manager is loading without any error messages.
The CDF looks normal/correct in the Data Inventory Manager.
There are no errors/duplicates between the item, item_has_cdfvalue, cdfvalue, customdefinedfield and allowed_value_set tables.
Adding a new single-select radio-button CDF with two options works well and there are no error messages for Tasks without CDF value. The first CDF is still invisible.

Internal Error: java.lang.NullPointerException
java.lang.NullPointerException
	at com.fgm.imsma.client.common.cdf.CdfValuesWidget.setCdfValuesList(CdfValuesWidget.java:143)
	at com.fgm.imsma.client.common.cdf.CdfValuesWidget.setCdfValuesSet(CdfValuesWidget.java:153)
	at com.fgm.imsma.client.task.view.TaskEditorView.populateView(TaskEditorView.java:611)
	at com.fgm.imsma.client.task.controller.TaskEditorController.populateComponentsAfterBackground(TaskEditorController.java:174)
	at com.fgm.imsma.gui.controller.Controller$1.done(Controller.java:356)
	at javax.swing.SwingWorker$5.run(Unknown Source)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
	at sun.swing.AccumulativeRunnable.run(Unknown Source)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
	at javax.swing.Timer.fireActionPerformed(Unknown Source)
	at javax.swing.Timer$DoPostEvent.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Mistyped entitytype

And the error was a mistyped entitytype which shows that different parts of the code are not equally sensitive for correct upper/lower case. Template:NavBox Hub