What version of JSPWiki are you running?
On Apr 21, 2008, at 10:24 PM, Pearce, Lyall (DTEI) wrote:
I have posted a similar request on the Support Page or JSPWiki web
site, if this is not an appropriate thing to do, let me know and I
can remove the entry.
I am recieving an exception (see below) on some users browsers and
not others.
The users are all windows users, but their browsers are either IE or
FF.
Some people have Smart theme, others have vanilla.
I have tried Shift-refresh.
I have tried completely clearing local data (including cookies and
cache), I have tried blocking cookies altogether.
Earlier in the day, we attempted to update the properties to enable
CamelCase, restarted the TomCat server and that is when the problem
started.
We updated the property file to turn CamelCase off and restarted
TomCat again, in an attempt to recover, but to no avail.
It appears that after we restart Tomcat, that the first couple of
users can get things working, that everyone after that fails.
We are running Apache Tomcat/5.5.9 on a Unix server.
Any assistance would be greatly appreciated.
...Lyall
Stack trace follows:-
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(Thread.java:534)
Apr 22, 2008 11:02:52 AM
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at
javax.security.auth.login.LoginContext.init(LoginContext.java:195)
at
javax.security.auth.login.LoginContext.<init>(LoginContext.java:350)
at
javax.security.auth.login.LoginContext.<init>(LoginContext.java:465)
at
com.ecyrd.jspwiki.WikiSession.getLoginContext(WikiSession.java:259)
at com.ecyrd.jspwiki.auth.AuthenticationManager
$3.run(AuthenticationManager.java:441)
at java.security.AccessController.doPrivileged(Native Method)
at
com
.ecyrd
.jspwiki
.auth.AuthenticationManager.doLogin(AuthenticationManager.java:435)
at
com
.ecyrd
.jspwiki.auth.AuthenticationManager.login(AuthenticationManager.java:
234)
at com.ecyrd.jspwiki.WikiContext.<init>(WikiContext.java:269)
at com.ecyrd.jspwiki.WikiEngine.createContext(WikiEngine.java:
2097)
at
org.apache.jsp.Error_jsp._jspService(org.apache.jsp.Error_jsp:73)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at
org
.apache
.catalina
.core
.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at
org
.apache
.catalina
.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at
org
.apache
.catalina
.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at
org
.apache
.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
at
org
.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:
660)
at
org
.apache
.jasper
.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:
808)
at
org
.apache
.jasper
.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
at
org.apache.jsp.Wiki_jsp._jspService(org.apache.jsp.Wiki_jsp:134)
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
com
.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:
99)
at
com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:91)
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.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(Thread.java:534)