java.lang.NegativeArraySizeException

Pentaho BI Platform Tracking | João Ciocca | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.NegativeArraySizeException

    pentaho.com | 1 year ago
    java.lang.NegativeArraySizeException
  2. 0

    Input's a XLSX manager-formated report file, composed of two tables: one from row 6 to 51, the other from row 66 to 74. Data from row 0 to 5, 52 to 65 and after 74 isn't to be loaded. When I set Microsoft Excel Input step to read from the file, starting row set to 66, I receive this error on preview: 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : Error processing row from Excel file [G:\DLO\2011\2011-07\DLO 2011-07 2041.xlsx] : java.lang.NegativeArraySizeException 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : java.lang.NegativeArraySizeException 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelinput.poi.PoiSheet.getRow(PoiSheet.java:31) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelinput.ExcelInput.getRowFromWorkbooks(ExcelInput.java:637) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelinput.ExcelInput.processRow(ExcelInput.java:458) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.lang.Thread.run(Unknown Source) 2011/09/06 17:36:04 - POPR 2051.0 - Finished processing (I=9, O=0, R=0, W=9, U=0, E=1) Preview resumes fine after pressing OK button and shows a preview correctly. But when I run the transformation, the same error is shown and the transformation aborts.

    Pentaho BI Platform Tracking | 5 years ago | João Ciocca
    java.lang.NegativeArraySizeException
  3. 0

    Input's a XLSX manager-formated report file, composed of two tables: one from row 6 to 51, the other from row 66 to 74. Data from row 0 to 5, 52 to 65 and after 74 isn't to be loaded. When I set Microsoft Excel Input step to read from the file, starting row set to 66, I receive this error on preview: 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : Error processing row from Excel file [G:\DLO\2011\2011-07\DLO 2011-07 2041.xlsx] : java.lang.NegativeArraySizeException 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : java.lang.NegativeArraySizeException 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelinput.poi.PoiSheet.getRow(PoiSheet.java:31) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelinput.ExcelInput.getRowFromWorkbooks(ExcelInput.java:637) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelinput.ExcelInput.processRow(ExcelInput.java:458) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 2011/09/06 17:36:04 - POPR 2051.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.lang.Thread.run(Unknown Source) 2011/09/06 17:36:04 - POPR 2051.0 - Finished processing (I=9, O=0, R=0, W=9, U=0, E=1) Preview resumes fine after pressing OK button and shows a preview correctly. But when I run the transformation, the same error is shown and the transformation aborts.

    Pentaho BI Platform Tracking | 5 years ago | João Ciocca
    java.lang.NegativeArraySizeException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NegativeArraySizeException

      No message provided

      at org.pentaho.di.trans.steps.excelinput.poi.PoiSheet.getRow()
    2. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.excelinput.poi.PoiSheet.getRow(PoiSheet.java:31)
      2. org.pentaho.di.trans.steps.excelinput.ExcelInput.getRowFromWorkbooks(ExcelInput.java:637)
      3. org.pentaho.di.trans.steps.excelinput.ExcelInput.processRow(ExcelInput.java:458)
      4. org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
      4 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame