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.

  • 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)
    via by Nick Baker,
  • 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)
    via by Nick Baker,
    • 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)
    No Bugmate found.