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 49401 - [40cat] IOE after copying a file to another package
Summary: [40cat] IOE after copying a file to another package
Status: RESOLVED DUPLICATE of bug 49002
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Mac OS X
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 49290 49901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-22 12:40 UTC by Jan Chalupa
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Console log (61.52 KB, text/plain)
2004-09-22 12:41 UTC, Jan Chalupa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2004-09-22 12:40:25 UTC
Encountered by a NetCAT participant in a recent
dev build (#20040920?) --

I get this after I copy a file to another package
(using the IDE) and doing a massive rename.
Attached is the log, too.

javax.jmi.reflect.InvalidObjectException: Object
with MOFID 
337BA02C-F77D-11D8-9ECA-E4DE5DD8AA77:0000000000009D99
no longer exists.
    at 
org.netbeans.mdr.handlers.BaseObjectHandler._getDelegate(BaseObjectHandl
er.java:322)
    at 
org.netbeans.mdr.handlers.InstanceHandler.getInstanceDelegate(InstanceHa
ndler.java:48)
    at 
org.netbeans.mdr.handlers.InstanceHandler.refClass(InstanceHandler.java:
283)
    at 
org.netbeans.mdr.util.EventNotifier$Instance.collectListeners(EventNotif
ier.java:560)
    at 
org.netbeans.mdr.util.EventNotifier$Abstract.firePlannedChange(EventNoti
fier.java:409)
    at 
org.netbeans.mdr.handlers.InstanceHandler.refDelete(InstanceHandler.java
:304)
    at 
org.netbeans.modules.javacore.scanning.JavaUpdater.makeIndex(JavaUpdater
.java:238)
    at 
org.netbeans.modules.javacore.scanning.JavaUpdater.computeIndex(JavaUpda
ter.java:57)
    at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.directUpdat
e(ResourceImpl.java:536)
    at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.checkUpToDa
te(ResourceImpl.java:479)
    at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.updateFromD
ataObject(ResourceImpl.java:385)
    at 
org.netbeans.modules.javacore.ExclusiveMutex.parseIfNeeded(ExclusiveMute
x.java:218)
    at 
org.netbeans.modules.javacore.ExclusiveMutex.enter(ExclusiveMutex.java:
137)
    at 
org.netbeans.mdr.NBMDRepositoryImpl.beginTrans(NBMDRepositoryImpl.java:
232)
    at
org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:230)
    at org.openide.util.Task.run(Task.java:136)
    at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
686)
Comment 1 Jan Chalupa 2004-09-22 12:41:36 UTC
Created attachment 17803 [details]
Console log
Comment 2 Martin Matula 2004-09-22 14:57:29 UTC
There seems to be one more problem in the node. Dane, please evaluate.

java.util.ConcurrentModificationException

	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:782)

	at java.util.HashMap$KeyIterator.next(HashMap.java:818)

	at
org.netbeans.modules.java.bridge.MethodElementImpl$MethodListener.remove(MethodElementImpl.java:197)

	at
org.netbeans.modules.java.bridge.ElementImpl$ElementListener.doRemove(ElementImpl.java:1238)

	at
org.netbeans.modules.java.bridge.ElementImpl$LWeakReference.run(ElementImpl.java:1306)

[catch] at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2419)

	at java.lang.Thread.run(Thread.java:552)

Comment 3 Pavel Flaska 2004-09-27 13:30:31 UTC
*** Issue 49290 has been marked as a duplicate of this issue. ***
Comment 4 Daniel Prusa 2004-09-27 14:24:13 UTC
CME should be fixed now:

Checking in CallableImpl.java;
/cvs/java/src/org/netbeans/modules/java/bridge/CallableImpl.java,v 
<--  CallableImpl.java
new revision: 1.9; previous revision: 1.8
Comment 5 Martin Matula 2004-10-04 14:36:04 UTC
The exception is a duplicate of issue 49002 where the basic problem is
that parseIfNeeded is called on a resource that is not valid anymore.

*** This issue has been marked as a duplicate of 49002 ***
Comment 6 Martin Matula 2004-10-04 17:10:21 UTC
*** Issue 49901 has been marked as a duplicate of this issue. ***
Comment 7 Quality Engineering 2007-09-20 09:47:25 UTC
Reorganization of java component