java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When running a transformation that loads data into Cassandra SSTable formatted-files, an error occurs. PDI 5.4.0.4 w/ Cassandra 2.0.17 {noformat} SSTable Output.0 - ERROR (version 5.4.0.4-149, build 1 from 2015-09-17 09.58.29 by buildguy) : Failed to process row SSTable Output.0 - ERROR (version 5.4.0.4-149, build 1 from 2015-09-17 09.58.29 by buildguy) : org.pentaho.di.core.exception.KettleException: SSTable Output.0 - Failed to create SSTableSimpleUnsortedWriter SSTable Output.0 - Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:136) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.initialize(SSTableOutput.java:134) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.processRow(SSTableOutput.java:153) SSTable Output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) SSTable Output.0 - at java.lang.Thread.run(Unknown Source) SSTable Output.0 - Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:80) SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:91) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:133) SSTable Output.0 - ... 4 more {noformat} PDI 5.0.7 w/ Cassandra 1.2.5: {noformat} SSTable Output.0 - ERROR (version 5.0.7, build 1 from 2014-05-30_20-16-36 by buildguy) : org.pentaho.di.core.exception.KettleException: SSTable Output.0 - Failed to create SSTableSimpleUnsortedWriter SSTable Output.0 - Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:135) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.initialize(SSTableOutput.java:134) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.processRow(SSTableOutput.java:153) SSTable Output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) SSTable Output.0 - at java.lang.Thread.run(Thread.java:745) SSTable Output.0 - Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:80) SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:93) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:132) SSTable Output.0 - ... 4 more SSTable Output.0 - ERROR (version 5.0.7, build 1 from 2014-05-30_20-16-36 by buildguy) : Unexpected error SSTable Output.0 - ERROR (version 5.0.7, build 1 from 2014-05-30_20-16-36 by buildguy) : java.lang.NullPointerException SSTable Output.0 - at org.pentaho.di.trans.step.BaseStep.putError(BaseStep.java:1455) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.processRow(SSTableOutput.java:170) SSTable Output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) SSTable Output.0 - at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Matt Tucker,
  • When running a transformation that loads data into Cassandra SSTable formatted-files, an error occurs. PDI 5.4.0.4 w/ Cassandra 2.0.17 {noformat} SSTable Output.0 - ERROR (version 5.4.0.4-149, build 1 from 2015-09-17 09.58.29 by buildguy) : Failed to process row SSTable Output.0 - ERROR (version 5.4.0.4-149, build 1 from 2015-09-17 09.58.29 by buildguy) : org.pentaho.di.core.exception.KettleException: SSTable Output.0 - Failed to create SSTableSimpleUnsortedWriter SSTable Output.0 - Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:136) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.initialize(SSTableOutput.java:134) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.processRow(SSTableOutput.java:153) SSTable Output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) SSTable Output.0 - at java.lang.Thread.run(Unknown Source) SSTable Output.0 - Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:80) SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:91) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:133) SSTable Output.0 - ... 4 more {noformat} PDI 5.0.7 w/ Cassandra 1.2.5: {noformat} SSTable Output.0 - ERROR (version 5.0.7, build 1 from 2014-05-30_20-16-36 by buildguy) : org.pentaho.di.core.exception.KettleException: SSTable Output.0 - Failed to create SSTableSimpleUnsortedWriter SSTable Output.0 - Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:135) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.initialize(SSTableOutput.java:134) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.processRow(SSTableOutput.java:153) SSTable Output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) SSTable Output.0 - at java.lang.Thread.run(Thread.java:745) SSTable Output.0 - Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.CFMetaData SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:80) SSTable Output.0 - at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.<init>(SSTableSimpleUnsortedWriter.java:93) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableWriter.init(SSTableWriter.java:132) SSTable Output.0 - ... 4 more SSTable Output.0 - ERROR (version 5.0.7, build 1 from 2014-05-30_20-16-36 by buildguy) : Unexpected error SSTable Output.0 - ERROR (version 5.0.7, build 1 from 2014-05-30_20-16-36 by buildguy) : java.lang.NullPointerException SSTable Output.0 - at org.pentaho.di.trans.step.BaseStep.putError(BaseStep.java:1455) SSTable Output.0 - at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.processRow(SSTableOutput.java:170) SSTable Output.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) SSTable Output.0 - at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Matt Tucker,
  • Cassandra another frame size issue
    via Stack Overflow by Kacu
    ,
  • Pentaho Error while importing data and cleaning
    via Stack Overflow by Zack
    ,
  • CSV - Lazy conversion gives an error message, but everything works. Here is the example of error message. If I switch Lazy conversion off then error disappears. 2011/09/29 12:00:31 - Spoon - Transformation opened. 2011/09/29 12:00:31 - Spoon - Launching transformation [TestForSelectValues]... 2011/09/29 12:00:31 - Spoon - Started the transformation execution. 2011/09/29 12:00:31 - TestForSelectValues - Dispatching started for transformation [TestForSelectValues] 2011/09/29 12:00:31 - Transformation metadata - Natural sort of steps executed in 0 ms (4 time previous steps calculated) 2011/09/29 12:00:31 - CSV file input.0 - Header row skipped in file 'N:\Daily Positions\State Street\Pentaho\Null in CashPercentage\2010-08-04 SS Position.csv' 2011/09/29 12:00:31 - CSV file input.0 - Finished processing (I=597, O=0, R=0, W=596, U=0, E=0) 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Error writing field (0,3) : java.lang.NullPointerException 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : java.lang.NullPointerException 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.writeField(ExcelOutput.java:424) 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.writeField(ExcelOutput.java:279) 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.writeRowToFile(ExcelOutput.java:215) 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.exceloutput.ExcelOutput.processRow(ExcelOutput.java:147) 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 2011/09/29 12:00:31 - Microsoft Excel Output.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at java.lang.Thread.run(Unknown Source) 2011/09/29 12:00:31 - Select values.0 - Finished processing (I=0, O=0, R=596, W=596, U=0, E=0) 2011/09/29 12:00:31 - Microsoft Excel Output.0 - Finished processing (I=0, O=2, R=3, W=2, U=0, E=1) 2011/09/29 12:00:31 - Spoon - The transformation has finished!! 2011/09/29 12:00:31 - TestForSelectValues - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Errors detected! 2011/09/29 12:00:31 - TestForSelectValues - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Errors detected! 2011/09/29 12:00:31 - TestForSelectValues - TestForSelectValues 2011/09/29 12:00:31 - TestForSelectValues - TestForSelectValues
    via by Alex Sviridov,
    • java.lang.NullPointerException at org.pentaho.di.trans.step.BaseStep.putError(BaseStep.java:1455) at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.processRow(SSTableOutput.java:170) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor1 times, last one,