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 78508 - "Navigate to Source" doesn't work for nested interfaces
Summary: "Navigate to Source" doesn't work for nested interfaces
Status: VERIFIED DUPLICATE of bug 78520
Alias: None
Product: uml
Classification: Unclassified
Component: Synchronization (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: REGRESSION
Depends on: 78530 83308
Blocks:
  Show dependency tree
 
Reported: 2006-06-20 11:49 UTC by bugbridge
Modified: 2006-10-20 12:17 UTC (History)
2 users (show)

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 bugbridge 2006-06-20 11:49:03 UTC
Build Coco M6, Coke TPR2.

To reproduce: 
- drag and drop an interface into another interface
- select "Navigate to Source" on the enveloping interface
BUG: no source will open, instead and Exception dialog will come up with an
excption below.
Even after un-nesting the interfaces back the bug will still be there.

java.lang.IllegalStateException: The model was modified. Unable to return start
offset.
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.testResourceChange(MetadataElement.java:1185)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getStartOffset(MetadataElement.java:1196)
        at
com.sun.tools.ide.uml.integration.netbeans.NBSourceNavigator.showSourceFile(NBSourceNavigator.java:234)
        at
com.sun.tools.ide.uml.integration.netbeans.NBSourceNavigator.navigateTo(NBSourceNavigator.java:83)
[catch] at
com.sun.tools.ide.uml.integration.ide.SourceNavigable$3.run(SourceNavigable.java:134)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 artibee 2006-07-10 23:43:50 UTC

*** This issue has been marked as a duplicate of 78520 ***
Comment 2 Andrew Korostelev 2006-10-20 12:17:01 UTC
verified in all-nbms-griffin-061019_8