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

Bug 824833

Summary: Drools on Solaris triggers JDK bug
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: Solaris   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 824830 Environment:
Last Closed: 2025-02-10 03:19:56 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: 824830    
Bug Blocks:    

Description Martin Vecera 2012-05-24 11:55:43 UTC
+++ This bug was initially created as a clone of Bug #824830 +++

When running Drools unit tests on Solaris with Sun JDK 6, the following test throws a SOE:

org.drools.jsr94.rules.StatefulRuleSessionTest.testContainsObject

java.lang.StackOverflowError
	at java.util.regex.Pattern$Loop.match(Pattern.java:4275)
	at java.util.regex.Pattern$GroupTail.match(Pattern.java:4227)
	at java.util.regex.Pattern$BranchConn.match(Pattern.java:4078)
	at java.util.regex.Pattern$CharProperty.match(Pattern.java:3345)
	at java.util.regex.Pattern$Branch.match(Pattern.java:4114)
	at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168)
	at java.util.regex.Pattern$Loop.match(Pattern.java:4295)
...

Turns out this is because of a bug in Sun JDK that will never be fixed:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5050507

There is also a workaround that should be implemented in order to get this fixed.

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

Comment 4 Suz 2012-06-13 23:28:10 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:16 UTC
Verified in ER4.

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