Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle ADF/JSF Error java.lang.IllegalStateException

KK_AshJul 25 2020 — edited Jul 25 2020

Dear All

First of all thanks to Oracle and this community for making me an ADF developer from scratch and enabling me to build complicated web applications..It was beyond my expectation.

But sometimes I am getting unexpected errors and bugs which I am not able to find out a solution my self.Here I came to ask a question regarding one of issue.Please help me at this moment

I have two task flows  flowA and flowB.I am calling flowB from flowA and using taskflow return coming back to flowA. It was working fine until I changed the scope of my bean class for flowA.

Initially it was viewScope but I needed to add another taskflow flowC to be called from flowA and wanted some parameter to be passed between pages.So I changed the scope to PageFlow.

After this I am getting one error.After I comeback to flowA either from flowB or flowC  and clicking some button to open some popup (my page contains a lot of popups) it throws the following error.

Caused by: java.lang.IllegalStateException

at org.apache.myfaces.trinidad.component.UIXComponentBase.queueEvent(UIXComponentBase.java:941)

full log is given below.

If I refresh my page manually then it works fine without any error.

So what causes this error.Any hint or suggestion will be highly appreciated.

Thanks

Ash

org.apache.myfaces.trinidad.component.UIXComponentBase.queueEvent(UIXComponentBase.java:941)

at oracle.adf.view.rich.component.rich.RichPopup.queueEvent(RichPopup.java:836)

at javax.faces.event.FacesEvent.queue(FacesEvent.java:130)

at oracle.adf.view.rich.component.rich.RichPopup.show(RichPopup.java:1207)

at view.backing.SOD_SalesOrder.showPopup(SOD_SalesOrder.java:448)

at view.backing.SOD_SalesOrder.onEditSordtranListener(SOD_SalesOrder.java:684)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at com.sun.el.parser.AstValue.invoke(Unknown Source)

at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)

at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)

at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)

at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:824)

at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)

at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)

at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)

at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)

at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)

at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)

at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)

at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)

at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

Comments
Post Details
Added on Jul 25 2020
2 comments
459 views