On 7/13/06, Lucy Luo <[EMAIL PROTECTED]> wrote:
Hi there,
I used shale version 1.0.1 (struts-shale-20060121.zip), everything is just
fine. But I want to update to the latest version
shale-framework-1.0.3-SNAPSHOT (shale-framework-20060713.zip).
Tomcat server (version 5.5.15) can be started, but the first login page
doesn't display. The following error was displayed in Tomcat Log file:
-
Hmm ... line 617 is *inside* the exception handler that rethrows the
exception. Just above or below this one, there should also be an exception
report that starts with "caused by" ... most likely pointing to one of the
lines within range 611-615 in VariableResolverImpl. Could you please post
that stack trace as well?
Craig
------------------------------------------------------------------------------
2006-07-13 15:51:05,934 [http-8080-Processor25] DEBUG
com.prenet.presentation.DebugPhaseListener - beforePhase(RESTORE_VIEW 1)
2006-07-13 15:51:05,950 [http-8080-Processor25] DEBUG
com.prenet.presentation.PNViewController - new VC instance: class
com.prenet.mac.presentation.HomeVC
2006-07-13 15:51:05,950 [http-8080-Processor25] DEBUG
com.prenet.presentation.PNSessionBean - New PNSessionBean instance created
for sessionID=AC480E41A2D8EE26FF1E8BAE7C1392C3
2006-07-13 15:51:05,965 [http-8080-Processor25] DEBUG
com.prenet.mac.presentation.HomeVC - HomeVC -
2006-07-13 15:51:05,981 [http-8080-Processor25] ERROR *
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mac].[faces]
- Servlet.service() for servlet faces threw exception*
*java.lang.NullPointerException*
at org.apache.shale.tiger.faces.VariableResolverImpl.property(
VariableResolverImpl.java:617)
at org.apache.shale.tiger.faces.VariableResolverImpl.create(
VariableResolverImpl.java:247)
at
org.apache.shale.tiger.faces.VariableResolverImpl.resolveVariable(
VariableResolverImpl.java:192)
at
org.apache.shale.faces.ShaleVariableResolver.resolveVariable(
ShaleVariableResolver.java:156)
at
org.apache.shale.view.faces.ViewViewHandler.setupViewController(
ViewViewHandler.java:284)
at org.apache.shale.view.faces.ViewViewHandler.createView(
ViewViewHandler.java:129)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(
RestoreViewPhase.java:164)
at com.sun.faces.lifecycle.LifecycleImpl.phase(
LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(
LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java
:197)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
at org.apache.shale.faces.ShaleApplicationFilter.doFilter(
ShaleApplicationFilter.java:271)
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.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:703)
at org.apache.jasper.runtime.PageContextImpl.forward(
PageContextImpl.java:670)
at org.apache.jsp.index_jsp._jspService(
org.apache.jsp.index_jsp:49)
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:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(
JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(
JspServlet.java:264)
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.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:667)
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:595)
-----------------------------------------------------------------------------------
I have not idea why I got this error message. Please give me some help, I
have to upgrade my shale framework.
Many thanks,
*Guiluan (Lucy) Luo**
*Web Application Engineer
PreCash Cprporation
(503) 248-5198
[EMAIL PROTECTED]
YIM: guiluanluo
------------------------------
The information in this email may be confidential and/or privileged. This
email is intended to be reviewed by only the individual or organization
named above. If you are not the intended recipient or an authorized
representative of the intended recipient, you are hereby notified that any
review, dissemination or copying of this email and its attachments, if any,
or the information contained herein is prohibited. If you have received this
email in error, please immediately notify the sender by return email and
delete this email from your system.