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 220456 - IDE fails to load main window immediately after startup
Summary: IDE fails to load main window immediately after startup
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.3
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 22:28 UTC by ytn01
Modified: 2012-11-05 12:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of IDE when issue occured. (216.58 KB, image/png)
2012-10-19 22:28 UTC, ytn01
Details
NetBeans Thread Dump (11.61 KB, text/plain)
2012-10-19 22:34 UTC, ytn01
Details
IDE Log (117.34 KB, text/plain)
2012-10-19 22:41 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2012-10-19 22:28:25 UTC
Created attachment 126219 [details]
Screenshot of IDE when issue occured.

Immediately after launching IDE, several exceptions pop & main window fails to load properly (see attached screenshot).

These exeptions are:
-a "java.io.FileNotFoundException" and
-several "org.openide.util.Exceptions$AnnException"



Build: NetBeans IDE Dev (Build 201210180002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b03, Java(TM) SE Runtime
Environment, 1.7.0_10-ea-b09
OS: Mac OS X
Comment 1 ytn01 2012-10-19 22:34:33 UTC
Created attachment 126220 [details]
NetBeans Thread Dump
Comment 2 ytn01 2012-10-19 22:41:06 UTC
Created attachment 126221 [details]
IDE Log
Comment 3 Petr Somol 2012-10-24 10:48:44 UTC
The log contains the following:

INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.java.j2seplatform.platformdefinition.PlatformConvertor.createProvider from xml/lookups/NetBeans/DTD_Java_PlatformDefinition_1_0.instance
java.lang.ClassNotFoundException: org.netbeans.modules.java.j2seplatform.platformdefinition.PlatformConvertor
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider.create from org-netbeans-api-project-libraries/LibraryTypeProviders/j2se_library_provider.instance
java.lang.ClassNotFoundException: org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.j2ee.deployment.impl.sharability.ServerLibraryTypeProvider.create from org-netbeans-api-project-libraries/LibraryTypeProviders/j2eeshared_library_provider.instance
java.lang.ClassNotFoundException: org.netbeans.modules.j2ee.deployment.impl.sharability.ServerLibraryTypeProvider
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

java.io.IOException: Could not connect to URL nbresloc:/org/netbeans/modules/xml/jaxb/jaxb-endorsed.xml. No such resource was found.

Tomas, please take a look whether this is SE platform related or is it J2EE related ?
Comment 4 Tomas Zezula 2012-10-26 08:03:56 UTC
Nothing to do with project system.
Seems that no module from java cluster is loaded.
Either broken module system cache or broken installation.
To reporter try to delete cache dir which will resolve the broken module system cache or reinstall the ide.
Comment 5 Jaroslav Tulach 2012-11-01 10:09:53 UTC
The all-layers.dat cache is probably out of date with the state of module system. I am not sure how that can happen. I was not even able to simulate this by copying the cache files back and forth.

Try to provide log when you face the problem again:
-J-Dorg.netbeans.Stamps.level=FINE
Comment 6 ytn01 2012-11-02 22:52:54 UTC
This exception seems to happen when restarting the IDE after the bug below occurs.
http://netbeans.org/bugzilla/show_bug.cgi?id=220535
Comment 7 Jaroslav Tulach 2012-11-05 11:31:47 UTC
I need the log.
Comment 8 Marian Mirilovic 2012-11-05 12:01:33 UTC
(In reply to comment #7)
> I need the log.

incomplete