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.

  • I am getting a nullpointerexception in a fairly straightforward tranformation in Spoon. The error occurs after a Row Normaliser step. If I remove this step I do not get the error. The step is transforming 8 columns to row values from a flat file. 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : Unexpected error : 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : java.lang.NullPointerException 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.core.row.RowMeta.searchValueMeta(RowMeta.java:357) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.core.row.RowMeta.exists(RowMeta.java:105) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.core.row.RowMeta.addValueMeta(RowMeta.java:116) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.trans.steps.addsequence.AddSequenceMeta.getFields(AddSequenceMeta.java:249) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.trans.steps.addsequence.AddSequence.processRow(AddSequence.java:110) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.trans.steps.addsequence.AddSequence.run(AddSequence.java:234)
    via by Bill Wimsatt,
  • I am getting a nullpointerexception in a fairly straightforward tranformation in Spoon. The error occurs after a Row Normaliser step. If I remove this step I do not get the error. The step is transforming 8 columns to row values from a flat file. 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : Unexpected error : 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : java.lang.NullPointerException 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.core.row.RowMeta.searchValueMeta(RowMeta.java:357) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.core.row.RowMeta.exists(RowMeta.java:105) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.core.row.RowMeta.addValueMeta(RowMeta.java:116) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.trans.steps.addsequence.AddSequenceMeta.getFields(AddSequenceMeta.java:249) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.trans.steps.addsequence.AddSequence.processRow(AddSequence.java:110) 2008/02/29 17:51:50 - Add sequence.0 - ERROR (version 3.0.2, build 538 from 2008/02/06 13:13:19) : at org.pentaho.di.trans.steps.addsequence.AddSequence.run(AddSequence.java:234)
    via by Bill Wimsatt,
  • When importing a CSV File, it failed on this error: 2008/12/01 17:55:25 - Database lookup.0 - Starting to run... 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : Unexpected error : 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : java.lang.NullPointerException 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.core.row.RowMeta.searchValueMeta(RowMeta.java:357) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.core.row.RowMeta.exists(RowMeta.java:105) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.core.row.RowMeta.addValueMeta(RowMeta.java:116) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.steps.csvinput.CsvInputMeta.getFields(CsvInputMeta.java:313) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:64) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2664) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:691) I found that a few of the columns had no name assigned to them, so I populate those columns with unique names and was able to successfully import.
    via by Christopher Kingsbury,
  • When importing a CSV File, it failed on this error: 2008/12/01 17:55:25 - Database lookup.0 - Starting to run... 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : Unexpected error : 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : java.lang.NullPointerException 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.core.row.RowMeta.searchValueMeta(RowMeta.java:357) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.core.row.RowMeta.exists(RowMeta.java:105) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.core.row.RowMeta.addValueMeta(RowMeta.java:116) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.steps.csvinput.CsvInputMeta.getFields(CsvInputMeta.java:313) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:64) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2664) 2008/12/01 17:55:25 - CSV file input.0 - ERROR (version 3.1.0, build 826 from 2008/12/01 11:18:28) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:691) I found that a few of the columns had no name assigned to them, so I populate those columns with unique names and was able to successfully import.
    via by Christopher Kingsbury,
  • When editing Sparkl plugin, go to "Elements" and preview the "variableinfo" dashboard. It returns "No data available in table". pentaho.log: 2015-01-19 15:17:35,516 INFO [org.pentaho.di] 2015/01/19 15:17:35 - getVariableInfo - Dispatching started for transformation [getVariableInfo] 2015-01-19 15:17:35,519 INFO [org.pentaho.di] 2015/01/19 15:17:35 - Get Variables.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0) 2015-01-19 15:17:35,521 ERROR [org.pentaho.di] 2015/01/19 15:17:35 - OUTPUT.0 - ERROR (version 5.3.0.0-196, build 1 from 2015-01-17_19-53-46 by buildguy) : Unexpected error 2015-01-19 15:17:35,521 ERROR [org.pentaho.di] 2015/01/19 15:17:35 - OUTPUT.0 - ERROR (version 5.3.0.0-196, build 1 from 2015-01-17_19-53-46 by buildguy) : java.lang.NullPointerException 2015/01/19 15:17:35 - OUTPUT.0 - at org.pentaho.di.core.row.RowMeta.searchValueMeta(RowMeta.java:489) 2015/01/19 15:17:35 - OUTPUT.0 - at org.pentaho.di.core.row.RowMeta.exists(RowMeta.java:153) 2015/01/19 15:17:35 - OUTPUT.0 - at org.pentaho.di.core.row.RowMeta.addValueMeta(RowMeta.java:166) 2015/01/19 15:17:35 - OUTPUT.0 - at org.pentaho.di.trans.steps.normaliser.NormaliserMeta.getFields(NormaliserMeta.java:254) 2015/01/19 15:17:35 - OUTPUT.0 - at org.pentaho.di.trans.steps.normaliser.Normaliser.processRow(Normaliser.java:74) 2015/01/19 15:17:35 - OUTPUT.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/01/19 15:17:35 - OUTPUT.0 - at java.lang.Thread.run(Unknown Source) 2015-01-19 15:17:35,525 INFO [org.pentaho.di] 2015/01/19 15:17:35 - OUTPUT.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 2015-01-19 15:17:35,525 INFO [org.pentaho.di] 2015/01/19 15:17:35 - getVariableInfo - Transformation detected one or more steps with errors.
    via by Eduardo Lopes,
    • java.lang.NullPointerException at org.pentaho.di.core.row.RowMeta.searchValueMeta(RowMeta.java:357) at org.pentaho.di.core.row.RowMeta.exists(RowMeta.java:105) at org.pentaho.di.core.row.RowMeta.addValueMeta(RowMeta.java:116) at org.pentaho.di.trans.steps.addsequence.AddSequenceMeta.getFields(AddSequenceMeta.java:249) at org.pentaho.di.trans.steps.addsequence.AddSequence.processRow(AddSequence.java:110) at org.pentaho.di.trans.steps.addsequence.AddSequence.run(AddSequence.java:234)
    No Bugmate found.