You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@6b03ga1pn
Internal Server Error (500) for request POST /surveyManager/saveSurvey
Execution exception (In /app/controllers/SurveyManager.java around line 67)
NullPointerException occured : Try to read userAdmin on null object models.NdgUser (controllers.SurveyManager.saveSurvey, line 67)
play.exceptions.JavaExecutionException: Try to read userAdmin on null object models.NdgUser (controllers.SurveyManager.saveSurvey, line 67)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:229)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NullPointerException: Try to read userAdmin on null object models.NdgUser (controllers.SurveyManager.saveSurvey, line 67)
at play.classloading.enhancers.PropertiesEnhancer$FieldAccessor.invokeReadProperty(PropertiesEnhancer.java:202)
at controllers.SurveyManager.saveSurvey(SurveyManager.java:67)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:546)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:500)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:476)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:471)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:159)
... 1 more
The text was updated successfully, but these errors were encountered:
I get different error messages but the one that comes up the most is:
Internal Server Error (500) for request POST /surveyManager/saveSurvey
Execution exception (In /app/controllers/deserializer/QuestionObjectFactory.java around line 62)
LazyInitializationException occured : failed to lazily initialize a collection of role: models.Category.questionCollection, no session or session was closed
When I edit a survey and try to save it, it says:
Problem with saving survey. Original error: error
The log shows the following:
@6b03ga1pn
Internal Server Error (500) for request POST /surveyManager/saveSurvey
Execution exception (In /app/controllers/SurveyManager.java around line 67)
NullPointerException occured : Try to read userAdmin on null object models.NdgUser (controllers.SurveyManager.saveSurvey, line 67)
play.exceptions.JavaExecutionException: Try to read userAdmin on null object models.NdgUser (controllers.SurveyManager.saveSurvey, line 67)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:229)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NullPointerException: Try to read userAdmin on null object models.NdgUser (controllers.SurveyManager.saveSurvey, line 67)
at play.classloading.enhancers.PropertiesEnhancer$FieldAccessor.invokeReadProperty(PropertiesEnhancer.java:202)
at controllers.SurveyManager.saveSurvey(SurveyManager.java:67)
at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:546)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:500)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:476)
at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:471)
at play.mvc.ActionInvoker.invoke(ActionInvoker.java:159)
... 1 more
The text was updated successfully, but these errors were encountered: