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 57067

Summary: [Fix Imports] IOE from JavaFixAllImports.addAllNeededImports
Product: java Reporter: Jesse Glick <jglick>
Component: UnsupportedAssignee: Daniel Prusa <dprusa>
Status: RESOLVED WORKSFORME    
Severity: blocker Keywords: RANDOM
Priority: P3    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace
Stack trace #2

Description Jesse Glick 2005-03-28 15:49:59 UTC
Current CVS sources. Fixing imports on
openide/test/unit/src/org/openide/filesystems/FileSystemTestHid.java by deleting
all old import statements and running Fix Imports. Command did not succeed, just
threw this exception.
Comment 1 Jesse Glick 2005-03-28 15:50:30 UTC
Created attachment 21163 [details]
Stack trace
Comment 2 Jesse Glick 2005-03-28 15:53:50 UTC
Even trying to fix imports one at a time does not work!
Comment 3 Jesse Glick 2005-03-28 15:54:59 UTC
Created attachment 21164 [details]
Stack trace #2
Comment 4 Jesse Glick 2005-03-28 15:56:16 UTC
However, if you do not delete *all* the imports at once, just some of them, you
can run Fix Imports successfully.
Comment 5 Jesse Glick 2005-03-28 15:58:22 UTC
Observed on another file too, this time just running Fix Imports on the original
(valid) source file.
Comment 6 Jesse Glick 2005-03-28 16:02:33 UTC
Seems to be better after killing MDR cache, at least for now...
Comment 7 Miloslav Metelka 2005-03-29 08:52:55 UTC
Reassigning to java/javacore for evaluation.
Comment 8 Martin Matula 2005-03-30 12:57:45 UTC
Dan, please look at it.
Comment 9 Daniel Prusa 2005-10-14 11:39:17 UTC
I am not able to reproduce this bug in the recent dev builds. This bug was
caused by some inconsistencies in the underlying infrastructure.
If you encounter it again, reopen the issue, please.
Comment 10 Quality Engineering 2007-09-20 12:49:02 UTC
Reorganization of java component