Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

bean illegal state exception  RSS feed

 
Rehana Shaik
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having a command link inside datatable and my managed bean is in session scope and i am having another model bean which i am using to pass some values to next page . when i wants get getModelBean() inside action method, which is triggered by command link iam getting follwing error


java.lang.IllegalStateException
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:131)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:73)
... 21 more
Caused by: java.lang.IllegalStateException
at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java(Inlined Compiled Code))
at com.sun.faces.context.FacesContextImpl.getApplication(FacesContextImpl.java(Compiled Code))
at sg.com.ibm.srms.web.pagecode.common.SearchRequestsNew.getFieldsRendered(SearchRequestsNew.java:665)
at sg.com.ibm.srms.web.pagecode.common.SearchRequestsNew.setFieldsRendererValues(SearchRequestsNew.java:654)
at sg.com.ibm.srms.web.pagecode.common.SearchRequestsNew.doLink1Action(SearchRequestsNew.java:577)


i was doing this kind of thing in some other pages there everything working fine only for the links inside commadlink having this kind of problem. Anyone know solution to this.

Thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!