java - UnsupportedOperationException JSF - webLogic 11g -
i'm developing web application , i'm using following versions:
- spring-core 3.1.3
- spring-webmvc 3.1.3
- spring-webflow 2.3.1
- spring-faces 2.3.1
- jsf-api 2.0.9
- jsf-impl 2.0.9
- java 1.6
the application deployed in weblogic server 10.3.6. randomly , exception shown below thrown while navigating through application.
java.lang.unsupportedoperationexception @ javax.faces.context.facescontext.getpartialviewcontext(facescontext.java:165) @ org.springframework.faces.webflow.jsfajaxhandler.isajaxrequestinternal(jsfajaxhandler.java:55) @ org.springframework.js.ajax.abstractajaxhandler.isajaxrequest(abstractajaxhandler.java:19) @ org.springframework.webflow.mvc.servlet.flowhandleradapter.createservletexternalcontext(flowhandleradapter.java:216) @ org.springframework.webflow.mvc.servlet.flowhandleradapter.handle(flowhandleradapter.java:192) @ org.springframework.faces.webflow.jsfflowhandleradapter.handle(jsfflowhandleradapter.java:48) @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:923) @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:852) @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:882) @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:778) @ javax.servlet.http.httpservlet.service(httpservlet.java:707) @ javax.servlet.http.httpservlet.service(httpservlet.java:820) @ weblogic.servlet.internal.stubsecurityhelper$servletserviceaction.run(stubsecurityhelper.java:227) @ weblogic.servlet.internal.stubsecurityhelper.invokeservlet(stubsecurityhelper.java:125) @ weblogic.servlet.internal.servletstubimpl.execute(servletstubimpl.java:301) @ weblogic.servlet.internal.tailfilter.dofilter(tailfilter.java:26) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:56) @ com.jeveris.web.core.filter.log.performancelogfilter.dofilter(performancelogfilter.java:59) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:56) @ weblogic.servlet.internal.requesteventsfilter.dofilter(requesteventsfilter.java:27) @ weblogic.servlet.internal.filterchainimpl.dofilter(filterchainimpl.java:56) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.wraprun(webappservletcontext.java:3730) @ weblogic.servlet.internal.webappservletcontext$servletinvocationaction.run(webappservletcontext.java:3696) @ weblogic.security.acl.internal.authenticatedsubject.doas(authenticatedsubject.java:321) @ weblogic.security.service.securitymanager.runas(securitymanager.java:120) @ weblogic.servlet.internal.webappservletcontext.securedexecute(webappservletcontext.java:2273) @ weblogic.servlet.internal.webappservletcontext.execute(webappservletcontext.java:2179) @ weblogic.servlet.internal.servletrequestimpl.run(servletrequestimpl.java:1490) @ weblogic.work.executethread.execute(executethread.java:256) @ weblogic.work.executethread.run(executethread.java:221)
an example of bean:
@managedbean(name = "bean") @sessionscoped public class bean implements serializable{ ... }
an example of flow:
<?xml version="1.0" encoding="utf-8"?> <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd" parent="parent-flow" start-state="searchdashboardstate"> <on-start> <evaluate expression="dashboardcontroller.clean(flowrequestcontext)" /> </on-start> <view-state id="searchdashboardstate" view="../views/dashboard/searchdashboardview.xhtml"> <transition on="search" to="searchdashboardstate"> <evaluate expression="dashboardcontroller.find(flowrequestcontext)" result="flowscope.dashboarddata" result-type="datamodel"/> </transition> </view-state>
Comments
Post a Comment