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.
Progress bar makes it to "starting modules" but won't complete. If another Java app is running, however, netbeans will start. Once it starts it will continue to work properly until operating system restart then it won't start again.
Created attachment 80206 [details] log file
Need thread dump to see where it hangs.
http://wiki.netbeans.org/GenerateThreadDump
Created attachment 80303 [details] thread dump - as requested!
There is no deadlock. Thread 'main' is runnable. Please attach more thread dumps say 4 periodically after 10s, 30s, 1min to see what happens if there is any change or if it stays the same.
Also is there any disk activity or CPU usage?
Created attachment 80394 [details] another thread dump - CPU use 0-2%, no unusual memory use
Issue resolved. User inadvertently activated ui gesture logging - but primarily works off the net. Netbeans tries to submit data to server, fails and writes an error message in the user's Temp directory. More than 30 MILLION of these message files accumulated in the temp directory, which, Netbeans apparantly scans at startup. This is what caused the 20+ minute delay and possible the heap allocation errors as well. Strongly recommend only entering one error log message per day, informing the user and allowing them to disable UI gesture logging, warning them if there is too much stuff in the Temp directory, or some other manner to coach the user out of this unfortunate circumstance.
It was bug. Already reported and fixed. *** This issue has been marked as a duplicate of 161691 ***
Workaround is to disable 'UI Gesture Collector' to avoid generating many temp files and clean content of temp directory to fix long start. (In this case profiler tries to list content of temp dir and delete its temporary files. When there is a lot of file in temp dir it can take long.) Also it might be necessary to disable 'Usage Statistics' at Tools -> Options -> General tab - uncheck checkbox "Help us to improve ..." at bottom of dialog.