[JBoss JIRA] Updated: (JBPM-1056) CompositeCommand misimplementation
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-1056?page=com.atlassian.jira.plug... ]
Thomas Diesler updated JBPM-1056:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
> CompositeCommand misimplementation
> ----------------------------------
>
> Key: JBPM-1056
> URL: https://jira.jboss.org/jira/browse/JBPM-1056
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM 3.1.0, jBPM 3.1.1, jBPM 3.1.2, jBPM 3.1.3, jBPM 3.1.4, jBPM 3.2.0, jBPM 3.2.1, jBPM 3.2.2
> Reporter: Edward Staub
> Fix For: jBPM 3.3.2 GA
>
>
> CompositeCommand doesn't copy fields from one command to the next, as I THINK is intended.
> This was reported in
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=90146&postdays=0...
> on October 11 2006 at 11:23 AM., along with a proposed fix. But it was never JIRA'd and never fixed.
> Secondarily... AFAIK, there is not one word of documentation (example, test, javadoc, anything) explaining how CompositeCommand is supposed to work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Updated: (JBPM-1039) OutOfMemoryError While using multi h:selectOneRaido in dataform with multy columns
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-1039?page=com.atlassian.jira.plug... ]
Thomas Diesler updated JBPM-1039:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
> OutOfMemoryError While using multi h:selectOneRaido in dataform with multy columns
> ----------------------------------------------------------------------------------
>
> Key: JBPM-1039
> URL: https://jira.jboss.org/jira/browse/JBPM-1039
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Console
> Affects Versions: jBPM 3.2.1
> Environment: jBPM 3.2.1 Tomcat 6.0.14
> Reporter: zhou guangzhao
> Priority: Minor
> Fix For: jBPM 3.3.2 GA
>
>
> The following taskform code works in JBPM3.2.GA.
> But when running in JBPM 3.2.1, it causes OutOfMemoryError. By testing, I found that if I change <jbpm:dataform columns="2"> to <jbpm:dataform>, it will work well in both JBPM3.2.GA and JBPM3.2.1.
> Sometimes it maybe works in JBPM3.2.1. But while adding more h:selectOneRadio, I get the error.
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
> <!-- the DOCTYPE means we are required to use html for a root element -->
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:c="http://java.sun.com/jstl/core"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:tf="http://jbpm.org/jsf/tf"
> xmlns:jbpm="http://jbpm.org/jsf">
> <ui:component>
> <jbpm:dataform columns="2">
>
> <f:facet name="header">
> <h:outputText value="#{taskName}"/>
> </f:facet>
>
> <!-- TASKFORM ROWS -->
> <jbpm:datacell>
> <f:facet name="header">
> <h:outputText value="Sex"/>
> </f:facet>
> <h:selectOneRadio id="StudentSex" value="#{var['StudentSex']}">
> <f:selectItem itemLabel="Male" itemValue="Male"/>
> <f:selectItem itemLabel="Female" itemValue="Female"/>
> </h:selectOneRadio>
> </jbpm:datacell>
> <jbpm:datacell>
> <f:facet name="header">
> <h:outputText value="HasAS"/>
> </f:facet>
> <h:selectOneRadio id="HasAS" value="#{var['HasAS']}" >
> <f:selectItem itemLabel="Yes" itemValue="Yes"/>
> <f:selectItem itemLabel="No" itemValue="No"/>
> </h:selectOneRadio>
> </jbpm:datacell>
>
> <jbpm:datacell>
> <f:facet name="header">
> <h:outputText value="Actions"/>
> </f:facet>
> <!-- TASKFORM BUTTONS -->
> <tf:saveButton value="Save"/>
> <tf:cancelButton value="Cancel"/>
> <tf:transitionButton value="Save and Close"/>
> </jbpm:datacell>
>
> </jbpm:dataform>
>
> </ui:component>
> </html>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Updated: (JBPM-826) Incorrect action exception handling
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-826?page=com.atlassian.jira.plugi... ]
Thomas Diesler updated JBPM-826:
--------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
> Incorrect action exception handling
> -----------------------------------
>
> Key: JBPM-826
> URL: https://jira.jboss.org/jira/browse/JBPM-826
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM 3.1.3
> Environment: Eclipse + Tomcat + JDK 6.0
> Reporter: Pedro Silva
> Priority: Critical
> Fix For: jBPM 3.3.2 GA
>
>
> If an action in a process definition throws an exception it doesn't correctly reach the client class, e.g. the class doing the signalling.
> Imagine that you have a process definition that in one of the task as an action that opens a file for reading. If the file cannot be found there will be an exception. Te exception is thrown and when it reaches the class, where the code for signalling is, you can't see the exception message. If you try to do, in the catch block, System.err.println(e.getMessage()) the result is null! However if you print System.err.println(e.getCause().getMessage()) the result is the file not found exception.
> This is worst in the case when you caught the exception in the action delegated class and you throw your own exception by explicitly doing: throw new MyException("Some error"); and the message still is null.
> In the case where the exception occurs in another class than the one of the action (if the execute code of the action invokes another class), even the code System.err.println(e.getCause().getMessage()) outputs null.
> The documentattion clearly states in 9.7 Exception Handling:
> "...Uncaught exceptions are thrown to the client (e.g. the client that called the token.signal()) or the exception is caught by a jBPM exception-handler. ..."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Updated: (JBPM-1008) ejb deployment : avoid ClassNotFoundException on client side after unmarshalling
by Thomas Diesler (JIRA)
[ https://jira.jboss.org/jira/browse/JBPM-1008?page=com.atlassian.jira.plug... ]
Thomas Diesler updated JBPM-1008:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
Revisit open bugs
> ejb deployment : avoid ClassNotFoundException on client side after unmarshalling
> ---------------------------------------------------------------------------------
>
> Key: JBPM-1008
> URL: https://jira.jboss.org/jira/browse/JBPM-1008
> Project: JBoss jBPM
> Issue Type: Bug
> Affects Versions: jBPM 3.2.1
> Environment: enterprise jBPM
> Reporter: Adrian Dimulescu
> Fix For: jBPM 3.3.2 GA
>
>
> Two aspects in this jira : 1: hide hibernate-specific exceptions; 2: hide hibernate-specific datatypes.
> 1. The EJB client only depends on the jBPM jar (for the various Command implementations) and on the JBoss client jar. If a Hibernate exception occurs, it is wrapped by a JBPMException and rethrown. When deserialiezed on the client side (which does not have a Hibernate dependency), a ClassNotFoundException occurs.
> I think the CommandServiceBean should not wrap internal implementation-specific exceptions; it should instead simply copy the stack trace and throw a new implementation-independent exception which contains the exception trace without containing the causes themselves. That typically avoids ClassNotFoundExceptions without losing exception history.
> 2. The second problem is that hibernate-specific collections get serialized over the wire, here is the description of the problem :
> I use the GetProcessInstancesCommand in order to experiment with querying the remote ejb. This command returns a list with ProcessInstances. A ProcessInstance is read by Hibernate from the database. As Hibernate uses specific lazy-loading-aware implementations for collections -- the ProcessInstance.instances attribute, which is declared of type java.util.Map, is actually implemented by org.hibernate.collections.PersistentMap.
> Which generates class loading exception while deserializing to hibernate-unaware ejb clients.
> The solution would then be for the Command implementations to return clean JDK collections, by replacing Hibernate collection with JDK standard ones. Note that IIUC only the collections must be replaced, not the collection contents too, so the "cleaning" operation should not be that expensive. Cleaning should be only done in the SLSB remote call use case -- because in-JVM callers may want to benefit lazy-loading.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month