Titleupload attachment error
Date04-Jul-2007 03:04:52 EEST
VersionV2.4.102
SubmitterRobert Berg
Bug criticalityLightBug
Browser versionInternet Explorer
Bug statusNewBug
PageProvider used
Servlet ContainerTomcat
Operating SystemXP
URLUpload.Jsp
Java version1.5.0_10

I use Tomcat container authentication. When I try to attach a file to a wiki page, I get a Null Pointer exception as follows: Jul 3, 2007 1:36:14 PM org.apache.catalina.core.StandardWrapperValve invoke

SEVERE: Servlet.service() for servlet AttachmentServlet threw exception

<url-pattern>/Upload.jsp</url-pattern> java.lang.NullPointerException

<url-pattern>/Upload.jsp</url-pattern> at com.ecyrd.jspwiki.auth.AuthorizationManager.checkPermission(AuthorizationManager.java:160)

at com.ecyrd.jspwiki.WikiContext.hasAdminPermissions(WikiContext.java:813)

at com.ecyrd.jspwiki.attachment.AttachmentServlet.executeUpload(AttachmentServlet.java:611)

at com.ecyrd.jspwiki.attachment.AttachmentServlet.upload(AttachmentServlet.java:545)

at com.ecyrd.jspwiki.attachment.AttachmentServlet.doPost(AttachmentServlet.java:412)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

at com.ecyrd.jspwiki.dav.WebdavServlet.service(WebdavServlet.java:152)

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 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)

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.coyote.http11.Http11Processor.process(Http11Processor.java:869)

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

at java.lang.Thread.run(Unknown Source)

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 04-Jul-2007 03:04 by Robert Berg