java.lang.NullPointerException

JIRA | Sorin Sbarnea | 5 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

    {code} {graphviz} digraph g { graph [rankdir="LR"]; Nothing [shape=point, width=.25]; Nothing -> Prototype [label="1"]; Prototype -> Nothing [label="2"]; Prototype -> Published [label="3"]; Published -> Published [label="4, 5"]; Published -> Deprecated [label="6"]; Deprecated -> Removed [label="7"]; } {graphviz} {code} Here is what I see on the logs: {noformat} 2012-10-26 10:47:04,821 ERROR [http-8080-3] [confluence.extra.graphviz.GraphVizMacro] validateLicense com.atlassian.upm.license.storage.lib.PluginLicenseStoragePluginUnresolvedException: org.springframework.osgi.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed -- url: /display/DevOps/Confluence+Test+Page | page: 105714585 | userName: sorins | referer: http://confluence.uk.xensource.com/pages/createpage.action?spaceKey=DevOps&fromPageId=56754536 | action: viewpage 2012-10-26 10:47:04,828 ERROR [http-8080-3] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: graphviz -- url: /display/DevOps/Confluence+Test+Page | page: 105714585 | userName: sorins | referer: http://confluence.uk.xensource.com/pages/createpage.action?spaceKey=DevOps&fromPageId=56754536 | action: viewpage java.lang.NullPointerException at com.atlassian.confluence.extra.graphviz.DotRunner.findValidDotName(DotRunner.java:128) at com.atlassian.confluence.extra.graphviz.DotRunner.<init>(DotRunner.java:69) at com.atlassian.confluence.extra.graphviz.GraphVizHelper.generateGraph(GraphVizHelper.java:32) at com.atlassian.confluence.extra.graphviz.GraphVizMacro.execute(GraphVizMacro.java:41) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51) at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67) at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18) ... {noformat}

    JIRA | 5 years ago | Sorin Sbarnea
    java.lang.NullPointerException
  2. 0

    {code} {graphviz} digraph g { graph [rankdir="LR"]; Nothing [shape=point, width=.25]; Nothing -> Prototype [label="1"]; Prototype -> Nothing [label="2"]; Prototype -> Published [label="3"]; Published -> Published [label="4, 5"]; Published -> Deprecated [label="6"]; Deprecated -> Removed [label="7"]; } {graphviz} {code} Here is what I see on the logs: {noformat} 2012-10-26 10:47:04,821 ERROR [http-8080-3] [confluence.extra.graphviz.GraphVizMacro] validateLicense com.atlassian.upm.license.storage.lib.PluginLicenseStoragePluginUnresolvedException: org.springframework.osgi.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed -- url: /display/DevOps/Confluence+Test+Page | page: 105714585 | userName: sorins | referer: http://confluence.uk.xensource.com/pages/createpage.action?spaceKey=DevOps&fromPageId=56754536 | action: viewpage 2012-10-26 10:47:04,828 ERROR [http-8080-3] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: graphviz -- url: /display/DevOps/Confluence+Test+Page | page: 105714585 | userName: sorins | referer: http://confluence.uk.xensource.com/pages/createpage.action?spaceKey=DevOps&fromPageId=56754536 | action: viewpage java.lang.NullPointerException at com.atlassian.confluence.extra.graphviz.DotRunner.findValidDotName(DotRunner.java:128) at com.atlassian.confluence.extra.graphviz.DotRunner.<init>(DotRunner.java:69) at com.atlassian.confluence.extra.graphviz.GraphVizHelper.generateGraph(GraphVizHelper.java:32) at com.atlassian.confluence.extra.graphviz.GraphVizMacro.execute(GraphVizMacro.java:41) at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51) at com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203) at com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169) at com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67) at com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18) ... {noformat}

    JIRA | 5 years ago | Sorin Sbarnea
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.confluence.extra.graphviz.DotRunner.findValidDotName()
    2. com.atlassian.confluence
      GraphVizMacro.execute
      1. com.atlassian.confluence.extra.graphviz.DotRunner.findValidDotName(DotRunner.java:128)
      2. com.atlassian.confluence.extra.graphviz.DotRunner.<init>(DotRunner.java:69)
      3. com.atlassian.confluence.extra.graphviz.GraphVizHelper.generateGraph(GraphVizHelper.java:32)
      4. com.atlassian.confluence.extra.graphviz.GraphVizMacro.execute(GraphVizMacro.java:41)
      4 frames
    3. com.atlassian.renderer
      WikiContentRendererHandler.handleMacro
      1. com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:51)
      2. com.atlassian.renderer.v2.components.MacroRendererComponent.executeMacro(MacroRendererComponent.java:203)
      3. com.atlassian.renderer.v2.components.MacroRendererComponent.processMacro(MacroRendererComponent.java:169)
      4. com.atlassian.renderer.v2.components.MacroRendererComponent.makeMacro(MacroRendererComponent.java:67)
      5. com.atlassian.renderer.v2.components.WikiContentRendererHandler.handleMacro(WikiContentRendererHandler.java:18)
      5 frames