[
https://jira.nuxeo.com/browse/NXP-7919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=106230#comment-106230
]
Anahide Tchertchian commented on NXP-7919:
------------------------------------------
excerpt of the stack trace:
2011-11-21 19:12:54,065 INFO [org.jboss.seam.servlet.SeamFilter] Initializing
filter: org.jboss.seam.web.multipartFilter
2011-11-21 19:13:32,290 ERROR
[org.nuxeo.ecm.platform.actions.DefaultActionFilter] evaluation of condition
SeamContext.get("jbpmActions").hasProcessDefinitions(document.getType())
failed: returning false
java.lang.NullPointerException
at
org.nuxeo.ecm.platform.jbpm.web.JbpmActionsBean.hasProcessDefinitions(JbpmActionsBean.java:824)
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:616)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
[...]
2011-11-21 19:13:46,458 ERROR
[org.nuxeo.ecm.platform.actions.DefaultActionFilter] evaluation of condition
SeamContext.get("jbpmActions").hasProcessDefinitio
ns(document.getType()) failed: returning false
java.lang.IllegalArgumentException: factory method with defined scope outjected
a value: jbpmService
at
org.jboss.seam.Component.handleFactoryMethodResult(Component.java:2060)
at org.jboss.seam.Component.getInstanceFromFactory(Component.java:2034)
at org.jboss.seam.Component.getInstance(Component.java:1968)
> Fix error when evaluating workflow tab filter when jbpm module is not loaded
> yet
> --------------------------------------------------------------------------------
>
> Key: NXP-7919
> URL: https://jira.nuxeo.com/browse/NXP-7919
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.4.2
> Reporter: Anahide Tchertchian
> Assignee: Anahide Tchertchian
> Fix For: 5.5
>
>
> The filter on workflow tab calls a method Seam component "jbpmActions" which
> is not safe enough and may throw an error when jbpmService is not loaded yet.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets