[JBoss jBPM] - Error at the end of tasks
by Riket44
Hello :)
First of all, excuse me for my bad english ! I'll try to explain you my problem :
When I finish a task (after filled a form for example), i always have the same error :
| An Error Occurred:
| javax.el.PropertyNotFoundException: /main/task/new_tasks.xhtml @41,57 value="#{entry.taskInstance.id}":
| Property 'taskInstance' is not found on type: java.lang.String
|
| +- Stack Trace
| javax.faces.FacesException: javax.el.PropertyNotFoundException: /main/task/new_tasks.xhtml @41,57 value="#{entry.taskInstance.id}": Property 'taskInstance' is not found on type: java.lang.String
| at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
| at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
| at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
| at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
| at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:829)
| at org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:36)
| at org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:46)
| at org.jbpm.webapp.tag.jbpm.renderer.RendererBase.doEncode(RendererBase.java:34)
| at org.jbpm.webapp.tag.jbpm.renderer.RendererBase$ElementImpl.doEncode(RendererBase.java:266)
| at org.jbpm.webapp.tag.jbpm.renderer.DataTableRenderer.renderCells(DataTableRenderer.java:138)
| at org.jbpm.webapp.tag.jbpm.renderer.DataTableRenderer.encodeChildren(DataTableRenderer.java:94)
| at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:810)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:884)
| at javax.faces.component.UIComponent.encodeAll(UIComponent.java:890)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
| at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
| at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
| at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
| at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
| at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.el.PropertyNotFoundException: /main/task/new_tasks.xhtml @41,57 value="#{entry.taskInstance.id}": Property 'taskInstance' is not found on type: java.lang.String
| at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
| at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
| ... 46 more
|
I searched the problem but I didn't find... Help me please !
Thx :)
Richard T.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049293#4049293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049293
18 years, 10 months
[Installation, Configuration & Deployment] - Re: Stupid Class loading problem
by saschwen
Well,
I kinda resolved it but it wasn't pretty. Needless to say, I don't like the way Java and JBoss handle their class loading. The whole thing needs to be revamped.
Anyway, I ended up fixing it by putting all my jars in the deploy directory and then putting my sar files without jars into the farm directory. The reason this works is because the deploy directory is loaded first and all the classes in the jars are loaded globaly into the app server. Then the farm directory loads and the sees the classes.
The only down side is the when you have to update you're code, you have to copy it to all the servers and then restart them to have the code update. So you basically loose the functionallity of runtime deploying.... But lets face it, Dynamic deployment just complicates things. On the other hand, I can easily deploy the configuration/instance mbeans easliy.
I've recently switched to .NET and at first glance, it's quite nice.
I hope this helps. Again, It's not that pretty.
Thank you,
Steve.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049291#4049291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049291
18 years, 10 months