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.
[dev-200501231900, JDK 1.5.0_02] I created simple class and used class File in it. java.io.File wasn't in the import so I used Alt+Shift+I to add it and InvalidObjectException was thrown and NullPointerException after that when clicking back to code editor (at least I think). Both exceptions are attached.
Created attachment 19894 [details] exc stack trace
Unfortunatelly, I can see nothing from the stacktraces. In the future, the whole messages.log would be more useful since the error may be a consequence of some inconsistency that was there before. I am also not able to reproduce this issue. For now I will set this as incomplete. Please provide new stacktrace if it happens again. Thanks and sorry.
Created attachment 21371 [details] Similar stack trace, when doing a "fix import command"
Seems like a different issue. Dan please look at it.
InvalidObjectException in the second attachment is duplicate of issue 57067.
I am not able to reproduce any of the two reported problems. As I have already noted the second stack trace duplicates issue 57067 which is related to InvalidObectException during Fast Import and Fix All Imports actions. I will close this issue as non-reproducible. Progress on InvalidObjectExceptions during fast import can be still tracked in 57067. If the excpetion is still reproducible in the latest dev builds it would be helpfull if you could describe steps leading to this situation and attach related sources.
Verified.
Reorganization of java component