This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleNPE accessing UserPreferences
Date01-Aug-2005 21:19:19 EEST
Version2.2.28
SubmitterByronVT
Bug criticalityLightBug
Browser versionIE 6.0
Bug statusNewBug
PageProvider usedFileSystemProvider
Servlet ContainerTomcat5.5
Operating SystemWindows2003
URLhttp://localhost:8080/ScsWiki/UserPreferences.jsp
Java version1.5.0_03

Upon accessing the UserPreferences page the following error is captured.

JSPWiki has detected an error
Error Message 
An unknown exception java.lang.NullPointerException was caught by Error.jsp. 
Exception 
java.lang.NullPointerException 
Place where detected 
org.apache.jasper.runtime.JspRuntimeLibrary.getContextRelativePath(), line 908 

And the accompanying stack:

2005-08-01 14:18:10,887 [http-8080-Processor21] DEBUG com.ecyrd.jspwiki.WikiEngine ScsWiki:UserPreferences - Servlet path is: /UserPreferences.jsp
2005-08-01 14:18:10,887 [http-8080-Processor21] DEBUG com.ecyrd.jspwiki.WikiEngine ScsWiki:UserPreferences - Mapped to UserPreferences
2005-08-01 14:18:10,887 [http-8080-Processor21] DEBUG com.ecyrd.jspwiki.auth.UserManager ScsWiki:UserPreferences - Stored username=null
2005-08-01 14:18:10,887 [http-8080-Processor21] DEBUG JSPWiki ScsWiki:UserPreferences ScsWiki:UserPreferences - Error.jsp exception is: 
java.lang.NullPointerException
	at org.apache.jasper.runtime.JspRuntimeLibrary.getContextRelativePath(JspRuntimeLibrary.java:908)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:963)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:604)
	at com.ecyrd.jspwiki.tags.IncludeTag.doEndTag(IncludeTag.java:68)
	at org.apache.jsp.UserPreferences_jsp._jspService(org.apache.jsp.UserPreferences_jsp:158)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	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:407)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
	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:856)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
	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 particular version was published on 01-Aug-2005 21:19 by ByronVT.