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.
NetBeans 7.4 is freezing a lot and I have to kill the process. As I'm currently evaluating NetBeans for our current project, this becomes a major blocker -> P1 Project size: > 100 Maven projects Dev environment: NetBeans is running on a virtual desktop. Guest: Windows 7 Enterprise N (Service Pack 1)
Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0; IBM J9 VM 2.6 Runtime: Java(TM) SE Runtime Environment pwa6470sr2-20120901_01 (SR2) System: Windows 7 version 6.1 running on amd64; Cp1252; de_CH (nb)
1. please try JDK from oracle and let us know 2. if you are facing freezes, we need at least thread-dump generated at the time of freeze http://wiki.netbeans.org/GenerateThreadDump 3. provide information from points above and reopen, thanks in advance
I'm using Mac OSX Mavericks. Oracle JDK 1.7.0_45. NetBeans 7.4. Trying to show a GIT diff, but Netbeans freezes - and won't respond to kill signal (have to use -9). Another freeze happening quite often (haven't been able to determine the pattern yet) when opening source files. The source file title displays in the tabbed pane, but the content pane remains grey and nothing happens. In this case responds to kill signal. It seems to help clearing the netbeans cache but doesn't take long before it happens again.
please provide thread-dump at the time of freeze and reopen > if you are facing freezes, we need at least thread-dump generated at the time of freeze http://wiki.netbeans.org/GenerateThreadDump
Created attachment 141708 [details] Screenshot when trying to open a source file
Created attachment 141709 [details] Thread dump
Created attachment 141711 [details] Thread dump on reopening Netbeans after freeze on opening file
Created attachment 141712 [details] Thread dump on Git diff - causes full freeze (must be killed with -9)
Created attachment 141713 [details] Screenshot of git diff (frozen)
I have had three or four hard freezes with 7.4, OSX Mavericks using jdk1.7.0_45. Spinning blue ball. No response at all. Force Quit kills it. Starts back up fine. I can't recall any pattern as to exactly what was the last command before the freeze, but I don't think it's the same in each case. I have a vague recollection that it was when I clicked the Apply button on a preferences dialog or something similar. Details. Small projects, Java and C. No version control or anything special - just editing, compiling, debugging. I'm considering moving from Eclipse to NetBeans and this could be a deal killer if it continues.
It's freezing for me a lot too. I updated JVM to the Oracle's 1.7.0_45, but it didn't help. System Info: Product Version = NetBeans IDE 7.4 (Build 201310111528) (#6523d6792981) Operating System = Linux version 3.11.0-12-generic running on amd64 Java; VM; Vendor = 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_45-b18 Java Home = /usr/lib/jvm/jdk1.7.0_45/jre System Locale; Encoding = en_US (nb); UTF-8 Here is the full system info: https://gist.github.com/vladas/7246319
(In reply to funkyfly from comment #11) > It's freezing for me a lot too. I updated JVM to the Oracle's 1.7.0_45, but > it didn't help. > > System Info: > Product Version = NetBeans IDE 7.4 (Build 201310111528) > (#6523d6792981) > Operating System = Linux version 3.11.0-12-generic running on amd64 > Java; VM; Vendor = 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM > 24.45-b08; Oracle Corporation > Runtime = Java(TM) SE Runtime Environment 1.7.0_45-b18 > Java Home = /usr/lib/jvm/jdk1.7.0_45/jre > System Locale; Encoding = en_US (nb); UTF-8 > > Here is the full system info: > https://gist.github.com/vladas/7246319 So I switched back to 7.3, because it was unbearable.
Martine, could it possibly be resolved by not acquiring the LineTranslations$BreakpointLineUpdater monitor?
This is already fixed in 8.0 dev builds. See issue #236095. We should make a patch available for 7.4. *** This bug has been marked as a duplicate of bug 236095 ***
As a workaround, until the patch is ready, it should help to eliminate all unnecessary breakpoints. Reducing the number of breakpoints will reduce the chance of this issue.
*** Bug 237894 has been marked as a duplicate of this bug. ***
On OSX I see this every 10 minutes or so. 7.4 as well as 7.3.1 just stop responding and start beach balling. Nothing gets saved either and I've lost a few hours of work today. Switching to another IDE for now at least. OSX Mavericks Java 1.7u45 (or similar, the one with the retina fixes). NetBeans 7.3.1 and 7.4
As said earlier - delete all breakpoints that you're not using. I can confirm that this works. Hopefully next version will handle many breakpoints again - but most probably you have many breakpoints that you're not using anyway. No need to switch IDE :-)
A fix to this problem is already a part of an upcoming patch of 7.4. See issue #236095.
I am experiencing this same issue with 7.4 on Mavericks, retina display. Is there a way to integrate this patch manually before a general release? I don't have any breakpoints set. Any help would be appreciated as it renders netbeans useless.
When you don't have any breakpoints set, it's likely that it's a different problem. Can you please attach a full thread dump so that we're sure? According to http://wiki.netbeans.org/NetBeansPatchesProcess the patch should be available the day after tomorrow.
Try deleting (or moving - if you don't want to loose your settings) the Library/Application Support/NetBeans/7.4 folder, and don't choose to import from previous NetBeans versions when starting up. This is what I did - (I didn't delete breakpoints, I deleted all of my settings). I did this before the breakpoints were mentioned here - so I thought deleting breakpoints was enough when I wrote the last post. I haven't had any problems (using Mavericks OSX, latest JDK) since I deleted my settings.
I tried the solution provided by pjsalomonsen@netbeans.org with no luck. I'm running OS X Mavericks with all patches, Java 7u45, NetBeans 7.3.1 and 7.4. Experiencing hangs at complete random when clicking, copy/past, completing pretty much any task in the application. Happens every 5-10 minutes upon an action within the app. Don't have time for this. Changing IDEs for the time being.
matkordell, please at least do not create chaos in our bugtracking system, O.K.? *** This bug has been marked as a duplicate of bug 236095 ***
Confirm same bug: Product Version: NetBeans IDE 7.4 (Build 201310111528) java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) System: Ubuntu 13.10 64 bit running on amd64
Please do not reopen this bug. It is already fixed in NetBeans 7.4 Patch 1. You use only NetBeans 7.4. *** This bug has been marked as a duplicate of bug 236095 ***
Same problem here. I've experienced this problem on NetBeans 7.3.1, 7.4, 7.4 Patch 1, 7.4 Patch 2. The IDE still hangup randomly each time, cannot find particular pattern. It happens every 10-15 minutes, extremely annoying! I'm working with the IDE along this bug already for 3 months or so. Still not giving up on NetBeans. But please, fix it ASAP. I will provide whatever you need to help fixing this problem. Product Version: NetBeans IDE 7.4 (Build 201310111528) Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b48 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b29 System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb) User directory: /Users/XXX/Library/Application Support/NetBeans/7.4 Cache directory: /Users/XXX/Library/Caches/NetBeans/7.4 Thanks.
Another thing I noticed, is that when the IDE is hanging up, it looks like he is still running on the background, I can see the Performance Graph is still running and the cursor is blinking, but the mouse becomes a spinning icon and I cannot do anything except Force Quitting the IDE.
I am having this constantly on Mac OSX 10.9.1. Just hangs with a spinning icon. It's driving me crazy! Using mainly for HTML/CSS/PHP with GIT.
I'm trying the latest Dev release now, I will let you know how it goes.
Update, just saved some settings then it instantly froze.Dev revision has not fixed it. Thanks Tony
Then your problem is another issue. Please file it as a separate bug and attach full thread dump. Thanks.
For me, mostly it happens in Preferences window, and when I search something in project's files. But it doesn't happens all the time, sometimes it freezes and sometimes it doesn't. Don't know if it helps.
I just tested it in the latest dev version, and it still freezes.
Jiri Kovalsky, Why do you think it's a different issue? For me it looks like the same issue that was never fixed. I checked it on all versions since 7.3.1 and it's still freezes on each version!
Please provide a thread dump or a profiling snapshot. http://wiki.netbeans.org/GenerateThreadDump http://wiki.netbeans.org/FaqProfileMeNow Only then we can decide if this is a separate issue or if this is just a same problem, that was not fully fixed. Please provide this as a separate bug report, since it's likely that this is a different issue. A large application such as NetBeans can have problems with performance/deadlocks/UI slownesses on many different places. Even when they manifest in a very similar way, their cause can be very different.
*** This bug has been marked as a duplicate of bug 236095 ***
Correct.
Created attachment 143607 [details] Thread Dump after canceling the preferences window on NB7.4p2 Thread dump of NetBeans 7.4 Patch 2, after canceling the Preferences windows.
I've asked you to report this as a separate bug. I've done that: https://netbeans.org/bugzilla/show_bug.cgi?id=240004
Sorry. Thank you Martin.
Same problem. Fixed deleting the file netbeans.import on Contents/Resources/NetBeans/etc. Hope it helps. OS: OSX Mavericks (In reply to slavikme from comment #27) > Same problem here. > I've experienced this problem on NetBeans 7.3.1, 7.4, 7.4 Patch 1, 7.4 Patch > 2. > The IDE still hangup randomly each time, cannot find particular pattern. > It happens every 10-15 minutes, extremely annoying! > I'm working with the IDE along this bug already for 3 months or so. Still > not giving up on NetBeans. But please, fix it ASAP. I will provide whatever > you need to help fixing this problem. > > Product Version: NetBeans IDE 7.4 (Build 201310111528) > Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2 > Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b48 > Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b29 > System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb) > User directory: /Users/XXX/Library/Application Support/NetBeans/7.4 > Cache directory: /Users/XXX/Library/Caches/NetBeans/7.4 > > Thanks.
I use from netbeans 8.02 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