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
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

at com.sun.faces.el.MethodBindingImpl.invoke(
at com.sun.faces.application.ActionListenerImpl.processAction(
... 21 more
Caused by: java.lang.IllegalStateException
at com.sun.faces.context.FacesContextImpl.assertNotReleased( Compiled Code))
at com.sun.faces.context.FacesContextImpl.getApplication( Code))

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!