java.lang.NullPointerException

Pentaho BI Platform Tracking | David Kincade | 7 years ago
  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 | 7 years ago | David Kincade
    java.lang.NullPointerException
  2. 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 | 7 years ago | David Kincade
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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

    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.engine.classic.core.wizard.DefaultDataSchema.getAttributes()
    2. org.pentaho.reporting
      BandDndHandler.drop
      1. org.pentaho.reporting.engine.classic.core.wizard.DefaultDataSchema.getAttributes(DefaultDataSchema.java:85)
      2. org.pentaho.reporting.designer.core.editor.report.elements.DefaultReportElementDragHandler.drop(DefaultReportElementDragHandler.java:147)
      3. org.pentaho.reporting.designer.core.editor.report.BandDndHandler.drop(BandDndHandler.java:152)
      3 frames
    3. Java RT
      SunDropTargetContextPeer.processDropMessage
      1. java.awt.dnd.DropTarget.drop(DropTarget.java:434)
      2. sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)
      2 frames
    4. sun.awt.X11
      XDropTargetContextPeer.processDropMessage
      1. sun.awt.X11.XDropTargetContextPeer.processDropMessage(XDropTargetContextPeer.java:165)
      1 frame
    5. Java RT
      EventDispatchThread.run
      1. sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)
      2. sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)
      3. sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
      4. java.awt.Component.dispatchEventImpl(Component.java:4440)
      5. java.awt.Container.dispatchEventImpl(Container.java:2099)
      6. java.awt.Component.dispatchEvent(Component.java:4413)
      7. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
      8. java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4291)
      9. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4145)
      10. java.awt.Container.dispatchEventImpl(Container.java:2085)
      11. java.awt.Window.dispatchEventImpl(Window.java:2475)
      12. java.awt.Component.dispatchEvent(Component.java:4413)
      13. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      14. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      15. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      16. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      17. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      18. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      19. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      19 frames