[JBoss JIRA] Created: (JBRULES-2486) JPA entities must have protected or public no-arg constructors
by hoogenbj (JIRA)
JPA entities must have protected or public no-arg constructors
--------------------------------------------------------------
Key: JBRULES-2486
URL: https://jira.jboss.org/jira/browse/JBRULES-2486
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core (flow)
Affects Versions: 5.0.1.FINAL
Environment: Windows Server 2003 32 bit, SAP's Java JDK 1.5, SAP Netweaver 7.1 EHP1 workplace edition
Reporter: hoogenbj
Assignee: Mark Proctor
Hi,
I am unable to deploy an application I built to SAP's Netweaver application server because it enforces the JPA spec to the letter and complains that the following entities do not have a protected or public no-arg constructor:
org.drools.persistence.processinstance.ProcessInstanceEventInfo
org.drools.persistence.processinstance.ProcessInstanceInfo
org.drools.persistence.processinstance.WorkItemInfo
--
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, 2 months
[JBoss JIRA] Created: (JBRULES-2460) JPAWorkItemManager.internalAbortWorkItem fails with NPE
by hoogenbj (JIRA)
JPAWorkItemManager.internalAbortWorkItem fails with NPE
-------------------------------------------------------
Key: JBRULES-2460
URL: https://jira.jboss.org/jira/browse/JBRULES-2460
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-compiler (flow), drools-core (flow)
Affects Versions: 5.0.1.FINAL
Environment: Windows Vista 64-bit, Eclipse Galileo, Java 1.6.0_17
Reporter: hoogenbj
Assignee: Mark Proctor
The NullPointerException occurs at line 63 of JPAWorkItemManager and can only be because workItems is null at that point. Which I think is to be expected as an existing session was loaded from the database in order to abort a process instance and the workItems property is transient. There shouldn't even be a workItems property in this class. At least the remove should be guarded with if (workItems != null) as it is done elsewhere in the same class.
Regards,
Johan
--
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, 2 months