/
Error saving the form.
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Error saving the form.

Error on UI:

Error in $Tomcat/logs/catalina.out

java.lang.NullPointerException
at edu.wustl.dynamicextensions.formdesigner.resource.Form.editForm(Form.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at

The above error might come when updating/saving the form controls.

This happens when the app context name (openspecimen) is not used in the URL.
Therefore the user needs to ensure 2 things:

  1. ProxyPassReverseCookiePath is configured.

  2. The App URL is correctly configured reflecting how the app is accessed.

Make sure ProxyPassReverseCookiePath is configured in Apache’s configuration file:

<VirtualHost *:80> ServerName <domain name>    ProxyPreserveHost On    ProxyPass / ajp://localhost:8009/openspecimen/    ProxyPassReverse / ajp://localhost:8009/openspecimen/    ProxyPassReverseCookiePath /openspecimen / </VirtualHost>

Configure the application URL in OpenSpecimen settings.

Click on navigation button → Settings → Common → Application URL.

Application URL = URL using which OpenSpecimen is accessed.

Screenshots for reference

Screen 1:

Screen 2:

 

Related content

Software/Hardware Requirements
Software/Hardware Requirements
Read with this
How to fix UI app showing dialog for username and password?
How to fix UI app showing dialog for username and password?
More like this
How to resolve form field special character issue.
How to resolve form field special character issue.
More like this
Error :Caused by: java.sql.SQLException: ORA-28001: the password has expired
Error :Caused by: java.sql.SQLException: ORA-28001: the password has expired
More like this
Technical problems and solutions
Technical problems and solutions
More like this
How to solve "Error creating bean with name 'importSpeForms' defined in ServletContext resource"?
How to solve "Error creating bean with name 'importSpeForms' defined in ServletContext resource"?
More like this
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com