Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Thrown when an application is trying to use or access an object whose reference equals to null. You are probably trying to use a reference that points to no location in memory as though it were referencing an object.

Solutions on the web

via XWiki.org JIRA by Freeman Jackson, 1 year ago
Invocation of method 'parseContent' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ /templates/htmlheader.vm[16,16]
via XWiki.org JIRA by Vincent Massol, 1 year ago
Invocation of method 'export' in class com.xpn.xwiki.plugin.packaging.PackageAPI threw exception java.lang.OutOfMemoryError: Java heap space @ Packager.Export[25,11]
via Atlassian JIRA by Zed Yap [Atlassian], 1 year ago
Invocation of method 'requireResource' in class $Proxy48 threw exception java.lang.NullPointerException @ /com/atlassian/confluence/plugins/macros/advanced/gallery-default.vm[1,25]
via Atlassian JIRA by Zed Yap [Atlassian], 1 year ago
Invocation of method 'requireResource' in class $Proxy48 threw exception java.lang.NullPointerException @ /com/atlassian/confluence/plugins/macros/advanced/gallery-default.vm[1,25]
via Atlassian JIRA by Ming Giet Chong [Atlassian], 1 year ago
Invocation of method 'requireResource' in class $Proxy40 threw exception java.lang.NullPointerException @ /foo/bar/foo.vm[1,21]
via Atlassian JIRA by Ming Giet Chong [Atlassian], 1 year ago
Invocation of method 'requireResource' in class $Proxy40 threw exception java.lang.NullPointerException @ /foo/bar/foo.vm[1,21]
java.lang.NullPointerException: 	at java.util.Hashtable.put(Hashtable.java:394)	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:254)	at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)	at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1557)	at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:569)	at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)	at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)	at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599)	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:619)	at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)	at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)	at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599)	at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:619)	at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)	at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)	at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)	at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)	at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)	at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:107)	at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1599)	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)	at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:72)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:281)	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)	at java.lang.Thread.run(Thread.java:619)