java.lang.NullPointerException

Pentaho BI Platform Tracking | Janardhan Chejarla | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Hi, I have a local RMI server which executes MDX queries using mondrian API I'm using mondrian 3.5 and I'm getting below error, when I try to expand a member, it happens randomly (sometimes it will happen and sometimes not) =======Stack trace ============= java.lang.NullPointerException at mondrian.rolap.cache.SegmentCacheIndexImpl$HeaderInfo.access$000(SegmentCacheIndexImpl.java:885) at mondrian.rolap.cache.SegmentCacheIndexImpl.loadSucceeded(SegmentCacheIndexImpl.java:191) at mondrian.rolap.agg.SegmentCacheManager$Handler.visit(SegmentCacheManager.java:554) at mondrian.rolap.agg.SegmentCacheManager$SegmentLoadSucceededEvent.acceptWithoutResponse(SegmentCacheManager.java:1120) at mondrian.rolap.agg.SegmentCacheManager$Actor.run(SegmentCacheManager.java:1032) at java.lang.Thread.run(Thread.java:662) ====================================================== =========================================================================== below is the source code from stack trace,m it clearly shows there is a chance of null pointer exception ============================================================================ public void loadSucceeded(SegmentHeader header, SegmentBody body) { checkThread(); final HeaderInfo headerInfo = headerMap.get(header); assert headerInfo != null : "segment header " + header.getUniqueID() + " is missing"; assert headerInfo.slot != null : "segment header " + header.getUniqueID() + " is not loading"; if (!headerInfo.slot.isDone()) { headerInfo.slot.put(body); } if (headerInfo.removeAfterLoad) { remove(header); } } ========================================================

    Pentaho BI Platform Tracking | 4 years ago | Janardhan Chejarla
    java.lang.NullPointerException
  2. 0

    Hi, I have a local RMI server which executes MDX queries using mondrian API I'm using mondrian 3.5 and I'm getting below error, when I try to expand a member, it happens randomly (sometimes it will happen and sometimes not) =======Stack trace ============= java.lang.NullPointerException at mondrian.rolap.cache.SegmentCacheIndexImpl$HeaderInfo.access$000(SegmentCacheIndexImpl.java:885) at mondrian.rolap.cache.SegmentCacheIndexImpl.loadSucceeded(SegmentCacheIndexImpl.java:191) at mondrian.rolap.agg.SegmentCacheManager$Handler.visit(SegmentCacheManager.java:554) at mondrian.rolap.agg.SegmentCacheManager$SegmentLoadSucceededEvent.acceptWithoutResponse(SegmentCacheManager.java:1120) at mondrian.rolap.agg.SegmentCacheManager$Actor.run(SegmentCacheManager.java:1032) at java.lang.Thread.run(Thread.java:662) ====================================================== =========================================================================== below is the source code from stack trace,m it clearly shows there is a chance of null pointer exception ============================================================================ public void loadSucceeded(SegmentHeader header, SegmentBody body) { checkThread(); final HeaderInfo headerInfo = headerMap.get(header); assert headerInfo != null : "segment header " + header.getUniqueID() + " is missing"; assert headerInfo.slot != null : "segment header " + header.getUniqueID() + " is not loading"; if (!headerInfo.slot.isDone()) { headerInfo.slot.put(body); } if (headerInfo.removeAfterLoad) { remove(header); } } ========================================================

    Pentaho BI Platform Tracking | 4 years ago | Janardhan Chejarla
    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 | 3 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 mondrian.rolap.cache.SegmentCacheIndexImpl$HeaderInfo.access$000()
    2. mondrian.rolap.cache
      SegmentCacheIndexImpl.loadSucceeded
      1. mondrian.rolap.cache.SegmentCacheIndexImpl$HeaderInfo.access$000(SegmentCacheIndexImpl.java:885)
      2. mondrian.rolap.cache.SegmentCacheIndexImpl.loadSucceeded(SegmentCacheIndexImpl.java:191)
      2 frames
    3. mondrian.rolap.agg
      SegmentCacheManager$Actor.run
      1. mondrian.rolap.agg.SegmentCacheManager$Handler.visit(SegmentCacheManager.java:554)
      2. mondrian.rolap.agg.SegmentCacheManager$SegmentLoadSucceededEvent.acceptWithoutResponse(SegmentCacheManager.java:1120)
      3. mondrian.rolap.agg.SegmentCacheManager$Actor.run(SegmentCacheManager.java:1032)
      3 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame