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 49935 - [tests] IOE from undo after a move class
Summary: [tests] IOE from undo after a move class
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords: RANDOM, T9Y
: 48638 49732 (view as bug list)
Depends on: 50415
Blocks: 49959
  Show dependency tree
 
Reported: 2004-10-05 10:44 UTC by ehucka
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IOE's stacktrace (2.66 KB, text/plain)
2004-10-05 10:44 UTC, ehucka
Details
stacktrace (2.68 KB, text/plain)
2004-10-25 10:21 UTC, ehucka
Details
ide.log (5.34 KB, application/octet-stream)
2004-11-03 09:08 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2004-10-05 10:44:00 UTC
Validation automated tests random fail after an
IOE thrown from undo after a move class.
Comment 1 ehucka 2004-10-05 10:44:53 UTC
Created attachment 18042 [details]
IOE's stacktrace
Comment 2 Martin Matula 2004-10-08 17:13:05 UTC
*** Issue 49732 has been marked as a duplicate of this issue. ***
Comment 3 Martin Matula 2004-10-08 18:04:58 UTC
*** Issue 48638 has been marked as a duplicate of this issue. ***
Comment 4 Martin Matula 2004-10-14 13:12:40 UTC
Fixed by implementing task specified in issue 50415.
Comment 5 ehucka 2004-10-25 09:27:54 UTC
It is still there.
Comment 6 Martin Matula 2004-10-25 09:29:44 UTC
Please provide the current stacktrace.
Comment 7 Martin Matula 2004-10-25 09:35:59 UTC
Also - is was this bug gone for a while and now it is a regression, or
does it seem it was never fixed?
Comment 8 ehucka 2004-10-25 10:19:59 UTC
I've checked some previous tests results and it seems the problem
occurance is lower but the problem is still there.
Comment 9 ehucka 2004-10-25 10:21:12 UTC
Created attachment 18479 [details]
stacktrace
Comment 10 Martin Matula 2004-10-27 16:23:41 UTC
Fixed by recent integrations to ResourceImpl and JMManager.
Comment 11 Martin Matula 2004-10-27 16:24:29 UTC
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.
Comment 12 ehucka 2004-11-03 09:08:11 UTC
There is failed one test in the last test run (it cannot find some
class) but there are many IOE in ide.log.
Comment 13 ehucka 2004-11-03 09:08:46 UTC
Created attachment 18696 [details]
ide.log
Comment 14 Martin Matula 2004-11-03 12:51:01 UTC
P3->P2 since it is an IOE and it happens in tests.
Comment 15 Martin Matula 2004-11-03 13:05:10 UTC
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
Comment 16 Tomas Hurka 2004-11-03 14:24:22 UTC
I have reviewed the fix in trunk and agree with it.
Comment 17 Tomas Hurka 2004-11-04 12:41:18 UTC
I have reviewed the proposed fix and it seems to be OK.
Comment 18 Martin Matula 2004-11-04 15:09:39 UTC
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
Comment 19 ehucka 2005-03-15 12:17:54 UTC
verified