[#10116] - ad hoc controller exception: NPE

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Random
Assigned to:
0

Tried open the example Ad Hoc View "07. Brand Sales Analysis" and the server shows me the "Loading ..." cicle. Found this stackstrace in the catalina.out log.

2017-11-15 13:29:09,117 ERROR AdhocAjaxController,http-bio-8080-exec-11:903 - ad hoc controller exception: true
java.lang.NullPointerException
at com.jaspersoft.ji.adhoc.action.AdhocAjaxController.generateReport(AdhocAjaxController.java:1781)
at com.jaspersoft.ji.adhoc.action.AdhocAjaxController.tryToKeepServerAlive(AdhocAjaxController.java:2548)
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 org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at com.jaspersoft.ji.adhoc.action.AdhocAjaxController.handleRequest(AdhocAjaxController.java:174)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

When I retry it, the Ad Hoc View will be open without an error. So, i don't know how it is reproducable, sry.

Kind regards,
Jan Grabbe

v6.4.0
Ad Hoc
j.roters's picture
Joined: May 18 2017 - 7:56am
Last seen: 1 year 12 months ago
Feedback
randomness