Difference between revisions of "Error opening Data Entry Form Template"

From IMSMA Wiki
Jump to: navigation, search
 
Line 15: Line 15:
 
</pre>
 
</pre>
 
This error example is caused by the Data Entry Form template contains a checkbox which has options that do not exist in your database.
 
This error example is caused by the Data Entry Form template contains a checkbox which has options that do not exist in your database.
<li>One way to identify which data field gives the error is to publish the template and then the missing enumvalues in checkboxes will be listed.</li>
+
<li>One way to identify which data field gives the error is to publish the template that someone else sent you and then the missing enumvalues in checkboxes will be listed. If you started from one of the Inspiration templates then publish it and then the missing enumvalues in checkboxes will be listed.</li>
 
<li>A more time consuming method is to start with the original template: </li>  
 
<li>A more time consuming method is to start with the original template: </li>  
 
<ol type="a">
 
<ol type="a">

Latest revision as of 21:05, 6 January 2021

When a Data Entry Form template is dragged into the designer window nothing happens.

This error is common when the template is designed by someone else.

  1. The first time you drag it in, everything is fine.
  2. You make some changes and/or save it.
  3. Second time you drag in the template it is not added to the designer.
  4. Output in the Console log:

    [freeform.ComponentDropTargetListener] line:279 - 
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
    
    Caused by: java.lang.NullPointerException
    	at com.fgm.freeform.component.CheckBox.addSiblingKeys(CheckBox.java:215)
    

    This error example is caused by the Data Entry Form template contains a checkbox which has options that do not exist in your database.

  5. One way to identify which data field gives the error is to publish the template that someone else sent you and then the missing enumvalues in checkboxes will be listed. If you started from one of the Inspiration templates then publish it and then the missing enumvalues in checkboxes will be listed.
  6. A more time consuming method is to start with the original template:
    1. Delete all data fields on the last page.
    2. Save template with new name.
    3. Drag it again.
    4. Repeat until you have identify which page the problematic field is.