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 50722 - IllegalStateException in Netbeans4-beta2
Summary: IllegalStateException in Netbeans4-beta2
Status: RESOLVED 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:
: 49056 51180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-21 20:08 UTC by levent
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file for netbeans (657.79 KB, text/plain)
2004-10-21 20:10 UTC, levent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description levent 2004-10-21 20:08:47 UTC
I am having the same problem since the Q-builds 
(before beta releases).

Before Netbeans4 Beta2 (for q-builds) i had jdk-1.
4.2_05.

I am using JDK 5.0 with Netbeans4.0 Beta2 Bundle 
now.

Currently, when i opened Netbeans4, it gives me 
the Error-1 written at the
bottom of the message.

Also, after i opened a project, when trying to 
open a java source file in
the project, it gives me Error-2 written at the 
bottom of the message. (Unforunately, i get the 
same error for all attempts for all files)

I also tried to remove the .netbeans directory in 
the user.home: Nothing changed.

Error-1
----------

Annotation: Exception occurred in Request 
Processor
java.lang.IllegalStateException: Metamodel XMI 
malformed.
 at
org.netbeans.lib.jmi.util.MetamodelManager.
update(MetamodelManager.java:146)
 at
org.netbeans.lib.jmi.util.MetamodelManager.
findRootPackage(MetamodelManager.java:51)
 at org.netbeans.modules.javacore.JMManager.
init(JMManager.java:216)
 at org.netbeans.modules.javacore.JMManager.
access$800(JMManager.java:74)
 at org.netbeans.modules.javacore.JMManager$7.
run(JMManager.java:1209)
 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)
==>
java.lang.NullPointerException
 at
org.netbeans.mdr.NBMDRepositoryImpl.
getMOFModelPackage(NBMDRepositoryImpl.java:713)
 at
org.netbeans.mdr.NBMDRepositoryImpl.
createExtent(NBMDRepositoryImpl.java:440)
 at
org.netbeans.mdr.NBMDRepositoryImpl.
createExtent(NBMDRepositoryImpl.java:292)
 at
org.netbeans.mdr.NBMDRepositoryImpl.
createExtent(NBMDRepositoryImpl.java:280)
 at
org.netbeans.mdr.NBMDRepositoryImpl.
createExtent(NBMDRepositoryImpl.java:269)
 at
org.netbeans.lib.jmi.util.MetamodelManager.
update(MetamodelManager.java:131)
 at
org.netbeans.lib.jmi.util.MetamodelManager.
findRootPackage(MetamodelManager.java:51)
 at org.netbeans.modules.javacore.JMManager.
init(JMManager.java:216)
 at org.netbeans.modules.javacore.JMManager.
access$800(JMManager.java:74)
 at org.netbeans.modules.javacore.JMManager$7.
run(JMManager.java:1209)
 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)


Error-2
----------

java.lang.RuntimeException
 at org.netbeans.modules.javacore.JMManager.
mountStorage(JMManager.java:276)
 at org.netbeans.modules.javacore.JMManager.
init(JMManager.java:211)
 at
org.netbeans.modules.javacore.JMManager.
resolveCPRoot(JMManager.java:872)
 at
org.netbeans.modules.javacore.JMManager.
resolveJavaExtent(JMManager.java:381)
 at org.netbeans.modules.javacore.JMManager.
getResource(JMManager.java:466)
 at org.netbeans.modules.javacore.JMManager.
getResource(JMManager.java:426)
 at org.netbeans.modules.javacore.JMManager.
getResource(JMManager.java:401)
 at
org.netbeans.modules.java.ui.NavigationView.
findElement(NavigationView.java:511)
 at
org.netbeans.modules.java.ui.NavigationView.
selectNodeImpl(NavigationView.java:325)
 at
org.netbeans.modules.java.ui.NavigationView.
access$100(NavigationView.java:64)
 at
org.netbeans.modules.java.ui.NavigationView$2.
run(NavigationView.java:310)
 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)
==>
org.netbeans.mdr.util.MountFailedException: 
Partition mount failed.
 at
org.netbeans.mdr.NBMDRepositoryImpl.
mountStorage(NBMDRepositoryImpl.java:517)
 at org.netbeans.modules.javacore.JMManager.
mountStorage(JMManager.java:267)
 at org.netbeans.modules.javacore.JMManager.
init(JMManager.java:211)
 at
org.netbeans.modules.javacore.JMManager.
resolveCPRoot(JMManager.java:872)
 at
org.netbeans.modules.javacore.JMManager.
resolveJavaExtent(JMManager.java:381)
 at org.netbeans.modules.javacore.JMManager.
getResource(JMManager.java:466)
 at org.netbeans.modules.javacore.JMManager.
getResource(JMManager.java:426)
 at org.netbeans.modules.javacore.JMManager.
getResource(JMManager.java:401)
 at
org.netbeans.modules.java.ui.NavigationView.
findElement(NavigationView.java:511)
 at
org.netbeans.modules.java.ui.NavigationView.
selectNodeImpl(NavigationView.java:325)
 at
org.netbeans.modules.java.ui.NavigationView.
access$100(NavigationView.java:64)
 at
org.netbeans.modules.java.ui.NavigationView$2.
run(NavigationView.java:310)
 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 levent 2004-10-21 20:10:16 UTC
Created attachment 18440 [details]
log file for netbeans
Comment 2 Jan Chalupa 2004-10-23 21:42:36 UTC
javacore or mdr problem. Re-assigning.
Comment 3 Martin Matula 2004-10-25 09:39:14 UTC
This looks like some IO problem, or problem with corrupted
installation jars. Are you sure your disk is not full and the disk
access rights are set properly?
Comment 4 levent 2004-10-25 12:19:15 UTC
I am sure that the disk is not full.
I am using windows, so i dont think that it is an access right 
problem.

Can you tell me the name of the files to look for corruption and 
permission rights?
Comment 5 Martin Matula 2004-10-25 15:52:42 UTC
Could you please try this with the current dev build and attach the
messages.log from it to this issue (in case the bug is still there)?
Comment 6 levent 2004-10-26 08:21:33 UTC
Thank you very much. It seems that the problem is solved for 
200410251800 daily build.
Comment 7 Martin Matula 2004-10-26 09:06:21 UTC
Thanks for the update.
Comment 8 Martin Matula 2004-10-29 09:12:40 UTC
*** Issue 49056 has been marked as a duplicate of this issue. ***
Comment 9 Martin Matula 2004-11-05 08:56:04 UTC
*** Issue 51180 has been marked as a duplicate of this issue. ***
Comment 10 Quality Engineering 2007-09-20 09:46:25 UTC
Reorganization of java component