pt.webdetails.cgg.ScriptExecuteException: java.lang.NullPointerException

Pentaho BI Platform Tracking | Tim Kafalas | 3 years ago
  1. 0

    To reproduce: Rename Heat Grid to heat:grid1[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` and attempt to either run in background or schedule. The error looks like: 11:22:16,664 ERROR [CggService] Error while rendering script pt.webdetails.cgg.ScriptExecuteException: java.lang.NullPointerException at pt.webdetails.cgg.scripts.SvgScript.execute(SvgScript.java:60) at pt.webdetails.cgg.AbstractCgg.draw(AbstractCgg.java:55) at pt.webdetails.cgg.CggService.draw(CggService.java:158) at pt.webdetails.cgg.CggContentGenerator.draw(CggContentGenerator.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ... 11:22:16,690 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "com.pentaho.analyzer.content.con troller.AnalyzerAction" failed to run as a quartz job java.lang.Exception: java.io.IOException: file:/C:/env/bis/biserver-ee/tomcat/temp/5df15e1d-dab2-11e3-8ced-d4bed922c986. png is not a recognized imageformat. at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:285) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:140) at org.pentaho.platform.scheduler2.quartz.BlockingQuartzJob.execute(BlockingQuartzJob.java:39) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) Caused by: java.io.IOException: file:/C:/env/bis/biserver-ee/tomcat/temp/5df15e1d-dab2-11e3-8ced-d4bed922c986.png is not a recognized imageformat.

    Pentaho BI Platform Tracking | 3 years ago | Tim Kafalas
    pt.webdetails.cgg.ScriptExecuteException: java.lang.NullPointerException
  2. 0

    To reproduce: Rename Heat Grid to heat:grid1[~!@#$%^&*(){}|.,]-=_+|;'"?<>~` and attempt to either run in background or schedule. The error looks like: 11:22:16,664 ERROR [CggService] Error while rendering script pt.webdetails.cgg.ScriptExecuteException: java.lang.NullPointerException at pt.webdetails.cgg.scripts.SvgScript.execute(SvgScript.java:60) at pt.webdetails.cgg.AbstractCgg.draw(AbstractCgg.java:55) at pt.webdetails.cgg.CggService.draw(CggService.java:158) at pt.webdetails.cgg.CggContentGenerator.draw(CggContentGenerator.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ... 11:22:16,690 ERROR [ActionAdapterQuartzJob] ActionAdapterQuartzJob.ERROR_0004 - Action "com.pentaho.analyzer.content.con troller.AnalyzerAction" failed to run as a quartz job java.lang.Exception: java.io.IOException: file:/C:/env/bis/biserver-ee/tomcat/temp/5df15e1d-dab2-11e3-8ced-d4bed922c986. png is not a recognized imageformat. at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:285) at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:140) at org.pentaho.platform.scheduler2.quartz.BlockingQuartzJob.execute(BlockingQuartzJob.java:39) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546) Caused by: java.io.IOException: file:/C:/env/bis/biserver-ee/tomcat/temp/5df15e1d-dab2-11e3-8ced-d4bed922c986.png is not a recognized imageformat.

    Pentaho BI Platform Tracking | 3 years ago | Tim Kafalas
    pt.webdetails.cgg.ScriptExecuteException: java.lang.NullPointerException

    Root Cause Analysis

    1. pt.webdetails.cgg.ScriptExecuteException

      java.lang.NullPointerException

      at pt.webdetails.cgg.scripts.SvgScript.execute()
    2. pt.webdetails.cgg
      CggContentGenerator.draw
      1. pt.webdetails.cgg.scripts.SvgScript.execute(SvgScript.java:60)
      2. pt.webdetails.cgg.AbstractCgg.draw(AbstractCgg.java:55)
      3. pt.webdetails.cgg.CggService.draw(CggService.java:158)
      4. pt.webdetails.cgg.CggContentGenerator.draw(CggContentGenerator.java:91)
      4 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      2 frames