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 230130 - NetBeans 7.3 Hangs on Start up
Summary: NetBeans 7.3 Hangs on Start up
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Image (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-22 15:48 UTC by eleland
Modified: 2013-05-28 14:13 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (14.46 KB, text/plain)
2013-05-23 15:03 UTC, eleland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eleland 2013-05-22 15:48:35 UTC
I thought I had this problem solved, but I don't.

NetBeans 7.3 IDE hangs when starting. Previously I deleted the "lock" file in the 
C:\Users\<username>\AppData\Roaming\NetBeans\7.3 directory, and then NetBeans would load again.

I've tried that fix and it does not work. NetBeans hangs, just starting up and attempting to load my PHP project.

I have no idea how to solve this problem. The IDE is useless. I am quite amazed that this kind of thing can happen: how can this product simply start up and then just HANG?

I have never seen this before in any IDE. I'm astounded.

Is there a fix or workaround? Guess I have to go back to VisualStudio or Eclipse.
Comment 1 Ondrej Brejla 2013-05-22 15:54:59 UTC
Sorry, but you are the only one who complains. I can't reproduce that. Can you attach a project, which are opened on startup? Can you provide us a thread dump (use jstack) when the IDE is locked?

You can also try 7.4 dev build - http://bits.netbeans.org/download/trunk/nightly/latest/

And imho it will not be an issue of PHP modules...but hard to say.

Testers, can you look at it? Thanks.

Until more usable info provided, incomplete.
Comment 2 eleland 2013-05-22 18:13:32 UTC
I don't have jstack. I tried SendSignal but I can't get a PID. Windows Task Manager does not show the PID. I don't think attaching the entire project is an option.

If you have a suggestion how to run SendSignal to get the information, please let me know, or any other suggestion.

I'm sorry to complain. I don't want to complain, I just wanted to use the IDE. It doesn't run, I must be the only person in the world with this problem. Just lucky I guess.

NetBeans 7.3 IDE starts up and hangs.

I don't know if this is a PHP or whatever problem, I'm not a NetBeans developer, just someone who wanted to try to work on a PHP website.

Thanks for your time.
Comment 3 Ondrej Brejla 2013-05-22 18:24:04 UTC
You can try VisualVM as a profiling tool - http://visualvm.java.net
Comment 4 eleland 2013-05-23 15:03:11 UTC
Created attachment 134816 [details]
thread dump
Comment 5 Ondrej Brejla 2013-05-23 15:27:08 UTC
I just see php.project twice in there...but really don't understand this Project code...maybe Tomas can. Tomasi, what do you think? Do you see something strange?
Comment 6 Tomas Mysik 2013-05-24 04:46:10 UTC
It seems to - I can be wrong, of course - that the problem is in org.netbeans.modules.image.ImageViewer.updateNameInEDT() which calls SwingUtilities.invokeAndWait() - this can easily end with a deadlock. Could you please evaluate?

Thanks.
Comment 7 Ondrej Brejla 2013-05-24 06:10:51 UTC
I thought that, but wasn't sure ;) I'm curious about that.
Comment 8 Ondrej Vrabec 2013-05-27 07:59:49 UTC
honza is sick, i'll take care of this.
Comment 9 Ondrej Vrabec 2013-05-27 08:01:50 UTC
fix: http://hg.netbeans.org/core-main/rev/28490b90eeac
Comment 10 Quality Engineering 2013-05-28 14:13:00 UTC
Integrated into 'main-golden', will be available in build *201305281155* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/28490b90eeac
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #230130 - NetBeans 7.3 Hangs on Start up