java.lang.NullPointerException

XWiki.org JIRA | Vincent Massol | 6 years ago
  1. 0

    To reproduce: * Configure 2 local XE in cluster mode (standard config) * In your browser go to http://localhost:8080 * Then in your broweser go to http://localhost:8081 (the second XE instance) You'll see the following logs in the console of the first instance: {noformat} 2011-05-04 16:41:16,663 [Incoming-2,event,vincent-massols-macbook-pro.local-63711] DEBUG jgroups.DefaultJGroupsReceiver - Received JGroups remote event [event: [org.xwiki.bridge.event.DocumentCreatedEvent@6a1b3275], source: [{docversion=1.1, doclanguage=, docname=name = [JavaScriptExtension], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]}], data: [{contextwiki=xwiki, contextuser=XWiki.XWikiGuest}]] 2011-05-04 16:41:16,716 [Incoming-2,event,vincent-massols-macbook-pro.local-63711] ERROR rnal.DefaultObservationManager - Fail to send event [org.xwiki.bridge.event.DocumentCreatedEvent@6a1b3275] to listener [com.xpn.xwiki.plugin.watchlist.WatchListStore@5abc5c2c] java.lang.NullPointerException at org.mortbay.jetty.HttpFields.put(HttpFields.java:560) at org.mortbay.jetty.HttpFields.put(HttpFields.java:509) at org.mortbay.jetty.Response.setLocale(Response.java:1048) at com.xpn.xwiki.web.XWikiServletResponse.setLocale(XWikiServletResponse.java:149) at com.xpn.xwiki.XWiki.prepareResources(XWiki.java:4021) at com.xpn.xwiki.XWikiContext.getMessageTool(XWikiContext.java:656) at com.xpn.xwiki.plugin.watchlist.WatchListStore.setWatchListElementsProperty(WatchListStore.java:549) at com.xpn.xwiki.plugin.watchlist.WatchListStore.addWatchedElement(WatchListStore.java:463) at com.xpn.xwiki.plugin.watchlist.WatchListStore.documentModifiedHandler(WatchListStore.java:764) at com.xpn.xwiki.plugin.watchlist.WatchListStore.onEvent(WatchListStore.java:787) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:278) at org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:247) at org.xwiki.observation.remote.internal.DefaultRemoteObservationManager.notify(DefaultRemoteObservationManager.java:176) at org.xwiki.observation.remote.internal.jgroups.DefaultJGroupsReceiver.receive(DefaultJGroupsReceiver.java:101) at org.jgroups.JChannel.up(JChannel.java:1462) at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:829) at org.jgroups.protocols.pbcast.GMS.up(GMS.java:890) at org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:173) at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:236) at org.jgroups.protocols.UNICAST.up(UNICAST.java:290) at org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:859) at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:654) at org.jgroups.protocols.Discovery.up(Discovery.java:277) at org.jgroups.protocols.TP.passMessageUp(TP.java:953) at org.jgroups.protocols.TP.access$100(TP.java:53) at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1457) at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1434) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) {noformat}

    XWiki.org JIRA | 6 years ago | Vincent Massol
    java.lang.NullPointerException
  2. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.mortbay.jetty.HttpFields.put()
    2. Jetty Server
      Response.setLocale
      1. org.mortbay.jetty.HttpFields.put(HttpFields.java:560)
      2. org.mortbay.jetty.HttpFields.put(HttpFields.java:509)
      3. org.mortbay.jetty.Response.setLocale(Response.java:1048)
      3 frames
    3. com.xpn.xwiki
      WatchListStore.onEvent
      1. com.xpn.xwiki.web.XWikiServletResponse.setLocale(XWikiServletResponse.java:149)
      2. com.xpn.xwiki.XWiki.prepareResources(XWiki.java:4021)
      3. com.xpn.xwiki.XWikiContext.getMessageTool(XWikiContext.java:656)
      4. com.xpn.xwiki.plugin.watchlist.WatchListStore.setWatchListElementsProperty(WatchListStore.java:549)
      5. com.xpn.xwiki.plugin.watchlist.WatchListStore.addWatchedElement(WatchListStore.java:463)
      6. com.xpn.xwiki.plugin.watchlist.WatchListStore.documentModifiedHandler(WatchListStore.java:764)
      7. com.xpn.xwiki.plugin.watchlist.WatchListStore.onEvent(WatchListStore.java:787)
      7 frames
    4. org.xwiki.observation
      DefaultJGroupsReceiver.receive
      1. org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:278)
      2. org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:247)
      3. org.xwiki.observation.remote.internal.DefaultRemoteObservationManager.notify(DefaultRemoteObservationManager.java:176)
      4. org.xwiki.observation.remote.internal.jgroups.DefaultJGroupsReceiver.receive(DefaultJGroupsReceiver.java:101)
      4 frames
    5. JGroups
      TP$IncomingPacket.run
      1. org.jgroups.JChannel.up(JChannel.java:1462)
      2. org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:829)
      3. org.jgroups.protocols.pbcast.GMS.up(GMS.java:890)
      4. org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:173)
      5. org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:236)
      6. org.jgroups.protocols.UNICAST.up(UNICAST.java:290)
      7. org.jgroups.protocols.pbcast.NAKACK.handleMessage(NAKACK.java:859)
      8. org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:654)
      9. org.jgroups.protocols.Discovery.up(Discovery.java:277)
      10. org.jgroups.protocols.TP.passMessageUp(TP.java:953)
      11. org.jgroups.protocols.TP.access$100(TP.java:53)
      12. org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1457)
      13. org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1434)
      13 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:680)
      3 frames