Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 826935

Summary: Drools in SOA-P 5.3 cannot be certified with JDK7
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Martin Vecera <mvecera>
Component: JBoss RulesAssignee: Nobody <nobody>
Status: CLOSED UPSTREAM QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.3.0 GACC: jcoleman, soa-p-jira
Target Milestone: ER4   
Target Release: 5.3.0 GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 826968 (view as bug list) Environment:
Last Closed: 2025-02-10 03:20:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 826968    

Description Martin Vecera 2012-05-31 09:24:48 UTC
The following tests throw NPE:

org.drools.verifier.data.VerifierDataMapsTest.testSaveVerifierComponentAndGetForAllComponentTypes
org.drools.verifier.data.VerifierDataMapsTest.testSaveVerifierComponentAndGetForAllFields
org.drools.verifier.data.VerifierDataMapsTest.testSaveVerifierComponentAndGetForAllRestrictions
org.drools.verifier.data.VerifierDataMapsTest.testSavePatternAndGet

java.lang.NullPointerException
	at java.util.TreeMap.compare(TreeMap.java:1188)
	at java.util.TreeMap.put(TreeMap.java:531)
	at org.drools.verifier.data.VerifierDataMaps.add(VerifierDataMaps.java:162)
	at org.drools.verifier.data.VerifierDataMapsTest.saveVerifierComponentAndGet(VerifierDataMapsTest.java:321)
	at org.drools.verifier.data.VerifierDataMapsTest.testSaveVerifierComponentAndGetForAllComponentTypes(VerifierDataMapsTest.java:105)

All the tests in class fail with similar exception. From the test, it seems that objects added to the map are not null and their values used in compareTo() are not null either. This happens only with Sun JDK 7.

Comment 3 Lukáš Petrovický 2012-06-13 09:53:54 UTC
Has been fixed in the source code. Please verify in the next SOA-P build.

Comment 4 Suz 2012-06-13 23:27:30 UTC
Technical note flag has been set to negative as this problem appears to have been fixed before users have noticed it.

Comment 5 Martin Vecera 2012-06-27 15:31:32 UTC
Verified in ER4.

Comment 8 Red Hat Bugzilla 2025-02-10 03:20:00 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.