5 Replies Latest reply on Dec 28, 2016 5:15 AM by Siddharth Sinha

    Error While Generating Scheduled Infrastructure Report

    Avinash Pal
      Share This:

      Hi Team,

       

      We have scheduled Infrastructure Report in Entuity 15.0(P03) but after upgrading Entuity to 16.0(P02) we are getting the below error.

       

      net.sf.jasperreports.engine.JRException: Error executing query 

       

      com.entuity.webUI.jasper.GroovyExecuter.runQuery(Unknown Source)

      com.entuity.webUI.jasper.GroovyExecuter.createDatasource(Unknown Source)

      net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:686)

      net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:606)

      net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1277)

      net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:892)

      net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841)

      net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)

      net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)

      com.entuity.webUI.jasper.JasperReportBO.generateJasperPrintObject(Unknown Source)

      com.entuity.webUI.jasper.JasperReportBO.runJasperReport(Unknown Source)

      com.entuity.webUI.view.reports.JasperReportRunner.runReport(Unknown Source)

      com.entuity.webUI.view.JasperReportController.handleRequestInternal(Unknown Source)

      org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

      org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)

      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)

      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)

      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)

      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:624)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)

      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)

      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)

      org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)

      org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)

      org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

      java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

      java.lang.Thread.run(Unknown Source)

       

      Caused by:

      org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.toInteger() is applicable for argument types: () values: [] Possible solutions: toUnique(), toUnique() 

       

      org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:97)

      groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)

      groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1208)

      groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1017)

      groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:808)

      groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44)

      groovy.util.Proxy.invokeMethod(Proxy.java:56)

      com.entuity.dataapi.groovy.GroovyQuery.run(Unknown Source)

      com.entuity.webUI.jasper.GroovyExecuter.runQuery(Unknown Source)

      com.entuity.webUI.jasper.GroovyExecuter.createDatasource(Unknown Source)

      net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:686)

      net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:606)

      net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1277)

      net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:892)

      net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841)

      net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)

      net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)

      com.entuity.webUI.jasper.JasperReportBO.generateJasperPrintObject(Unknown Source)

      com.entuity.webUI.jasper.JasperReportBO.runJasperReport(Unknown Source)

      com.entuity.webUI.view.reports.JasperReportRunner.runReport(Unknown Source)

      com.entuity.webUI.view.JasperReportController.handleRequestInternal(Unknown Source)

      org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

      org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)

      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)

      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)

      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)

      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:624)

      javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)

      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)

      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)

      org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1082)

      org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:623)

      org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

      java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

      java.lang.Thread.run(Unknown Source)

       

      Please assist

       

      Regards

      Avinash Pal