Hi there,
I have a report in which I need to run with full descriptions instead of a summary. Doing some google searching I found that I could run a query report to accomplish this. However, when adjusting the report to the query editor, I am receiving an error message.
Here is the query I am attempting to run:
- SELECT wo.WORKORDERID "Request ID",wo.TITLE "Subject",wo.DESCRIPTION "Description",rrs.RESOLUTION "Resolution",wo.CREATEDTIME "Created Time",wo.COMPLETEDTIME "Completed Time",std.STATUSNAME "Request Status" FROM WorkOrder wo LEFT JOIN WorkOrderStates wos ON wo.WORKORDERID=wos.WORKORDERID LEFT JOIN StatusDefinition std ON wos.STATUSID=std.STATUSID LEFT JOIN RequestResolver rrr ON wo.WORKORDERID=rrr.REQUESTID LEFT JOIN RequestResolution rrs ON rrr.REQUESTID=rrs.REQUESTID WHERE (((std.STATUSNAME = 'Closed') AND (((wo.CREATEDTIME >= datetolong('1420099200000') AND ((wo.CREATEDTIME != 0) AND (wo.CREATEDTIME IS NOT NULL))) AND ((wo.CREATEDTIME <= datetolong('1476428399000') AND (((wo.CREATEDTIME != 0) AND (wo.CREATEDTIME IS NOT NULL)) AND (wo.CREATEDTIME != -1))))) AND (wo.DEPARTMENTID = 1)) AND wo.ISPARENT='1'
and here is the error message I am receiving:
- java.lang.NullPointerException
- at com.adventnet.servicedesk.reports.utils.CoreReportDesigner.generateSQLReport(CoreReportDesigner.java:7948)
- at com.adventnet.servicedesk.reports.action.ReportRequestHandler.runSQLQueryReport(ReportRequestHandler.java:1553)
- at com.adventnet.servicedesk.reports.action.ReportRequestHandler.handleRequest(ReportRequestHandler.java:1844)
- at com.adventnet.servicedesk.reports.action.CustomReportHandler.handleRequest(CustomReportHandler.java:155)
- at com.adventnet.servicedesk.reports.action.ReportHandler.execute(ReportHandler.java:59)
- at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
- at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
- at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
- at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
- at com.adventnet.servicedesk.filter.EncodingFilter.doFilter(EncodingFilter.java:157)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
- at com.manageengine.supportcenter.service.NTLMV2CredentialAssociationFilter.doFilter(NTLMV2CredentialAssociationFilter.java:31)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
- at com.manageengine.supportcenter.service.NTLMV2Filter.doFilter(NTLMV2Filter.java:152)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
- at com.adventnet.authentication.ContextChangeDetector.doFilter(ContextChangeDetector.java:112)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
- at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
- at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
- at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
- at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at com.adventnet.authentication.CredentialAssociation.invoke(CredentialAssociation.java:75)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at com.adventnet.client.util.LoginParameters.invoke(LoginParameters.java:53)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:444)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
- at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
- at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
- at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
- at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
- at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
- at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
- at java.lang.Thread.run(Unknown Source)
Would anyone be able to assist me in troubleshooting what is going on here?
Thanks,
-Michael Gainor