DX Unified Infrastructure Management

  • 1.  Scheduled reports not workng

    Posted Oct 22, 2016 12:17 AM

    Hi,

    In our UMP some of the scheduled reports are not getting generated. The scheduled job is failing, but the while generating the reports from templates its working fine. Below is the error log we get from failed jobs. Can some one help me to get this worked.

     

    UNABLE TO GENERATE REPORT! The following error occurred : null
    java.lang.NullPointerException at com.firehunter.reportview.ChartBook.createStackedChart(ChartBook.java:640) at com.firehunter.reportview.ChartBook.createChartAsSVGGraphics2D(ChartBook.java:535) at com.firehunter.reportview.ChartBook.write(ChartBook.java:1915) at com.firehunter.reportscheduler.model.GenerateReportAction.writeReportToFile(GenerateReportAction.java:132) at com.firehunter.reportscheduler.model.GenerateReportAction.execute(GenerateReportAction.java:117) at com.firehunter.reportscheduler.impl.JobManagerImpl.runAction(JobManagerImpl.java:226) at com.firehunter.reportscheduler.impl.JobManagerImpl.run(JobManagerImpl.java:157) at com.firehunter.reportscheduler.impl.JobManagerImpl.run(JobManagerImpl.java:143) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421) at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183) at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503) at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884) at flex.messaging.endpoints.AbstractEndpoint$FastClassByCGLIB$1a3ef066.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.flex.core.MessageInterceptionAdvice.invoke(MessageInterceptionAdvice.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:126) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:582) at flex.messaging.endpoints.AMFEndpoint$EnhancerByCGLIB$91f9b72b.serviceMessage(<generated>) at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121) at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158) at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44) at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67) at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146) at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278) at flex.messaging.endpoints.AMFEndpoint$EnhancerByCGLIB$91f9b72b.service(<generated>) at org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerAdapter.java:101) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.firehunter.ump.auth.InvalidHttpSessionFilter.doFilter(InvalidHttpSessionFilter.java:29) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:117) at sun.reflect.GeneratedMethodAccessor1374.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:67) at com.sun.proxy.$Proxy910.doFilter(Unknown Source) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:73) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96) at com.liferay.portal.kernel.servlet.PortalClassLoaderFilter.doFilter(PortalClassLoaderFilter.java:72) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:79) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source)

    Job finished on Saturday, October 22, 2016 at 9:36:51 AM taking 0.685 seconds to run.



  • 2.  Re: Scheduled reports not workng
    Best Answer

    Posted Oct 24, 2016 01:02 AM

    Try the below 

     

    Java Exception Displayed When Scheduling Reports

    Symptom:

    When I try to run a job it fails, and when I view the log file a java exception error is displayed.

    Solution:

    There may be a problem delivering the report. This could be due to an invalid delivery setting, such as FTP server information, email address, or server path. Check the log file for more information. If you see "UNABLE TO EMAIL REPORT!" before the java exception message, you may need to configure UMP for email or the email address may not be valid.

    If you see "FTP Reply: 550 550 can't access file." in the java exception message, one of the following problems may be occurring:

    • The disk on the FTP server is full.
    • The specified FTP user does not have permission to write to the directory.
    • The file name contains characters that cannot be saved on the FTP server. Make sure the job name contains only alphanumeric characters.


  • 3.  Re: Scheduled reports not workng

    Posted Oct 28, 2016 10:40 AM

    Hi Phani,

     

    Thanks for the info. In our case we have multiple reports scheduled out of which some of them are working fine and some are not. Mainly these reports are configured to be saved on FTP location. For those reports which are failing I tried to get it sent over mail. Then also I am getting the same error.

    Also I checked the failed reports and the job names contain only alphanumeric characters only.