java.lang.NullPointerException

Pentaho BI Platform Tracking | Nick Baker | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Click on any label field (may be more types, I didn't check). Change the sorting type of either the Style or Property table to sort Alphabetically ascending, then decending, then back to Categorical. At this point the table goes blank and the following error will show in the error dialog. java.lang.NullPointerException at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.findFirstOccuranceOfHeaderTitle(StyleTableModel.java:393) at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.reconcileState(StyleTableModel.java:380) at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.updateData(StyleTableModel.java:359) at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel$UpdateDataTask.run(StyleTableModel.java:241) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) java.lang.NullPointerException ============================================================================== java.lang.NullPointerException at org.pentaho.reporting.designer.core.editor.attributes.AbstractAttributeTableModel.findFirstOccuranceOfHeaderTitle(AbstractAttributeTableModel.java:340) at org.pentaho.reporting.designer.core.editor.attributes.AbstractAttributeTableModel.reconcileState(AbstractAttributeTableModel.java:327) at org.pentaho.reporting.designer.core.editor.attributes.AbstractAttributeTableModel.updateData(AbstractAttributeTableModel.java:307) at org.pentaho.reporting.designer.core.editor.attributes.VisualAttributeTableModel$UpdateDataTask.run(VisualAttributeTableModel.java:162) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595)

    Pentaho BI Platform Tracking | 7 years ago | Nick Baker
    java.lang.NullPointerException
  2. 0

    Click on any label field (may be more types, I didn't check). Change the sorting type of either the Style or Property table to sort Alphabetically ascending, then decending, then back to Categorical. At this point the table goes blank and the following error will show in the error dialog. java.lang.NullPointerException at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.findFirstOccuranceOfHeaderTitle(StyleTableModel.java:393) at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.reconcileState(StyleTableModel.java:380) at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.updateData(StyleTableModel.java:359) at org.pentaho.reporting.designer.core.editor.styles.StyleTableModel$UpdateDataTask.run(StyleTableModel.java:241) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595) java.lang.NullPointerException ============================================================================== java.lang.NullPointerException at org.pentaho.reporting.designer.core.editor.attributes.AbstractAttributeTableModel.findFirstOccuranceOfHeaderTitle(AbstractAttributeTableModel.java:340) at org.pentaho.reporting.designer.core.editor.attributes.AbstractAttributeTableModel.reconcileState(AbstractAttributeTableModel.java:327) at org.pentaho.reporting.designer.core.editor.attributes.AbstractAttributeTableModel.updateData(AbstractAttributeTableModel.java:307) at org.pentaho.reporting.designer.core.editor.attributes.VisualAttributeTableModel$UpdateDataTask.run(VisualAttributeTableModel.java:162) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:595)

    Pentaho BI Platform Tracking | 7 years ago | Nick Baker
    java.lang.NullPointerException
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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.reporting.designer.core.editor.styles.StyleTableModel.findFirstOccuranceOfHeaderTitle()
    2. org.pentaho.reporting
      StyleTableModel$UpdateDataTask.run
      1. org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.findFirstOccuranceOfHeaderTitle(StyleTableModel.java:393)
      2. org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.reconcileState(StyleTableModel.java:380)
      3. org.pentaho.reporting.designer.core.editor.styles.StyleTableModel.updateData(StyleTableModel.java:359)
      4. org.pentaho.reporting.designer.core.editor.styles.StyleTableModel$UpdateDataTask.run(StyleTableModel.java:241)
      4 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      6. java.lang.Thread.run(Thread.java:595)
      6 frames