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 243848

Summary: same-project-same-color=true causes netbeans to freeze on startup
Product: platform Reporter: amanica
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED WONTFIX    
Severity: normal CC: amanica
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump1
log
thread dump2

Description amanica 2014-04-15 12:07:19 UTC
Created attachment 146762 [details]
thread dump1

I'm new to modern netbeans and I'm trying to get it set up for doing javaEE stuff. I install a couple of plugins eg. git, findbugs etc. and I set up shortcuts to the Eclipse profile, set some configs like multi layered tabs, format on save etc.

Ubuntu 13.10 64bit
Java = 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03; Oracle Corporation
although I got the same result with java 8 and even openjdk:
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.13.10.1)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)

I'll upload a log too if possible.
Comment 1 amanica 2014-04-15 12:08:41 UTC
Created attachment 146763 [details]
log
Comment 2 amanica 2014-04-15 12:09:28 UTC
Created attachment 146764 [details]
thread dump2
Comment 3 amanica 2014-04-15 12:10:31 UTC
Comment on attachment 146764 [details]
thread dump2

thread dump by jvirtualvm
Comment 4 amanica 2014-04-15 12:33:23 UTC
Deleting ~/.netbeans makes it work again, but the after I reconfigure and restart it hangs on startup: I draws the projects, toolbars, menus and everything but I can't interact with it at all. If I resize it, it doesn't refresh the frontend.
Comment 5 amanica 2014-04-15 12:51:51 UTC
I figured out through deleting configs until I narrowed it right down:

edit ~/.netbeans/8.0/config/Preferences/org/netbeans/core/multitabs/multi-tabs.properties

change `same-project-same-color=true` to `same-project-same-color=false`

then it works again..

and obviously don't turn it on again from the gui.
Comment 6 Stanislav Aubrecht 2014-04-18 08:00:03 UTC
The problem is in a third-party module org.zeroturnaround.jrebel.netbeans.navpanel.JRebelNavTopComponent which is creating and modifying Swing components outside of EDT. Please try disabling or uninstalling that module and reopen if the problem is still reproducible, thanks.