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 56639 - IOE: Object with MOFID no longer exists
Summary: IOE: Object with MOFID no longer exists
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 11:29 UTC by Jiri Kovalsky
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log from the session when I faced the IOE. (14.80 KB, text/plain)
2005-03-18 11:30 UTC, Jiri Kovalsky
Details
Versioned D:\Tests\CVS\Work1\WebApplication26\src\java\NewClass.java file causing the IOE. (505 bytes, text/plain)
2005-03-18 13:38 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2005-03-18 11:29:42 UTC
Development build #200503172015 of NetBeans 4.1
Windows XP, JDK 1.5.0_02 build #09

Decription:
===========
Today I have experienced another "no MOFID" exception but I am not sure if I
could reproduce it. I am attaching whole messages.log so that you see the
preceding exception as you required in #53869.

What I did:
===========
1. I had NewClass opened in the editor that was generated few days ago.
2. I copied the contents of the following page (CTRL+A, CTRL+C):
http://xml.netbeans.org/unbranded-source/browse/*checkout*/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewEditorSupport.java?rev=1.29
3. And replaced the contents of NewClass java file. (CTRL+A, CTRL+V)
4. I restarted IDE (I am not sure if I saved the modifications).
5. The exception was thrown during startup of IDE.
Comment 1 Jiri Kovalsky 2005-03-18 11:30:58 UTC
Created attachment 20949 [details]
IDE log from the session when I faced the IOE.
Comment 2 Jiri Kovalsky 2005-03-18 13:37:02 UTC
I would like to point out that this is reproducible. Attaching the NewClass file
if it matters.
Comment 3 Jiri Kovalsky 2005-03-18 13:38:54 UTC
Created attachment 20952 [details]
Versioned D:\Tests\CVS\Work1\WebApplication26\src\java\NewClass.java file causing the IOE.
Comment 4 Martin Matula 2005-03-18 14:07:33 UTC
Yes, I found the problem. It can be reproduced with any file if you rename a
class declared in it, do not save it, close the ide (discard changes) and
restart it again. I am working on a fix.
Comment 5 Martin Matula 2005-03-18 16:38:27 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/RepositoryUpdater.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java,v 
<--  RepositoryUpdater.java
new revision: 1.36; previous revision: 1.35
done
Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v
 <--  ResourceImpl.java
new revision: 1.76; previous revision: 1.75
done
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.22; previous revision: 1.21
done
Comment 6 Jiri Kovalsky 2005-03-21 10:47:14 UTC
Great, no exception ! Verified in development build #200503201900 of NetBeans 4.1.
Comment 7 Quality Engineering 2007-09-20 09:48:53 UTC
Reorganization of java component