myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ankit mahajan" <ankit_...@yahoo.co.in>
Subject bug related to CoreNavigationPane component
Date Sun, 07 Sep 2008 19:27:24 GMT
i am using trinidad's CoreCommandNavigationItem inside of a
CoreNavigationPane component in my application and when i deploy the
application on server for first time it works smoothly but whenever i tried
to redeploy the application again on the server it is showing an exception
and thus i have to shutdown the server and start it again.could anyone help
with this. i have found this bug in PanelAccordian and PanelTabbed
components too

stack trace is shown below:

 

org.apache.jasper.JasperException: javax.faces.FacesException:
javax.faces.FacesException: javax.faces.FacesException: Cant instantiate
class:
org.apache.myfaces.trinidad.component.core.nav.CoreCommandNavigationItem.

 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra
pper.java:535)

 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:4
29)

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
408)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandler
Impl.java:442)

 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:11
5)

 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.jav
a:178)

 
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(V
iewHandlerImpl.java:176)

 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:106)

 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilte
r(TrinidadFilterImpl.java:238)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(
TrinidadFilterImpl.java:195)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(Trini
dadFilterImpl.java:138)

 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.ja
va:92)

 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)

 

root cause

 

javax.faces.FacesException: javax.faces.FacesException:
javax.faces.FacesException: Cant instantiate class:
org.apache.myfaces.trinidad.component.core.nav.CoreCommandNavigationItem.

 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.ja
va:240)

 
javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:21
1)

 
javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicT
agBase.java:476)

 
javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassi
cTagBase.java:660)

 
javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTa
gBase.java:1111)

 
org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponent
ELTag.java:69)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fcommandNavigationItem_005f0(in
dxPage_jsp.java:390)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fnavigationPane_005f0(indxPage_
jsp.java:349)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fform_005f0(indxPage_jsp.java:2
18)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fdocument_005f0(indxPage_jsp.ja
va:161)

 
org.apache.jsp.indxPage_jsp._jspx_meth_f_005fview_005f0(indxPage_jsp.java:11
4)

 
org.apache.jsp.indxPage_jsp._jspService(indxPage_jsp.java:78)

 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
408)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandler
Impl.java:442)

 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:11
5)

 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.jav
a:178)

 
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(V
iewHandlerImpl.java:176)

 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:106)

 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilte
r(TrinidadFilterImpl.java:238)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(
TrinidadFilterImpl.java:195)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(Trini
dadFilterImpl.java:138)

 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.ja
va:92)

 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)

 

root cause

 

javax.faces.FacesException: javax.faces.FacesException: Cant instantiate
class:
org.apache.myfaces.trinidad.component.core.nav.CoreCommandNavigationItem.

 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.ja
va:545)

 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.ja
va:236)

 
javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:21
1)

 
javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicT
agBase.java:476)

 
javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassi
cTagBase.java:660)

 
javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTa
gBase.java:1111)

 
org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponent
ELTag.java:69)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fcommandNavigationItem_005f0(in
dxPage_jsp.java:390)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fnavigationPane_005f0(indxPage_
jsp.java:349)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fform_005f0(indxPage_jsp.java:2
18)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fdocument_005f0(indxPage_jsp.ja
va:161)

 
org.apache.jsp.indxPage_jsp._jspx_meth_f_005fview_005f0(indxPage_jsp.java:11
4)

 
org.apache.jsp.indxPage_jsp._jspService(indxPage_jsp.java:78)

 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
408)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandler
Impl.java:442)

 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:11
5)

 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.jav
a:178)

 
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(V
iewHandlerImpl.java:176)

 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:106)

 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilte
r(TrinidadFilterImpl.java:238)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(
TrinidadFilterImpl.java:195)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(Trini
dadFilterImpl.java:138)

 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.ja
va:92)

 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)

 

root cause

 

javax.faces.FacesException: Cant instantiate class:
org.apache.myfaces.trinidad.component.core.nav.CoreCommandNavigationItem.

 
com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1016
)

 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.ja
va:539)

 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.ja
va:236)

 
javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:21
1)

 
javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicT
agBase.java:476)

 
javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassi
cTagBase.java:660)

 
javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTa
gBase.java:1111)

 
org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponent
ELTag.java:69)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fcommandNavigationItem_005f0(in
dxPage_jsp.java:390)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fnavigationPane_005f0(indxPage_
jsp.java:349)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fform_005f0(indxPage_jsp.java:2
18)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fdocument_005f0(indxPage_jsp.ja
va:161)

 
org.apache.jsp.indxPage_jsp._jspx_meth_f_005fview_005f0(indxPage_jsp.java:11
4)

 
org.apache.jsp.indxPage_jsp._jspService(indxPage_jsp.java:78)

 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
408)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandler
Impl.java:442)

 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:11
5)

 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.jav
a:178)

 
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(V
iewHandlerImpl.java:176)

 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:106)

 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilte
r(TrinidadFilterImpl.java:238)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(
TrinidadFilterImpl.java:195)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(Trini
dadFilterImpl.java:138)

 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.ja
va:92)

 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)

 

root cause

 

java.lang.NullPointerException

 
org.apache.myfaces.trinidadinternal.uinode.UINodeFacesBean.createAttributeMa
p(UINodeFacesBean.java:262)

 
org.apache.myfaces.trinidadinternal.uinode.nav.CommandLinkFacesBean.createAt
tributeMap(CommandLinkFacesBean.java:40)

 
org.apache.myfaces.trinidadinternal.uinode.nav.CommandNavigationItemFacesBea
n.createAttributeMap(CommandNavigationItemFacesBean.java:34)

 
org.apache.myfaces.trinidadinternal.uinode.UINodeFacesBean.init(UINodeFacesB
ean.java:104)

 
org.apache.myfaces.trinidad.component.UIXComponentBase.createFacesBean(UIXCo
mponentBase.java:149)

 
org.apache.myfaces.trinidad.component.UIXComponentBase._init(UIXComponentBas
e.java:1428)

 
org.apache.myfaces.trinidad.component.UIXComponentBase.setRendererType(UIXCo
mponentBase.java:462)

 
org.apache.myfaces.trinidad.component.UIXComponentBase.<init>(UIXComponentBa
se.java:140)

 
org.apache.myfaces.trinidad.component.UIXCommand.<init>(UIXCommand.java:467)

 
org.apache.myfaces.trinidad.component.core.nav.CoreCommandNavigationItem.<in
it>(CoreCommandNavigationItem.java:136)

 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

                java.lang.reflect.Constructor.newInstance(Unknown Source)

                java.lang.Class.newInstance0(Unknown Source)

                java.lang.Class.newInstance(Unknown Source)

 
com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1014
)

 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.ja
va:539)

 
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.ja
va:236)

 
javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:21
1)

 
javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicT
agBase.java:476)

 
javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassi
cTagBase.java:660)

 
javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTa
gBase.java:1111)

 
org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponent
ELTag.java:69)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fcommandNavigationItem_005f0(in
dxPage_jsp.java:390)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fnavigationPane_005f0(indxPage_
jsp.java:349)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fform_005f0(indxPage_jsp.java:2
18)

 
org.apache.jsp.indxPage_jsp._jspx_meth_tr_005fdocument_005f0(indxPage_jsp.ja
va:161)

 
org.apache.jsp.indxPage_jsp._jspx_meth_f_005fview_005f0(indxPage_jsp.java:11
4)

 
org.apache.jsp.indxPage_jsp._jspService(indxPage_jsp.java:78)

 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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

 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

                javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:
408)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(Extern
alContextDecorator.java:44)

 
org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$Override
Dispatch.dispatch(FacesContextFactoryImpl.java:267)

 
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandler
Impl.java:442)

 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:11
5)

 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.jav
a:178)

 
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(V
iewHandlerImpl.java:176)

 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java
:106)

 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilte
r(TrinidadFilterImpl.java:238)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(
TrinidadFilterImpl.java:195)

 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(Trini
dadFilterImpl.java:138)

 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.ja
va:92)

 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja
va:96)


Mime
View raw message