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 41161

Summary: [IMT] gives IndexOutOfBoundsException with inner interface
Product: java Reporter: zacjacobson <zacjacobson>
Component: UnsupportedAssignee: Tomas Hurka <thurka>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log with IndexOutOfBoundsException stack trace

Description zacjacobson 2004-03-19 22:59:20 UTC
I have a class with an inner interface and get an
IndexOutOfBoundsException when I try to run the
Import Management Tool (IMT) on it.

It doesn't seem to matter what access level I give
the interface, or if it's static or not.
Comment 1 zacjacobson 2004-03-19 23:01:06 UTC
Created attachment 14062 [details]
ide.log with IndexOutOfBoundsException stack trace
Comment 2 Jan Pokorsky 2004-04-08 10:52:36 UTC
Tome, it looks like the closed source parser passes wrong offset to
DocumentModelBuilder.setHeaderBounds.
Comment 3 Martin Matula 2004-06-18 19:24:07 UTC
Closing, Import Management Tools was replaced by Fix Import functionality.