java.lang.NullPointerException

XWiki.org JIRA | Patrice Lamarque | 7 years ago
  1. 0

    Using the Rendering module outside of XWiki (http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule#HUsingtheRenderingmoduleoutsideofXWiki) It looks like a NPE occurs when passing an attachment link input such as : {code} [[text>>attach:img.png]] {code} Stackrace is : {noformat} java.lang.NullPointerException at org.xwiki.rendering.internal.renderer.xhtml.DefaultXHTMLLinkRenderer.beginExternalLink(DefaultXHTMLLinkRenderer.java:194) at org.xwiki.rendering.internal.renderer.xhtml.DefaultXHTMLLinkRenderer.beginLink(DefaultXHTMLLinkRenderer.java:161) at org.xwiki.rendering.internal.renderer.xhtml.XHTMLChainingRenderer.beginLink(XHTMLChainingRenderer.java:263) at org.xwiki.rendering.listener.chaining.AbstractChainingListener.beginLink(AbstractChainingListener.java:163) at org.xwiki.rendering.listener.chaining.EmptyBlockChainingListener.beginLink(EmptyBlockChainingListener.java:143) at org.xwiki.rendering.listener.chaining.AbstractChainingListener.beginLink(AbstractChainingListener.java:163) at org.xwiki.rendering.listener.chaining.BlockStateChainingListener.beginLink(BlockStateChainingListener.java:305) at org.xwiki.rendering.listener.chaining.AbstractChainingListener.beginLink(AbstractChainingListener.java:163) at org.xwiki.rendering.block.LinkBlock.before(LinkBlock.java:94) at org.xwiki.rendering.block.AbstractFatherBlock.traverse(AbstractFatherBlock.java:65) at org.xwiki.rendering.block.AbstractFatherBlock.traverse(AbstractFatherBlock.java:68) at org.xwiki.rendering.block.AbstractFatherBlock.traverse(AbstractFatherBlock.java:68) at org.xwiki.rendering.internal.renderer.AbstractBlockRenderer.render(AbstractBlockRenderer.java:59) at org.xwiki.rendering.internal.renderer.AbstractBlockRenderer.render(AbstractBlockRenderer.java:47) at org.xwiki.rendering.internal.converter.DefaultConverter.convert(DefaultConverter.java:56) {noformat}

    XWiki.org JIRA | 7 years ago | Patrice Lamarque
    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.xwiki.rendering.internal.renderer.xhtml.DefaultXHTMLLinkRenderer.beginExternalLink()
    2. org.xwiki.rendering
      DefaultConverter.convert
      1. org.xwiki.rendering.internal.renderer.xhtml.DefaultXHTMLLinkRenderer.beginExternalLink(DefaultXHTMLLinkRenderer.java:194)
      2. org.xwiki.rendering.internal.renderer.xhtml.DefaultXHTMLLinkRenderer.beginLink(DefaultXHTMLLinkRenderer.java:161)
      3. org.xwiki.rendering.internal.renderer.xhtml.XHTMLChainingRenderer.beginLink(XHTMLChainingRenderer.java:263)
      4. org.xwiki.rendering.listener.chaining.AbstractChainingListener.beginLink(AbstractChainingListener.java:163)
      5. org.xwiki.rendering.listener.chaining.EmptyBlockChainingListener.beginLink(EmptyBlockChainingListener.java:143)
      6. org.xwiki.rendering.listener.chaining.AbstractChainingListener.beginLink(AbstractChainingListener.java:163)
      7. org.xwiki.rendering.listener.chaining.BlockStateChainingListener.beginLink(BlockStateChainingListener.java:305)
      8. org.xwiki.rendering.listener.chaining.AbstractChainingListener.beginLink(AbstractChainingListener.java:163)
      9. org.xwiki.rendering.block.LinkBlock.before(LinkBlock.java:94)
      10. org.xwiki.rendering.block.AbstractFatherBlock.traverse(AbstractFatherBlock.java:65)
      11. org.xwiki.rendering.block.AbstractFatherBlock.traverse(AbstractFatherBlock.java:68)
      12. org.xwiki.rendering.block.AbstractFatherBlock.traverse(AbstractFatherBlock.java:68)
      13. org.xwiki.rendering.internal.renderer.AbstractBlockRenderer.render(AbstractBlockRenderer.java:59)
      14. org.xwiki.rendering.internal.renderer.AbstractBlockRenderer.render(AbstractBlockRenderer.java:47)
      15. org.xwiki.rendering.internal.converter.DefaultConverter.convert(DefaultConverter.java:56)
      15 frames