Servlet exception with myfaces-1.2.0 and trinidad-1.2.1
-------------------------------------------------------
Key: TRINIDAD-623
URL: https://issues.apache.org/jira/browse/TRINIDAD-623
Project: MyFaces Trinidad
Issue Type: Bug
Affects Versions: 1.2.1-core
Environment: tomcat-6.0.14, jdk-1.6, myfaces-1.2.0, trinidad-1.2.1,
facelets-1.1.11, shale-1.0.4, sping-aop-2.0.5, spring-jpa-2.0.5 on CenOS-4
Reporter: Duong BaTien
> What are possible causes for this servlet exception? The exception seems
> to be at faces servlet processing. This is an updating from working
> jsf-1.1 app to jsf-1.2 app.
>
Yes. This looks like an issue with myfaces 1.2.0. I re-run maven with
Sun-RI 1.2, everything is fine. I will dig further if i can spare some
extra time over the weekend. Not able to resolve yet ;-).
Duong BaTien
DBGROUPS and BudhNet
> As the application starts using normal process of Jsf, StackOverflow is
> at HashMap. If pointed directly to a page, the page is rendered. But
> then any page to the next link has StackOverflow at ResourceBundle. The
> message-bundle, locale-config and f:loadBundle seem to be ok.
>
> Aug 9, 2007 2:11:12 PM org.apache.catalina.core.ApplicationDispatcher
> invoke
> SEVERE: Servlet.service() for servlet faces threw exception
> java.lang.StackOverflowError
> at java.util.HashMap.getEntry(HashMap.java:344)
> at java.util.HashMap.containsKey(HashMap.java:335)
> at org.apache.catalina.connector.Request.setAttribute
> (Request.java:1409)
> at org.apache.catalina.connector.RequestFacade.setAttribute
> (RequestFacade.java:503)
> at org.apache.catalina.core.ApplicationHttpRequest.setAttribute
> (ApplicationHttpRequest.java:279)
> at org.apache.myfaces.context.servlet.RequestMap.setAttribute
> (RequestMap.java:50)
>
> --------------- then
>
> at com.sun.facelets.compiler.EncodingHandler.apply
> (EncodingHandler.java:25)
> at com.sun.facelets.impl.DefaultFacelet.include
> (DefaultFacelet.java:248)
> Aug 9, 2007 2:11:12 PM
> org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl
> _attachRequestContext
> WARNING: RequestContext had not been properly released on earlier
> request.
> Aug 9, 2007 2:11:12 PM
> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
> newInstance
> INFO: Creating instance of com.dbgroups.core.vc.ProfileService
> Aug 9, 2007 2:11:12 PM com.dbgroups.core.vc.ProfileService init
> INFO: /page/exception/errorHandler.jsf is requestURI
> ........
> Aug 9, 2007 2:11:13 PM com.dbgroups.core.vc.ProfileService destroy
> INFO: I attempt to write requestLog to the database.
> Aug 9, 2007 2:11:13 PM com.dbgroups.core.vc.ProfileService destroy
> SEVERE: Servlet.service() for servlet faces threw exception
> java.lang.StackOverflowError
> at java.util.HashMap.getEntry(HashMap.java:344)
> at java.util.HashMap.containsKey(HashMap.java:335)
> at org.apache.catalina.connector.Request.removeAttribute
> (Request.java:1336)
> at org.apache.catalina.connector.RequestFacade.removeAttribute
> (RequestFacade.java:514)
>
> =====================================
> If a start points directly to welcome page, the welcome page is
> displayed, then any simple link to another page produces:
>
> SEVERE: Servlet.service() for servlet faces threw exception
> java.lang.StackOverflowError
> at java.util.ResourceBundle.getObject(ResourceBundle.java:380)
> at java.util.ResourceBundle.getString(ResourceBundle.java:346)
> at org.apache.catalina.util.StringManager.getStringInternal
> (StringManager.java:121)
> at org.apache.catalina.util.StringManager.getString
> (StringManager.java:105)
> ....................... then
> at com.sun.facelets.compiler.NamespaceHandler.apply
> (NamespaceHandler.java:49)
> at com.sun.facelets.compiler.EncodingHandler.apply
> (EncodingHandler.java:25)
> Aug 9, 2007 1:58:02 PM
> org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl
> _attachRequestContext
> WARNING: RequestContext had not been properly released on earlier
> request.
> Aug 9, 2007 1:58:02 PM
> org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider
> newInstance
> INFO: Creating instance of com.dbgroups.core.vc.ProfileService
> Aug 9, 2007 1:58:02 PM com.dbgroups.core.vc.ProfileService init
> INFO: /page/exception/errorHandler.jsf is requestURI
>
> Aug 9, 2007 1:58:02 PM com.dbgroups.core.vc.ProfileService getPage
> INFO: request string is: null
> Aug 9, 2007 1:58:02 PM com.dbgroups.core.data.PsiUser getSelectedIndex
> INFO: psiUser selectedIndex = 0
> Aug 9, 2007 1:58:02 PM com.dbgroups.core.vc.ProfileService
> getSelectedLayout
> Aug 9, 2007 1:58:03 PM org.apache.catalina.core.ApplicationDispatcher
> invoke
> SEVERE: Servlet.service() for servlet faces threw exception
> java.lang.StackOverflowError
> at java.util.PropertyResourceBundle.handleGetObject
> (PropertyResourceBundle.java:138)
> at java.util.ResourceBundle.getObject(ResourceBundle.java:380)
> at java.util.ResourceBundle.getString(ResourceBundle.java:346)
> at org.apache.catalina.util.StringManager.getStringInternal
> (StringManager.java:121)
> at org.apache.catalina.util.StringManager.getString
> (StringManager.java:105)
> at org.apache.catalina.connector.Request.setAttribute
> (Request.java:1449)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.