Bug 1071991 - NPE when project contains package named 'global'
Summary: NPE when project contains package named 'global'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER2
: 6.0.1
Assignee: Pere Fernàndez
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-03 16:12 UTC by Jiri Locker
Modified: 2014-08-06 19:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:58:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
server.log with NPE (8.14 KB, text/plain)
2014-03-03 16:12 UTC, Jiri Locker
no flags Details

Description Jiri Locker 2014-03-03 16:12:12 UTC
Created attachment 870023 [details]
server.log with NPE

Description of problem:
Let's have a project with package com.business.global. After navigating to com.business package in Project Explorer error dialog pops up saying only java.lang.NullPointerException. Furthermore, data modeller fails to load. No error presented to the user, NPE in server log.

Version-Release number of selected component (if applicable):
6.0.1.ER2

How reproducible:
-

Steps to Reproduce:
1. Create 'global' subpackage in any project (e.g. under org.any.pkg).
2. Switch to some other package (e.g. org).
3. Switch back to the parent of 'global' (e.g. org.any.pkg).
4. Open Data modeler.

Actual results:
Error message after step 3. Data model not loaded in step 4.

Expected results:
'global' is a valid package name, it shouldn't break the project.

Additional info:
Probably caused by https://github.com/droolsjbpm/guvnor/commit/912986ab9ea2435b40841c1130d152555df1f8e2

Comment 2 Edson Tirelli 2014-03-04 17:35:06 UTC
This was cherry-picked into the 6.0.1.ER2 tag:

https://github.com/jboss-integration/guvnor/commit/6a69ee7


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