java.lang.NullPointerException

Pentaho BI Platform Tracking | Ken Geis | 7 years ago
  1. 0

    AccessOutputMeta.createObjectsForRow(..) does not check for null values when executing the following lines. values[i] = new Byte( valueMeta.getInteger(valueData).byteValue() ); values[i] = new Short(valueMeta.getInteger(valueData).shortValue()); If you are writing data to Access, and it contains small integer columns with null values, an NPE occurs. 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Unexpected error : 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : java.lang.NullPointerException 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutputMeta.createObjectsForRow(AccessOutputMeta.java:495) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutput.writeToTable(AccessOutput.java:154) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutput.processRow(AccessOutput.java:81) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutput.run(AccessOutput.java:277)

    Pentaho BI Platform Tracking | 7 years ago | Ken Geis
    java.lang.NullPointerException
  2. 0

    AccessOutputMeta.createObjectsForRow(..) does not check for null values when executing the following lines. values[i] = new Byte( valueMeta.getInteger(valueData).byteValue() ); values[i] = new Short(valueMeta.getInteger(valueData).shortValue()); If you are writing data to Access, and it contains small integer columns with null values, an NPE occurs. 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Unexpected error : 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : java.lang.NullPointerException 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutputMeta.createObjectsForRow(AccessOutputMeta.java:495) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutput.writeToTable(AccessOutput.java:154) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutput.processRow(AccessOutput.java:81) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889) 2010/04/09 13:56:58 - write Access table.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : at org.pentaho.di.trans.steps.accessoutput.AccessOutput.run(AccessOutput.java:277)

    Pentaho BI Platform Tracking | 7 years ago | Ken Geis
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.pentaho.di.trans.steps.accessoutput.AccessOutputMeta.createObjectsForRow()
    2. org.pentaho.di
      AccessOutput.run
      1. org.pentaho.di.trans.steps.accessoutput.AccessOutputMeta.createObjectsForRow(AccessOutputMeta.java:495)
      2. org.pentaho.di.trans.steps.accessoutput.AccessOutput.writeToTable(AccessOutput.java:154)
      3. org.pentaho.di.trans.steps.accessoutput.AccessOutput.processRow(AccessOutput.java:81)
      4. org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889)
      5. org.pentaho.di.trans.steps.accessoutput.AccessOutput.run(AccessOutput.java:277)
      5 frames