Bug 819475 - Importing "import java.util.TreeMap" to a package causes java.lang.NullPointerException at SuggestionCompletionEngineBuilder
Summary: Importing "import java.util.TreeMap" to a package causes java.lang.NullPointe...
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: BRMS 5.2.0.GA
Hardware: All
OS: All
medium
high
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-07 11:04 UTC by Musharraf Hussain
Modified: 2020-04-27 01:14 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Red Hat Enterprise Linux 5.x JBoss Enterprise BRMS 5.2.0
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot-BRM issue (136.50 KB, image/png)
2012-05-08 10:50 UTC, Musharraf Hussain
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GUVNOR-1891 0 Major Resolved Importing "import java.util.TreeMap" to a package causes java.lang.NullPointerException at SuggestionCompletionEngineBui... 2013-02-22 06:19:38 UTC

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


Note You need to log in before you can comment on or make changes to this bug.