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 206826 - Nightly from 2012-1-1 exception on start, no UI
Summary: Nightly from 2012-1-1 exception on start, no UI
Status: RESOLVED DUPLICATE of bug 208220
Alias: None
Product: platform
Classification: Unclassified
Component: Netigso (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 17:30 UTC by theosib
Modified: 2012-02-24 13:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description theosib 2012-01-01 17:30:47 UTC
On start, I get this exception.  I was getting this after an update, so I downloaded and installed a fresh copy, but I'm still getting this exception.

java.lang.IllegalStateException: Module Netigso: C:\Program Files\NetBeans Dev 201112270601\ide\modules\org-eclipse-mylyn-commons-net.jar could not be installed but had no problems
	at org.netbeans.core.startup.NbProblemDisplayer.problemMessagesForModules(NbProblemDisplayer.java:229)
	at org.netbeans.core.startup.NbEvents.logged(NbEvents.java:188)
[catch] at org.netbeans.Events.log(Events.java:166)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:346)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
	at org.netbeans.core.startup.Main.start(Main.java:308)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:662)

I also get no UI.  After I dismiss the dialog, Netbeans starts up and gives an empty window.  This is a complete show-stopper.
Comment 1 Jaroslav Tulach 2012-01-02 17:45:17 UTC
There is no exception in today's build of mine. Try running with

-J-Dorg.netbeans.core.netigso.level=FINE

and attach your messages.log.
Comment 2 theosib 2012-01-18 17:55:39 UTC
I'm still getting an exception on startup, from today's build:


java.lang.IllegalStateException: Module Netigso: C:\Program Files\NetBeans Dev 201201170601\ide\modules\org-eclipse-mylyn-commons-net.jar could not be installed but had no problems
	at org.netbeans.core.startup.NbProblemDisplayer.problemMessagesForModules(NbProblemDisplayer.java:229)
	at org.netbeans.core.startup.NbEvents.logged(NbEvents.java:188)
[catch] at org.netbeans.Events.log(Events.java:166)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:346)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
	at org.netbeans.core.startup.Main.start(Main.java:308)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:662)

I'll try your suggestion.

BTW, I suspect that this is caused by some stuff another dev asked me to put into the config file.  On Windows, git is broken, so they asked me to add some debug stuff, and now I'm getting crashes on startup.
Comment 3 theosib 2012-01-18 17:56:16 UTC
So when I get the blank UI, and I try to close the window, I get another exception:


java.lang.AssertionError: RootsListeners are already dormant
	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsListeners.setListener(RepositoryUpdater.java:5076)
	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.stop(RepositoryUpdater.java:201)
	at org.netbeans.modules.parsing.impl.Installer.closing(Installer.java:37)
	at org.netbeans.core.startup.NbInstaller.closing(NbInstaller.java:655)
	at org.netbeans.ModuleManager.shutDown(ModuleManager.java:1806)
	at org.netbeans.core.startup.ModuleSystem.shutDown(ModuleSystem.java:316)
	at org.netbeans.core.NbLifecycleManager.doExit(NbLifecycleManager.java:167)
	at org.netbeans.core.NbLifecycleManager.access$000(NbLifecycleManager.java:75)
	at org.netbeans.core.NbLifecycleManager$ExitActions.run(NbLifecycleManager.java:123)
	at org.openide.util.Mutex.doEvent(Mutex.java:1341)
	at org.openide.util.Mutex.readAccess(Mutex.java:348)
	at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:111)
	at org.netbeans.core.windows.view.ui.MainWindow$6.windowClosing(MainWindow.java:448)
	at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
	at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:332)
	at java.awt.Window.processWindowEvent(Window.java:1865)
	at javax.swing.JFrame.processWindowEvent(JFrame.java:274)
	at java.awt.Window.processEvent(Window.java:1823)
	at java.awt.Component.dispatchEventImpl(Component.java:4651)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4481)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
	at java.awt.EventQueue.access$000(EventQueue.java:84)
	at java.awt.EventQueue$1.run(EventQueue.java:602)
	at java.awt.EventQueue$1.run(EventQueue.java:600)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
	at java.awt.EventQueue$2.run(EventQueue.java:616)
	at java.awt.EventQueue$2.run(EventQueue.java:614)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:162)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 4 theosib 2012-01-18 18:02:23 UTC
Actually, since I installed the nightly fresh, those debug settings I mentioned are not being used.  Here's the relevant line from my config file:


netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true -J-Dplugin.manager.check.updates=false -J-Dorg.netbeans.core.netigso.level=FINE"


I still get this exception on startup.  I DO NOT get an exception if i start 7.1.


java.lang.IllegalStateException: Module Netigso: C:\Program Files\NetBeans Dev 201201170601\ide\modules\org-eclipse-mylyn-commons-net.jar could not be installed but had no problems
	at org.netbeans.core.startup.NbProblemDisplayer.problemMessagesForModules(NbProblemDisplayer.java:229)
	at org.netbeans.core.startup.NbEvents.logged(NbEvents.java:188)
[catch] at org.netbeans.Events.log(Events.java:166)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:346)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:172)
	at org.netbeans.core.startup.Main.start(Main.java:308)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:662)
Comment 5 Tomas Zezula 2012-01-19 09:27:12 UTC
>java.lang.AssertionError: RootsListeners are already dormant
The parsing.api ModuleInstall.closing() was not called yet.
Comment 6 Jaroslav Tulach 2012-01-27 09:16:28 UTC
I have seen the problem on my VirtualBox Windows XP once too.
Comment 7 theosib 2012-02-07 19:45:59 UTC
I just downloaded today's nightly.  Still getting an exception on startup:


java.lang.NullPointerException
	at org.openide.loaders.DataLoaderPool$FolderLoader.findPrimaryFile(DataLoaderPool.java:1081)
	at org.openide.loaders.MultiFileLoader.findPrimaryFileImpl(MultiFileLoader.java:365)
	at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:99)
	at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:161)
[catch] at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:407)
Caused: java.io.IOException
	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:422)
	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:380)
	at org.netbeans.core.NbLoaderPool.findServicesFolder(NbLoaderPool.java:692)
[catch] at org.netbeans.core.NbLoaderPool.findServicesLookup(NbLoaderPool.java:701)
	at org.netbeans.core.CoreBridgeImpl.lookupCacheLoad(CoreBridgeImpl.java:129)
	at org.netbeans.core.startup.MainLookup.modulesClassPathInitialized(MainLookup.java:152)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:352)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1096)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:906)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:350)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:294)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:167)
	at org.netbeans.core.startup.Main.start(Main.java:303)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:662)
Comment 8 Jaroslav Tulach 2012-02-09 10:03:00 UTC
Try to start with empty user directory.  Use "--userdir" command line option.
Comment 9 theosib 2012-02-15 17:15:04 UTC
What I did was rename the ".netbeans" directory in my home directory.  When I did that, that made the crash go away.

Is there anything in the old directory I can upload that would help diagnose the crash?  

Obviously something is wrong, and other people upgrading through older versions are going to run into the same trouble.  Plus, OLDER versions don't have this crash.  So simply asking people to manually wipe out their ".netbeans" directory isn't a proper fix.
Comment 10 Jaroslav Tulach 2012-02-24 13:33:43 UTC
The ProblemDisplayer.problemMessagesForModules looks like duplicate of bug 208220. For the other reports, please create individual issues.

*** This bug has been marked as a duplicate of bug 208220 ***