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.
Validation automated tests random fail after an IOE thrown from undo after a move class.
Created attachment 18042 [details] IOE's stacktrace
*** Issue 49732 has been marked as a duplicate of this issue. ***
*** Issue 48638 has been marked as a duplicate of this issue. ***
Fixed by implementing task specified in issue 50415.
It is still there.
Please provide the current stacktrace.
Also - is was this bug gone for a while and now it is a regression, or does it seem it was never fixed?
I've checked some previous tests results and it seems the problem occurance is lower but the problem is still there.
Created attachment 18479 [details] stacktrace
Fixed by recent integrations to ResourceImpl and JMManager.
User: mmatula Date: 04/10/27 06:23:47 Modified: javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel ResourceImpl.java Log: Another up-to-date checking bug fixed.
There is failed one test in the last test run (it cannot find some class) but there are many IOE in ide.log.
Created attachment 18696 [details] ide.log
P3->P2 since it is an IOE and it happens in tests.
Fixed in trunk. (this was a different problem related to updating classes when scanning - it may have resulted in IOEs but also in other exceptions like info is null for element, etc.) Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/JavaClassImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/JavaClassImpl.java,v <-- JavaClassImpl.java new revision: 1.39; previous revision: 1.38 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/javacore/scanning/JavaUpdater.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/scanning/JavaUpdater.java,v <-- JavaUpdater.java new revision: 1.18; previous revision: 1.17 done
I have reviewed the fix in trunk and agree with it.
I have reviewed the proposed fix and it seems to be OK.
Fix merged to release40 branch. Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/JavaClassImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/JavaClassImpl.java,v <-- JavaClassImpl.java new revision: 1.37.2.1; previous revision: 1.37 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/javacore/scanning/JavaUpdater.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/scanning/JavaUpdater.java,v <-- JavaUpdater.java new revision: 1.17.6.1; previous revision: 1.17 done
verified