Bug 819475

Summary: Importing "import java.util.TreeMap" to a package causes java.lang.NullPointerException at SuggestionCompletionEngineBuilder
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Musharraf Hussain <mhussain>
Component: BRM (Guvnor)Assignee: manstis
Status: VERIFIED --- QA Contact: Jiri Locker <jlocker>
Severity: high Docs Contact:
Priority: medium    
Version: BRMS 5.2.0.GACC: manstis
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An error in the handling of generic type parameters caused a java.lang.NullPointerException to occur when building a SuggestionCompletionEngine due to an unhandled null generic parameter type. This has been resolved by improving the handling of generic type parameters, and java.util.TreeMap can now be imported.
Story Points: ---
Clone Of: Environment:
Red Hat Enterprise Linux 5.x JBoss Enterprise BRMS 5.2.0
Last Closed: 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:
Attachments:
Description Flags
screenshot-BRM issue none

Comment 1 Musharraf Hussain 2012-05-08 09:15:59 UTC
Just tested it on Guvnor 5.3.0.Final and this issue is still there on that.

Comment 2 Musharraf Hussain 2012-05-08 09:47:28 UTC
Workaround
-----------
In order to overcome the issue follow the below steps :

[Knowledge Bases] -> [Packages] -> click on the package name (say: defaultPackage) -> click on tab [Edit] -> [Configuration] -> Remove the following line:

   import java.util.TreeMap;

-> [Save changes]

Comment 3 JBoss JIRA Server 2012-05-08 09:57:51 UTC
Musharraf Hussain <mhussain> made a comment on jira GUVNOR-1891

Screenshot-JBoss BRMS_issue.png

Comment 4 JBoss JIRA Server 2012-05-08 10:43:42 UTC
Musharraf Hussain <mhussain> made a comment on jira GUVNOR-1891

Screenshot-JBoss BRMS_issue.png

Comment 5 Musharraf Hussain 2012-05-08 10:50:34 UTC
Created attachment 582958 [details]
screenshot-BRM issue

Comment 6 JBoss JIRA Server 2012-06-03 21:34:37 UTC
Michael Anstis <michael.anstis> updated the status of jira GUVNOR-1891 to Resolved

Comment 8 Jiri Locker 2012-09-27 13:28:32 UTC
Fix verified in BRMS 5.3.1.ER1.

Comment 9 Douglas Hoffman 2012-10-18 00:12:49 UTC
Release note content reformatted.

Thanks for providing the text, Mike.

Doug