Wendy Schmitz [
http://community.jboss.org/people/wendyschmitz] created the discussion
"jbpm-human-task has dependency on jboss-seam -- causing issues with JSF"
To view the discussion, visit:
http://community.jboss.org/message/641797#641797
--------------------------------------------------------------
I am creating a richfaces web application that will act as the front-end for an embedded
jbpm engine. I'm running into the following exception when I launch the first page in
the application:
2011-12-15 10:10:51 SeamPhaseListener [WARN] uncaught exception, passing to exception
handler
java.lang.NullPointerException
at
org.jboss.seam.jsf.SeamPhaseListener.raiseEventsAfterPhase(SeamPhaseListener.java:435)
at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:188)
at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
ava:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja
va:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
It seems like Seam is invoked when I launch my Richfaces/JSF application, causing it to
interfere with the normal JSF processing. It turns out that jbpm-human-task has a
dependency on jboss-seam, and when I remove jbpm-human-task from my pom, I no longer have
this exception. How can I use jbpm's human task component in my Richfaces/JSF web app
without it breaking the app?
Thanks,
Wendy
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/641797#641797]
Start a new discussion in jBPM Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]