CDF error NullPointerException: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
Created page with "650px|center <div align="center"> '' This example is from Task'' </div> <pre> Internal Error: java.lang.NullPointerException java.lang.NullPointerExce..."
 
No edit summary
Line 3: Line 3:
'' This example is from Task''
'' This example is from Task''
</div>
</div>
This error is received when opening a Task which has value of the CDF (single-select radio-button with two options). <br/>
When opening a Task without CDF value there is no error message but the CDF is invisible.<br/>
The Data Inventory Manager is loading without any error messages.<br/>
The CDF looks normal/correct in the Data Inventory Manager.<br/>
There are no errors/duplicates between the item, item_has_cdfvalue, cdfvalue, customdefinedfield and allowed_value_set.<br/>
Adding a new single-select radio-button with two options works well and there are no error messages for Tasks without CDF value
<pre>
<pre>
Internal Error: java.lang.NullPointerException
Internal Error: java.lang.NullPointerException
Line 32: Line 38:
at java.awt.EventDispatchThread.run(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
</pre>
</pre>
[[Image:CDF error2.png|400px|center]]
<div align="center">
'' Mistyped entitytype ''
</div>
And the error was a mistyped entitytype!
{{NavBox Hub}}
{{NavBox Hub}}
[[Category:NoPublic]]
[[Category:NoPublic]]
[[Category:NAA]]
[[Category:NAA]]

Revision as of 17:29, 17 August 2016

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.
Adding a new single-select radio-button with two options works well and there are no error messages for Tasks without CDF value

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! Template:NavBox Hub