org.pentaho.di.core.exception.KettleException: Unable to load image from file : 'null' at java.lang.Thread.run (Thread.java:680) at org.pentaho.di.trans.step.RunThread.run (RunThread.java:40) at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow (AutoDoc.java:214) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta (TransformationInformation.java:57) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues (TransformationInformation.java:63) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues (TransformationInformation.java:102) at org.pentaho.di.core.gui.SwingGC.<init> (SwingGC.java:134) at org.pentaho.di.core.gui.SwingGC.init (SwingGC.java:168) at org.pentaho.di.core.gui.SwingGC.getImageIcon (SwingGC.java:200) at java.io.File.<init> (File.java:222)

Pentaho BI Platform Tracking | Slawomir Chodnicki | 5 years ago
  1. 0

    It's a cool thing that the automated documentation output step allows to output metadata to the stream. The idea now is to use a transformation like that as an input source to generate customized PRD-based documentation, instead of going with the default step layout. This fails. Steps to reproduce: Create transformation that puts METADATA into the row stream using the METADATA output type of the automated documentation step. Create a new PRD report and use a PDI data source. Specify the output of the automated documentation step as data source. Symptom: PRD will never display any data (in Spoon it works perfectly) Cause: PRD logs the following to the console, when the datasource is used: {noformat} 9/20/11 3:56:45.537 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,536 - generate_documentation - Dispatching started for transformation [generate_documentation] 9/20/11 3:56:45.543 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,542 - Get File Names - Finished processing (I=0, O=0, R=0, W=3, U=0, E=0) 9/20/11 3:56:45.546 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,545 - Value Mapper - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: ERROR 20-09 15:56:45,555 - Automatic Documentation Output - Unexpected error 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: ERROR 20-09 15:56:45,555 - Automatic Documentation Output - org.pentaho.di.core.exception.KettleException: 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: Unable to load image from file : 'null' 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.lang.Thread.run (Thread.java:680) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.step.RunThread.run (RunThread.java:40) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow (AutoDoc.java:214) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta (TransformationInformation.java:57) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues (TransformationInformation.java:63) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues (TransformationInformation.java:102) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.<init> (SwingGC.java:134) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.init (SwingGC.java:168) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.getImageIcon (SwingGC.java:200) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.io.File.<init> (File.java:222) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.getImageIcon(SwingGC.java:220) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.init(SwingGC.java:168) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.<init>(SwingGC.java:134) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues(TransformationInformation.java:102) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues(TransformationInformation.java:63) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta(TransformationInformation.java:57) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow(AutoDoc.java:214) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.lang.Thread.run(Thread.java:680) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: Caused by: java.lang.NullPointerException 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.io.File.<init>(File.java:222) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.getImageIcon(SwingGC.java:200) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: ... 8 more 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,556 - Automatic Documentation Output - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) {noformat} PS: This happens regardless of whether the transformation image is configured to go into the row stream.

    Pentaho BI Platform Tracking | 5 years ago | Slawomir Chodnicki
    org.pentaho.di.core.exception.KettleException: Unable to load image from file : 'null' at java.lang.Thread.run (Thread.java:680) at org.pentaho.di.trans.step.RunThread.run (RunThread.java:40) at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow (AutoDoc.java:214) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta (TransformationInformation.java:57) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues (TransformationInformation.java:63) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues (TransformationInformation.java:102) at org.pentaho.di.core.gui.SwingGC.<init> (SwingGC.java:134) at org.pentaho.di.core.gui.SwingGC.init (SwingGC.java:168) at org.pentaho.di.core.gui.SwingGC.getImageIcon (SwingGC.java:200) at java.io.File.<init> (File.java:222)
  2. 0

    It's a cool thing that the automated documentation output step allows to output metadata to the stream. The idea now is to use a transformation like that as an input source to generate customized PRD-based documentation, instead of going with the default step layout. This fails. Steps to reproduce: Create transformation that puts METADATA into the row stream using the METADATA output type of the automated documentation step. Create a new PRD report and use a PDI data source. Specify the output of the automated documentation step as data source. Symptom: PRD will never display any data (in Spoon it works perfectly) Cause: PRD logs the following to the console, when the datasource is used: {noformat} 9/20/11 3:56:45.537 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,536 - generate_documentation - Dispatching started for transformation [generate_documentation] 9/20/11 3:56:45.543 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,542 - Get File Names - Finished processing (I=0, O=0, R=0, W=3, U=0, E=0) 9/20/11 3:56:45.546 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,545 - Value Mapper - Finished processing (I=0, O=0, R=3, W=3, U=0, E=0) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: ERROR 20-09 15:56:45,555 - Automatic Documentation Output - Unexpected error 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: ERROR 20-09 15:56:45,555 - Automatic Documentation Output - org.pentaho.di.core.exception.KettleException: 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: Unable to load image from file : 'null' 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.lang.Thread.run (Thread.java:680) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.step.RunThread.run (RunThread.java:40) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow (AutoDoc.java:214) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta (TransformationInformation.java:57) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues (TransformationInformation.java:63) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues (TransformationInformation.java:102) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.<init> (SwingGC.java:134) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.init (SwingGC.java:168) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.getImageIcon (SwingGC.java:200) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.io.File.<init> (File.java:222) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.getImageIcon(SwingGC.java:220) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.init(SwingGC.java:168) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.<init>(SwingGC.java:134) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues(TransformationInformation.java:102) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues(TransformationInformation.java:63) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta(TransformationInformation.java:57) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow(AutoDoc.java:214) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.lang.Thread.run(Thread.java:680) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: Caused by: java.lang.NullPointerException 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at java.io.File.<init>(File.java:222) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: at org.pentaho.di.core.gui.SwingGC.getImageIcon(SwingGC.java:200) 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: ... 8 more 9/20/11 3:56:45.556 PM [0x0-0xfa0fa].org.pentaho.reporting.designer.ReportDesigner: INFO 20-09 15:56:45,556 - Automatic Documentation Output - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) {noformat} PS: This happens regardless of whether the transformation image is configured to go into the row stream.

    Pentaho BI Platform Tracking | 5 years ago | Slawomir Chodnicki
    org.pentaho.di.core.exception.KettleException: Unable to load image from file : 'null' at java.lang.Thread.run (Thread.java:680) at org.pentaho.di.trans.step.RunThread.run (RunThread.java:40) at org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow (AutoDoc.java:214) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta (TransformationInformation.java:57) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues (TransformationInformation.java:63) at org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues (TransformationInformation.java:102) at org.pentaho.di.core.gui.SwingGC.<init> (SwingGC.java:134) at org.pentaho.di.core.gui.SwingGC.init (SwingGC.java:168) at org.pentaho.di.core.gui.SwingGC.getImageIcon (SwingGC.java:200) at java.io.File.<init> (File.java:222)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. ajinkya_w 1 times, last 2 months ago
  2. emmanuelstroem 1 times, last 4 months ago
  3. adawolfs 31 times, last 2 months ago
  4. Diogo Jaym 6 times, last 5 months ago
  5. Bardh 7 times, last 6 months ago
6 more registered users
20 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.io.File.<init>()
  2. Java RT
    File.<init>
    1. java.io.File.<init>(File.java:222)
    1 frame
  3. org.pentaho.di
    RunThread.run
    1. org.pentaho.di.core.gui.SwingGC.getImageIcon(SwingGC.java:200)
    2. org.pentaho.di.core.gui.SwingGC.init(SwingGC.java:168)
    3. org.pentaho.di.core.gui.SwingGC.<init>(SwingGC.java:134)
    4. org.pentaho.di.trans.steps.autodoc.TransformationInformation.loadValues(TransformationInformation.java:102)
    5. org.pentaho.di.trans.steps.autodoc.TransformationInformation.getValues(TransformationInformation.java:63)
    6. org.pentaho.di.trans.steps.autodoc.TransformationInformation.getTransMeta(TransformationInformation.java:57)
    7. org.pentaho.di.trans.steps.autodoc.AutoDoc.processRow(AutoDoc.java:214)
    8. org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
    8 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)
    1 frame