struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Blidorf <so...@nolas.dk>
Subject Struts upgrade from 1.2 to 1.3.10 gone wrong
Date Wed, 26 May 2010 08:47:12 GMT
Hi.

 

I have upgraded my Struts application from 1.2 to 1.3.10.

 

With minor problems at first it finally worked. Suddenly it stopped working
and I guess it must be after restart of the service.

 

I guess it is a problem with versions of the jar file, but I am not sure.

 

Does anybody have an idear, as I am ready to hang myself.

 

I now get the following error message:

 

2010-05-26 10:41:20 org.apache.struts.chain.commands.ExceptionCatcher
postprocess

WARNING: Exception from exceptionCommand 'servlet-exception'

java.lang.NullPointerException

                      at
nc.persistence.PersistenceFacade.closeConnection(PersistenceFacade.java:69)

                      at
nc.actions.secure.GetUserNameAction.execute(GetUserNameAction.java:66)

                      at
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction
.java:58)

                      at
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecu
teAction.java:67)

                      at
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase
.java:51)

                      at
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)

                      at
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:30
5)

                      at
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)

                      at
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequest
Processor.java:283)

                      at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)

                      at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)

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

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

                      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

                      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

                      at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)

                      at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)

                      at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)

                      at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:9
65)

                      at
org.apache.jsp.includes.welcome_jsp._jspService(welcome_jsp.java:42)

                      at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

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

                      at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
31)

                      at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321)

                      at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)

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

                      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

                      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

                      at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)

                      at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)

                      at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)

                      at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:9
65)

                      at
org.apache.jsp.includes.header_jsp._jspService(header_jsp.java:62)

                      at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

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

                      at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
31)

                      at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321)

                      at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)

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

                      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

                      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

                      at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)

                      at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)

                      at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)

                      at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:9
65)

                      at
org.apache.jsp.secure.errorpage_jsp._jspService(errorpage_jsp.java:86)

                      at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

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

                      at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
31)

                      at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321)

                      at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)

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

                      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

                      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

                      at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)

                      at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:574)

                      at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:499)

                      at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:9
65)

                      at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:600)

                      at
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextI
mpl.java:803)

                      at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:774)

                      at
org.apache.jsp.secure.index_jsp._jspService(index_jsp.java:107)

                      at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

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

                      at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
31)

                      at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321)

                      at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:257)

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

                      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

                      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

                      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:204)

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

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

                      at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)

                      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.processC
onnection(Http11BaseProtocol.java:664)

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

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

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

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message