java.lang.NullPointerException

Pentaho BI Platform Tracking | Sulaiman Karmali | 4 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

    NPE when adding a new image to a report. Repro path 1. Start RD 2. Choose Blank Report from the welcome screen 3. Drag and drop any element to the report and the following NPE is thrown: ERROR 23-07 15:50:47,516 - UncaughtExcpetionsModel.addException java.lang.NullPointerException at org.pentaho.reporting.engine.classic.core.wizard.DefaultDataSchema.getAttributes(DefaultDataSchema.java:85) at org.pentaho.reporting.designer.core.editor.report.elements.DefaultReportElementDragHandler.drop(DefaultReportElementDragHandler.java:147) at org.pentaho.reporting.designer.core.editor.report.BandDndHandler.drop(BandDndHandler.java:152) at java.awt.dnd.DropTarget.drop(DropTarget.java:434) at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500) at sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:165) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30) at java.awt.Component.dispatchEventImpl(Component.java:4440) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4413) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4291) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4145) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4413) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Pentaho BI Platform Tracking | 8 years ago | David Kincade
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NPE when adding a new image to a report. Repro path 1. Start RD 2. Choose Blank Report from the welcome screen 3. Drag and drop any element to the report and the following NPE is thrown: ERROR 23-07 15:50:47,516 - UncaughtExcpetionsModel.addException java.lang.NullPointerException at org.pentaho.reporting.engine.classic.core.wizard.DefaultDataSchema.getAttributes(DefaultDataSchema.java:85) at org.pentaho.reporting.designer.core.editor.report.elements.DefaultReportElementDragHandler.drop(DefaultReportElementDragHandler.java:147) at org.pentaho.reporting.designer.core.editor.report.BandDndHandler.drop(BandDndHandler.java:152) at java.awt.dnd.DropTarget.drop(DropTarget.java:434) at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500) at sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:165) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30) at java.awt.Component.dispatchEventImpl(Component.java:4440) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4413) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4291) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4145) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4413) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Pentaho BI Platform Tracking | 8 years ago | David Kincade
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.reporting.designer.core.model.ModelUtility.getCachedLayoutData()
    2. org.pentaho.reporting
      BandDndHandler.drop
      1. org.pentaho.reporting.designer.core.model.ModelUtility.getCachedLayoutData(ModelUtility.java:158)
      2. org.pentaho.reporting.designer.core.editor.report.elements.BaseReportElementDragHandler.getParentX(BaseReportElementDragHandler.java:205)
      3. org.pentaho.reporting.designer.core.editor.report.elements.BaseReportElementDragHandler.drop(BaseReportElementDragHandler.java:186)
      4. org.pentaho.reporting.designer.core.editor.report.BandDndHandler.drop(BandDndHandler.java:169)
      4 frames