[ http://jira.magnolia.info/browse/MAGNOLIA-1392?page=comments#action_13689
]
Django commented on MAGNOLIA-1392:
----------------------------------
I'm having the same exception on one particular machine. When I extract the
Magnolia bundle (3, 3rc3, 3.0.1) and try to activate an arbitrary page I got a
ERROR info.magnolia.module.workflow.WorkflowUtil WorkflowUtil.java(proceed:172)
07.03.2007 09:57:28 Error while accessing the workflow engine
java.lang.ClassCastException: java.lang.String
at
openwfe.org.engine.workitem.IntegerAttribute.intValue(IntegerAttribute.java:103)
at
openwfe.org.engine.workitem.IntegerAttribute.clone(IntegerAttribute.java:108)
at
openwfe.org.engine.workitem.MapAttribute.clone(MapAttribute.java:215)
at
openwfe.org.engine.workitem.MapAttribute.clone(MapAttribute.java:206)
at
openwfe.org.engine.workitem.InFlowWorkItem.clone(InFlowWorkItem.java:224)
at
openwfe.org.engine.expressions.SubProcessRefExpression.doLaunch(SubProcessRefExpression.java:627)
...
ERROR info.magnolia.module.workflow.jcr.JCRWorkItemAPI
JCRWorkItemAPI.java(getWorkItemById:153) 07.03.2007 09:57:28 get work item by
id failed, path = activation/j0.0.2/44/1173257835044/activate/0.0.4.0
javax.jcr.PathNotFoundException:
activation/j0.0.2/44/1173257835044/activate/0.0.4.0
at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2369)
at info.magnolia.cms.core.Content.<init>(Content.java:109)
at
info.magnolia.cms.core.HierarchyManager.getContent(HierarchyManager.java:253)
at
info.magnolia.module.workflow.jcr.JCRWorkItemAPI.getWorkItemById(JCRWorkItemAPI.java:150)
...
The same installation works fine on other machines.
I tried to replace the openwfe engine jar by one build from the head but then I
get an continuing dump of
INFO: Illegal access: this web application instance has been stopped already
(the eventual following stack trace is caused by an error thrown for debugging
purposes as well as to attempt to terminate the thread which caused the illegal
access, and has no functional impact)
Mar 7, 2007 12:36:57 PM org.apache.catalina.loader.WebappClassLoader loadClass
So is there a hint on how to work around the problem. What 'true' is causing
the problem? Is it something machine specific? Something I did wrong? Please
help. Our company wants to use Magnolia and I need to get this environment up
and running. It is blocking me for a while now.
Cheers
> ClassCastException in openwfe when a filter sets a request parameter with
> value "true"
> --------------------------------------------------------------------------------------
>
> Key: MAGNOLIA-1392
> URL: http://jira.magnolia.info/browse/MAGNOLIA-1392
> Project: Magnolia
> Issue Type: Bug
> Components: workflow
> Affects Versions: 3.0.1
> Reporter: Fabrizio Giustina
> Assigned To: Fabrizio Giustina
> Priority: Critical
>
> Not sure if this should be handled in openwfe or if it should be handled in
> magnolia.
> If a filter sets a request attribute with value "true" (as a string, not a
> boolean) workflow doesn't work anymore: the following stacktrace is what
> happens when doing an activation:
> (spring filters always set this attribute...)
> ERROR info.magnolia.module.workflow.WorkflowUtil
> WorkflowUtil.java(proceed:172) 20.02.2007 14:20:51 Error while accessing the
> workflow engine
> java.lang.ClassCastException: java.lang.String cannot be cast to
> java.lang.Boolean
> at
> openwfe.org.engine.workitem.BooleanAttribute.booleanValue(BooleanAttribute.java:94)
> at
> openwfe.org.engine.workitem.BooleanAttribute.clone(BooleanAttribute.java:99)
> at
> openwfe.org.engine.workitem.MapAttribute.clone(MapAttribute.java:215)
> at
> openwfe.org.engine.workitem.MapAttribute.clone(MapAttribute.java:206)
> at
> openwfe.org.engine.workitem.InFlowWorkItem.clone(InFlowWorkItem.java:224)
> at
> openwfe.org.engine.expressions.SubProcessRefExpression.doLaunch(SubProcessRefExpression.java:627)
> at
> openwfe.org.engine.expressions.SubProcessRefExpression.innerLaunch(SubProcessRefExpression.java:549)
> at
> openwfe.org.engine.expressions.SubProcessRefExpression.apply(SubProcessRefExpression.java:268)
> at
> openwfe.org.engine.expressions.raw.RawExpression.apply(RawExpression.java:371)
> at
> openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
> at
> openwfe.org.engine.expressions.IfExpression.applyConsequence(IfExpression.java:254)
> at
> openwfe.org.engine.expressions.IfExpression.apply(IfExpression.java:144)
> at
> openwfe.org.engine.expressions.raw.RawExpression.apply(RawExpression.java:371)
> at
> openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
> at
> openwfe.org.engine.expressions.SequentialFlowExpression.apply(SequentialFlowExpression.java:140)
> at
> openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:554)
> at
> openwfe.org.engine.expressions.SequenceExpression.reply(SequenceExpression.java:130)
> at
> openwfe.org.engine.expressions.state.NormalState.reply(NormalState.java:118)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.reply(SimpleExpressionPool.java:713)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.replyToParent(SimpleExpressionPool.java:644)
> at
> openwfe.org.engine.expressions.AbstractFlowExpression.replyToParent(AbstractFlowExpression.java:479)
> at
> openwfe.org.engine.expressions.AbstractFlowExpression.applyToParent(AbstractFlowExpression.java:494)
> at
> openwfe.org.engine.expressions.LogExpression.apply(LogExpression.java:153)
> at
> openwfe.org.engine.expressions.raw.RawExpression.apply(RawExpression.java:371)
> at
> openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
> at
> openwfe.org.engine.expressions.SequentialFlowExpression.apply(SequentialFlowExpression.java:140)
> at
> openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:554)
> at
> openwfe.org.engine.expressions.SequenceExpression.reply(SequenceExpression.java:130)
> at
> openwfe.org.engine.expressions.state.NormalState.reply(NormalState.java:118)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.reply(SimpleExpressionPool.java:713)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.replyToParent(SimpleExpressionPool.java:644)
> at
> openwfe.org.engine.expressions.AbstractFlowExpression.replyToParent(AbstractFlowExpression.java:479)
> at
> openwfe.org.engine.expressions.IfExpression.applyConsequence(IfExpression.java:260)
> at
> openwfe.org.engine.expressions.IfExpression.apply(IfExpression.java:144)
> at
> openwfe.org.engine.expressions.raw.RawExpression.apply(RawExpression.java:371)
> at
> openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
> at
> openwfe.org.engine.expressions.SequentialFlowExpression.apply(SequentialFlowExpression.java:140)
> at
> openwfe.org.engine.expressions.state.NormalState.apply(NormalState.java:112)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.applyOrLaunch(SimpleExpressionPool.java:529)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:542)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.apply(SimpleExpressionPool.java:554)
> at
> openwfe.org.engine.expressions.SequenceExpression.reply(SequenceExpression.java:130)
> at
> openwfe.org.engine.expressions.state.NormalState.reply(NormalState.java:118)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.reply(SimpleExpressionPool.java:713)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.replyToParent(SimpleExpressionPool.java:644)
> at
> openwfe.org.engine.expressions.AbstractFlowExpression.replyToParent(AbstractFlowExpression.java:479)
> at
> openwfe.org.engine.expressions.OneOrZeroChildExpression.reply(OneOrZeroChildExpression.java:92)
> at
> openwfe.org.engine.expressions.ParticipantExpression.reply(ParticipantExpression.java:655)
> at
> openwfe.org.engine.expressions.state.NormalState.reply(NormalState.java:118)
> at
> openwfe.org.engine.impl.expool.SimpleExpressionPool.reply(SimpleExpressionPool.java:713)
> at
> openwfe.org.embed.impl.engine.AbstractEngine.reply(AbstractEngine.java:264)
> at
> info.magnolia.module.workflow.WorkflowUtil.proceed(WorkflowUtil.java:169)
> at
> info.magnolia.module.workflow.WorkflowUtil.proceed(WorkflowUtil.java:152)
> at
> info.magnolia.module.workflow.WorkflowUtil.proceed(WorkflowUtil.java:129)
> at info.magnolia.module.workflow.inbox.Inbox.proceed(Inbox.java:259)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> info.magnolia.cms.servlets.MVCServletHandlerImpl.execute(MVCServletHandlerImpl.java:96)
> at
> info.magnolia.cms.servlets.CommandBasedMVCServletHandler.execute(CommandBasedMVCServletHandler.java:66)
> at info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:111)
> at
> org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174)
> at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------