java.lang.NullPointerException

XWiki.org JIRA | Vincent Massol | 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

    To reproduce, create a Maven module with: {code} <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.xwiki.platform</groupId> <artifactId>xwiki-platform-core</artifactId> <version>4.0-SNAPSHOT</version> </parent> <artifactId>xwiki-platform-minimaltest</artifactId> <name>Test</name> <packaging>functional-test</packaging> <description>Test</description> <properties> <xwikiCfgSuperadminPassword>pass</xwikiCfgSuperadminPassword> </properties> <dependencies> <!-- Test dependencies --> <dependency> <groupId>org.xwiki.platform</groupId> <artifactId>xwiki-platform-test</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <testSourceDirectory>src/test/it</testSourceDirectory> <plugins> <!-- Even though the functional-test packaging ensures that the packager plugin will execute we still need to redefine it here in order to make sure the right version is used as otherwise Maven will use the last released version which may be the wrong one. --> <plugin> <groupId>org.xwiki.platform</groupId> <artifactId>xwiki-platform-tool-packager-plugin</artifactId> <version>${project.version}</version> </plugin> </plugins> <extensions> <!-- Needed to add support for the "functional-test" packaging --> <extension> <groupId>org.xwiki.platform</groupId> <artifactId>xwiki-platform-tool-functional-test-lifecycle</artifactId> <version>${project.version}</version> </extension> </extensions> </build> </project> {code} Then run "mvn install". Then go in target/xwiki/ and start XWiki from there: "sh start_xwiki.sh" Login as superadmin, create a page and try to export it It'll give: {noformat} Detailed information: Error number 11015 in 11: Exception while exporting Wrapped Exception: null com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting Wrapped Exception: null at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) 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:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.NullPointerException at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:241) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:65) ... 42 more Wrapped Exception: java.lang.NullPointerException at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:241) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:65) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) 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:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) {noformat}

    XWiki.org JIRA | 5 years ago | Vincent Massol
    java.lang.NullPointerException
  2. 0

    The wiki is configured in UTF-8 encoding as specified in page http://www.xwiki.org/xwiki/bin/view/AdminGuide/Encoding . There is an error when deleting an attachment containing accent(s) in file name. This error appear with albatross skin. Error : 2007/04/19 12:54:26 : WARN wiki.web.XWikiAction AFXWIKI : Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: null - (XWikiAction.java:185) com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: null at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165) 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:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: java.lang.NullPointerException at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiHibernateAttachmentStore.java:292) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiHibernateAttachmentStore.java:213) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2429) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:50) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149) 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:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

    XWiki.org JIRA | 1 decade ago | Julien Revert
    java.lang.NullPointerException
  3. 0

    This is what I get whenever I try to delete a document on xwiki.org since we've installed XE 1.2 SNAPSHOT: {noformat} Error number 0 in 11: Uncaught exception Wrapped Exception: null com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: null at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164) 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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) 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:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: java.lang.NullPointerException at com.xpn.xwiki.doc.XWikiDocument.toXMLDocument(XWikiDocument.java:2245) at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2086) at com.xpn.xwiki.doc.XWikiDocument.toFullXML(XWikiDocument.java:2055) at com.xpn.xwiki.doc.XWikiDeletedDocument.setDocument(XWikiDeletedDocument.java:182) at com.xpn.xwiki.doc.XWikiDeletedDocument.(XWikiDeletedDocument.java:85) at com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:54) at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3205) at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3197) at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:81) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147) 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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) 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:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) {noformat}

    XWiki.org JIRA | 9 years ago | Vincent Massol
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I get the following NPE when i authenticate against Active Directory. This was working fine in 1.1M3 and the xwiki.cfg is as per the install guide. 15:11:08,912 WARN http-80-Processor25 http://localhost/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki InterWiki:<init>:73 - Unable to read conf/intermap.txt 03:11:17.553 WARN - Invalid feed URL: java.lang.NullPointerException at com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl.authenticate(LDAPAuthServiceImpl.java:51) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:211) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3000) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:143) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3008) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3881) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132) 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:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl.authenticate(LDAPAuthServiceImpl.java:51) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:211) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3000) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:125) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3008) at com.xpn.xwiki.api.XWiki.checkAccess(XWiki.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.evaluate(ASTReference.java:396) at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86) 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 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1242) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1211) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1242) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1211) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1242) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1211) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157) 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:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl.authenticate(LDAPAuthServiceImpl.java:51) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:211) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3000) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:112) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3008) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3881) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132) 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:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl.authenticate(LDAPAuthServiceImpl.java:51) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:211) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3000) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:112) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3008) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3881) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132) 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.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl.authenticate(LDAPAuthServiceImpl.java:51) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:211) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3000) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:143) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3008) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3881) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132) 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:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl.authenticate(LDAPAuthServiceImpl.java:51) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:211) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3000) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:125) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3008) at com.xpn.xwiki.api.XWiki.checkAccess(XWiki.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.evaluate(ASTReference.java:396) at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:111) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:64) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:86) 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 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1242) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1211) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511) at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1242) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1211) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511) at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.ASTBlock.render(ASTBlock.java:74) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1242) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1211) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157) 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:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source)

    XWiki.org JIRA | 10 years ago | Shiva Shankar
    java.lang.NullPointerException
  6. 0

    On Wednesday 31 January 2007 14:33, Vincent Massol wrote: > On Jan 31, 2007, at 8:32 AM, Marc Lijour wrote: > > Hi > > > > is it me or the import feature is broken? > > > > I can upload packages and they are listed under "select the file > > you wish to > > import" but I can't get further. Clicking on a file name would not > > help. > > There is no feedback for the interface either. > > Strange, it worked for me. Can you list exactly the steps to > reproduce this from the start? > > Which browser are you using? I am using Firefox 1.5.0.9 for this task. First I deleted (using the delete link) the package I used before, in order to start fresh for your test. As a result I get this: ----------------------- Error number 0 in 11: Uncaught exception Wrapped Exception: null com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: null at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Wrapped Exception: java.lang.NullPointerException at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiHibernateAttachmentStore.java:292) at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.deleteXWikiAttachment(XWikiHibernateAttachmentStore.java:213) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2021) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:49) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:143) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) ----------------------- But it gets rid of the document anyway. I crafted a xar package with the import-export script Jeremy gave me and which I installed on my current 0.1252 version. This package contains only one file to makes things easy. Now back to my xwiki b3, the import page is cleared, no documents. I use the upload button and my package.xar gets sent. It now appears on the page with a version number and a delete link. I click on it and it shows a new part in the page where I can select the document I want to import. Fine! It works in Firefox (1.5.0) and Konqueror 3.4. Now I upload a new package with more files and nothing happens. Does it fail silently? No I get some trace in the logs. To me it looks like the parser cannot digest my file. I attached both files. The problematic one is the second (2) one. 23:55:03,582 WARN P1-19 http://localhost:8080/xwiki/bin/import/XWiki/Import?action=getPackageInfos&name=package-test1(2).xar&xpage=plain&_= XWikiAction:execute:182 - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Lexical error at line 1, column 1. Encountered: "[" (91), after : "" com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Lexical error at line 1, column 1. Encountered: "[" (91), after : "" at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Wrapped Exception: org.suigeneris.jrcs.rcs.TokenMgrError: Lexical error at line 1, column 1. Encountered: "[" (91), after : "" at org.suigeneris.jrcs.rcs.ArchiveParserTokenManager.getNextToken(ArchiveParserTokenManager.java:968) at org.suigeneris.jrcs.rcs.ArchiveParser.jj_consume_token(ArchiveParser.java:543) at org.suigeneris.jrcs.rcs.ArchiveParser.head(ArchiveParser.java:166) at org.suigeneris.jrcs.rcs.ArchiveParser.admin(ArchiveParser.java:107) at org.suigeneris.jrcs.rcs.ArchiveParser.archive(ArchiveParser.java:79) at org.suigeneris.jrcs.rcs.ArchiveParser.load(ArchiveParser.java:54) at org.suigeneris.jrcs.rcs.Archive.<init>(Archive.java:274) at com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive(XWikiAttachmentArchive.java:92) at com.xpn.xwiki.doc.XWikiAttachment.setArchive(XWikiAttachment.java:398) at com.xpn.xwiki.doc.XWikiAttachment.fromXML(XWikiAttachment.java:349) at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:1913) at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:1854) at com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:554) at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:286) at com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:167) at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:46) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:144) 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:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) 23:55:03.628 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #sep( ) : source = 23:55:03.630 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #useravatar( username ) : source = 23:55:03.632 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #mimetypeimg( mime fname ) : source = 23:55:03.633 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #packName( name ) : source = 23:55:03.633 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #panelheader( title ) : source = 23:55:03.634 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #panelhiddenheader( title ) : source = 23:55:03.634 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #largepanelheader( title ) : source = 23:55:03.634 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #panelfooter( ) : source = 23:55:03.635 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #displaypanel( name ) : source = 23:55:03.635 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #displayPropName( prop ) : source = 23:55:03.635 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #displaypanelcontent( doc obj ) : source = 23:55:03.636 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikitopmenuentrystart( actionurl linktext id ) : source = 23:55:03.636 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikitopmenuentry( actionurl linktext id ) : source = 23:55:03.636 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #submenuitem( actionurl linktext ) : source = 23:55:03.657 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikitopmenuentryend( ) : source = 23:55:03.657 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikimessageboxstart( title message ) : source = 23:55:03.658 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikimessageboxend( ) : source = 23:55:03.658 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikimessagebox( title message urlyes urlno msgyes msgno ) : source = 23:55:03.658 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikimessageboxfield( fielddoc fieldname fieldtext html ) : source = 23:55:03.659 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #xwikimessageboxsubmit( submittext ) : source = 23:55:03.659 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #warning( text ) : source = 23:55:03.659 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #error( text ) : source = 23:55:03.659 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #info( text ) : source = 23:55:03.660 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #message( text ) : source = 23:55:03.660 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #floatingbox( text ) : source = 23:55:03.660 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #startfloatingbox( ) : source = 23:55:03.660 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #endfloatingbox( ) : source = 23:55:03.661 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #csscolorproperty( csspropname fieldname ) : source = 23:55:03.661 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #csscolorpropertyimportant( csspropname fieldname ) : source = 23:55:03.662 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #displayPropName( prop ) : source = 23:55:03.662 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >75> Velocity [info] Velocimacro : added new VM : #displaypanelcontent( doc obj ) : source = 23:55:03.665 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >51> Velocity [error] RHS of #set statement is null. Context will not be modified. [line 9, column 1] 23:55:03.665 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >55> Velocity [error] Left side ($objuser.getProperty("usertype").value) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. [line 10, column 66] 23:55:03.666 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >55> Velocity [warn] org.apache.velocity.runtime.exception.ReferenceException: reference : template = [line 1,column 31] : ${doc.parent.title} is not a valid reference. 23:55:03.720 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #sep( ) : source = 23:55:03.721 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #useravatar( username ) : source = 23:55:03.723 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #mimetypeimg( mime fname ) : source = 23:55:03.724 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #packName( name ) : source = 23:55:03.725 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #panelheader( title ) : source = 23:55:03.725 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #panelhiddenheader( title ) : source = 23:55:03.725 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #largepanelheader( title ) : source = 23:55:03.725 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #panelfooter( ) : source = 23:55:03.726 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #displaypanel( name ) : source = 23:55:03.735 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #displayPropName( prop ) : source = 23:55:03.735 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #displaypanelcontent( doc obj ) : source = 23:55:03.736 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikitopmenuentrystart( actionurl linktext id ) : source = 23:55:03.736 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikitopmenuentry( actionurl linktext id ) : source = 23:55:03.737 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #submenuitem( actionurl linktext ) : source = 23:55:03.737 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikitopmenuentryend( ) : source = 23:55:03.737 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikimessageboxstart( title message ) : source = 23:55:03.737 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikimessageboxend( ) : source = 23:55:03.738 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikimessagebox( title message urlyes urlno msgyes msgno ) : source = 23:55:03.738 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikimessageboxfield( fielddoc fieldname fieldtext html ) : source = 23:55:03.739 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #xwikimessageboxsubmit( submittext ) : source = 23:55:03.765 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #warning( text ) : source = 23:55:03.765 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #error( text ) : source = 23:55:03.765 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #info( text ) : source = 23:55:03.766 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #message( text ) : source = 23:55:03.766 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #floatingbox( text ) : source = 23:55:03.766 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #startfloatingbox( ) : source = 23:55:03.767 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #endfloatingbox( ) : source = 23:55:03.767 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #csscolorproperty( csspropname fieldname ) : source = 23:55:03.767 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #csscolorpropertyimportant( csspropname fieldname ) : source = 23:55:03.768 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #displayPropName( prop ) : source = 23:55:03.768 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #displaypanelcontent( doc obj ) : source = 23:55:03.771 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >67> Velocity [error] RHS of #set statement is null. Context will not be modified. [line 9, column 1] 23:55:03.772 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >71> Velocity [error] Left side ($objuser.getProperty("usertype").value) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. [line 10, column 66] 23:55:03.772 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >71> Velocity [warn] org.apache.velocity.runtime.exception.ReferenceException: reference : template = [line 1,column 31] : ${doc.parent.title} is not a valid reference. 23:55:03.775 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >67> Velocity [error] RHS of #set statement is null. Context will not be modified. [line 1, column 1] 23:55:03.790 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >85> Velocity [error] RHS of #set statement is null. Context will not be modified. [line 18, column 1] 23:55:03.792 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >91> Velocity [info] Velocimacro : added new VM : #breadcrumb( doc string level ) : source = 23:55:03.822 INFO [P1-19] org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134) >53> Velocity [error] Left side ($!hidecolumns) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. [line 9, column 21] 23:55:03,883 WARN P1-19 http://localhost:8080/xwiki/bin/import/XWiki/Import?action=getPackageInfos&name=package-test1(2).xar&xpage=plain&_= MonitorData:log:183 - MONITOR XWiki.Import: 341ms

    XWiki.org JIRA | 1 decade ago | Marc Lijour
    java.lang.NullPointerException

    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 com.xpn.xwiki.web.ExportAction.exportXAR()
    2. com.xpn.xwiki
      XWikiAction.execute
      1. com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:241)
      2. com.xpn.xwiki.web.ExportAction.render(ExportAction.java:65)
      3. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
      4. com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
      4 frames
    3. struts
      ActionServlet.doGet
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      4. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      4 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    5. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
      2 frames
    6. com.xpn.xwiki
      ActionFilter.doFilter
      1. com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
      1 frame
    7. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      1 frame
    8. org.xwiki.wysiwyg
      ConversionFilter.doFilter
      1. org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
      1 frame
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      1 frame
    10. com.xpn.xwiki
      XWikiDavFilter.doFilter
      1. com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
      1 frame
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      1 frame
    12. org.xwiki.container
      SavedRequestRestorerFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
      1 frame
    13. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      1 frame
    14. org.xwiki.container
      SetCharacterEncodingFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
      1 frame
    15. Jetty
      HttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
      14. org.eclipse.jetty.server.Server.handle(Server.java:346)
      15. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
      16. org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
      17. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
      18. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
      19. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
      19 frames
    16. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
      2 frames
    17. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
      1 frame
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame