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:
ProxyPassReverseCookiePath is configured.
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:
Leave a comment at the end of this page or email contact@krishagni.com