You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2007/08/11 09:44:23 UTC

Re: myfaces 1.2.0 / trinidat-1.2.1 possible causes of servlet exception

Hi,

please file an issue!

Thx,
Matthias

On 8/10/07, Duong BaTien <du...@gmail.com> wrote:
> On Thu, 2007-08-09 at 14:57 -0600, Duong BaTien wrote:
> > Greetings:
> >
> > 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.
>
> I have good experience with myfaces community support, but a lot of
> developers need this fix. Thanks for a great work.
>
> 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.
> >
> > Thanks
> > BaTien
> >
> > 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)
> >
> >
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Re: myfaces 1.2.0 / trinidat-1.2.1 possible causes of servlet exception

Posted by Duong BaTien <du...@gmail.com>.
On Sat, 2007-08-11 at 09:44 +0200, Matthias Wessendorf wrote:
> Hi,
> 
> please file an issue!
> 
> Thx,
> Matthias
> 
Done. But not able to resolve the issue yet.
BaTien

> On 8/10/07, Duong BaTien <du...@gmail.com> wrote:
> > On Thu, 2007-08-09 at 14:57 -0600, Duong BaTien wrote:
> > > Greetings:
> > >
> > > 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.
> >
> > I have good experience with myfaces community support, but a lot of
> > developers need this fix. Thanks for a great work.
> >
> > 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.
> > >
> > > Thanks
> > > BaTien
> > >
> > > 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)
> > >
> > >
> >
> >
> 
>