CDF error NullPointerException: Difference between revisions

From IMSMA Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
</div>
</div>
This error is received when opening a Task which has value of the CDF (single-select radio-button with two options). <br/>
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/>
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 Data Inventory Manager is loading without any error messages.<br/>
The CDF looks normal/correct in the Data Inventory Manager.<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/>
There are no errors/duplicates between the item, item_has_cdfvalue, cdfvalue, customdefinedfield and allowed_value_set tables.<br/>
Adding a new single-select radio-button with two options works well and there are no error messages for Tasks without CDF value
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.
<pre>
<pre>
Internal Error: java.lang.NullPointerException
Internal Error: java.lang.NullPointerException
Line 42: Line 43:
'' Mistyped entitytype ''
'' Mistyped entitytype ''
</div>
</div>
And the error was a 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.
{{NavBox Hub}}
{{NavBox Hub}}
[[Category:NoPublic]]
[[Category:NoPublic]]
[[Category:NAA]]
[[Category:NAA]]

Latest revision as of 17:51, 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 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