This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 115937 - RE Operation: RE not finding classes in default package resulting in incorrect sequence diagram
Summary: RE Operation: RE not finding classes in default package resulting in incorre...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Kris Richards
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-09-19 01:21 UTC by Peter Lam
Modified: 2007-09-21 18:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2007-09-19 01:21:15 UTC
Because the classes are place in the default package, the resulting sequence diagram from RE Operation is only the
single lifeline and nothing else.

Repro steps:

(1) create the following 2 classes in a java project

public class IssueTest {

    void issue() {
        DummyClass dc = new DummyClass();
        int l = dc.number;
    }

}

public class DummyClass {

    public int number = 14 ;

}

(2) RE Project

(3) RE operation "issue" operation to sequence diagram
Comment 1 Kris Richards 2007-09-20 01:43:39 UTC
Added null pointer check in ProjectClassLocator.locateFileForClass. It is poosible that the package enter this method as null. this happens whenever the 
default package is used.
Comment 2 Peter Lam 2007-09-21 18:42:33 UTC
verified in instrumented trunk build 200709210329.