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 213495 - Netbeans 7.1.2 hangs on startup
Summary: Netbeans 7.1.2 hangs on startup
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-04 08:36 UTC by bolsover
Modified: 2015-10-18 12:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Threaddump of hung IDE (27.96 KB, text/plain)
2012-06-04 08:36 UTC, bolsover
Details
Thread Dump from NB7.2Beta (41.06 KB, text/plain)
2012-06-05 09:07 UTC, bolsover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bolsover 2012-06-04 08:36:16 UTC
Created attachment 120287 [details]
Threaddump of hung IDE

I have a persistant, if infrequent, problem with netbeans hanging on startup. The issue is quite random; I can go for several days with no problem but then netbeans will hang during in initial task scanning - progress bar fozen and no response from the ide.  The ide than has to be forcibly closed - the hang will occur again on next startup.  The only solution to the problem I have found, is to (very quickly during startup) select, right click and close one of the open projects - netbeans will then continue normally and I have no further problems for some days.

I launched visualVM when this just happened and grabbed the attached threaddump:
Comment 1 Jaroslav Tulach 2012-06-04 09:39:36 UTC
Possibly ireport could stop creating component from inside a data object constructor

	at com.jaspersoft.ireport.designer.JrxmlVisualView.<init>(JrxmlVisualView.java:169)
	at com.jaspersoft.ireport.designer.JrxmlEditorSupport.<init>(JrxmlEditorSupport.java:96)
	at com.jaspersoft.ireport.designer.JrxmlEditorSupport.create(JrxmlEditorSupport.java:109)
	at com.jaspersoft.ireport.JrxmlDataObject.<init>(JrxmlDataObject.java:52)
	at com.jaspersoft.ireport.JrxmlDataLoader.createMultiObject(JrxmlDataLoader.java:54)
	at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:145)
	at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:161)
Comment 2 bolsover 2012-06-05 09:07:58 UTC
Created attachment 120362 [details]
Thread Dump from NB7.2Beta

Looks like a similar issue with NB7.2 Beta.
The attached threaddump blocked thread involving ireport classes.
Comment 3 bolsover 2012-06-05 09:14:49 UTC
Previous issues were with iReport plugin version 4.5.1.
I have just downloaded and installed the latest version 4.6.0 (released 2012-05-21).  I'll report any further issues in this thread.
db
Comment 4 bolsover 2012-06-12 08:16:11 UTC
Same problem with iReport 4.6.0 and NB7.2beta...

<extract from threaddump>
"org.netbeans.modules.project.ui.ProjectTab" daemon prio=2 tid=0x00000000158e1000 nid=0xad8 waiting for monitor entry [0x0000000011f4e000]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at java.awt.KeyboardFocusManager.clearMostRecentFocusOwner(KeyboardFocusManager.java:1822)
	- waiting to lock <0x00000000d0d28e68> (a java.awt.Component$AWTTreeLock)
	at java.awt.Component.setFocusable(Component.java:7110)
	at org.openide.windows.TopComponent.<init>(TopComponent.java:274)
	at org.openide.windows.TopComponent.<init>(TopComponent.java:254)
	at com.jaspersoft.ireport.designer.JrxmlVisualView.<init>(JrxmlVisualView.java:169)
	at com.jaspersoft.ireport.designer.JrxmlEditorSupport.<init>(JrxmlEditorSupport.java:96)
	at com.jaspersoft.ireport.designer.JrxmlEditorSupport.create(JrxmlEditorSupport.java:109)
	at com.jaspersoft.ireport.JrxmlDataObject.<init>(JrxmlDataObject.java:52)
	at com.jaspersoft.ireport.JrxmlDataLoader.createMultiObject(JrxmlDataLoader.java:54)
	at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:145)
	at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:161)
	at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:407)
</extract from threaddump>
Comment 5 h98 2012-07-01 07:51:22 UTC
Same probleme.

I had some jpg-images in the project folder. When I removed them the probleme disapered.
Comment 6 bolsover 2013-10-29 18:16:57 UTC
New iReport plugin appears to solve this problem when used with NB7.4.
http://sourceforge.net/projects/ireport/files/iReport%20Plugin%20for%20NetBeans/iReport-5.5.0/

I marking this issue as resolved, fixed.

db
Comment 7 Jackie_Rosen 2014-02-16 11:24:39 UTC
SPAM - Removed by Administrator
Comment 8 mortezania 2015-10-18 12:25:35 UTC
I use from netbeans 8.02 on windows 7 for me netbeans hanging problem solved just with renaming "component" folder name of netbeans in following path ...AppData\Roaming\NetBeans\8.0.2\config\Windows2Local