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.
Created attachment 131568 [details] Project to use for reproduction. 1. Run NetBeans and import attached Groovy project. 2. Open both Java main class file and Groovy file in editor. 3. Edit line 20 in GroovyApplication2.java file and remove 2 zeros in the function call parameter. Click the Save All Button on the Toolbar. 4. If the Save All Button worked, then edit line 20 again and add 2 zeros to the function call parameter. Click the Save All Button on the Toolbar. 5. At this point the Save All Button should be "stuck" and it won't depress. The status indicates the file was saved, but it was really not saved. Workaround: Use Ctrl+S or Ctrl+Shift+S. See attached log file. Product Version: NetBeans IDE Dev (Build 201302162300) Java: 1.7.0_13; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_13-b20 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 131569 [details] Log File
NOTE: If button does not get stuck, try putting focus on the project node in the Project Window BEFORE clicking the Save All Button in step 3 or 4. Bug still in: Product Version: NetBeans IDE Dev (Build 201302182300) Java: 1.7.0_13; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_13-b20 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Thanks for the report.. Could you please take and attach thread dump when the IDE gets stuck?
Created attachment 131575 [details] Thread Dump
Hm, I have no idea why is it happening, but from the thread dump it does not seem to be groovy related. Only NB classes I see in stack traces are: org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier ..reassigning to Tomas for evaluation
Nothing to do with p.a. Just for info the: at java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:537) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:658) means that the parsing actor is waiting on queue for some work to do.
I just tried it on a regular Java project and the bug is there too.
I can't reproduce this in: Product Version: NetBeans IDE 7.3.1 RC (Build 201305162200) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) but it is still valid and reproducible in: Product Version: NetBeans IDE Dev (Build 201305232300) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
(In reply to comment #8) > I can't reproduce this in: > > Product Version: NetBeans IDE 7.3.1 RC (Build 201305162200) > Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 > Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 > System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) > > but it is still valid and reproducible in: > > Product Version: NetBeans IDE Dev (Build 201305232300) > Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 > Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 > System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) When the problem happens the Save and SaveAll actions are disabled? The unsaved file has the tab title bold or it just appears unmodified? I'm just trying to resolve whether this is a dup of issue 230155 or not. Thanks.
(In reply to comment #9) > (In reply to comment #8) > > I can't reproduce this in: > > > > Product Version: NetBeans IDE 7.3.1 RC (Build 201305162200) > > Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 > > Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 > > System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) > > > > but it is still valid and reproducible in: > > > > Product Version: NetBeans IDE Dev (Build 201305232300) > > Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 > > Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 > > System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) > > When the problem happens the Save and SaveAll actions are disabled? > The unsaved file has the tab title bold or it just appears unmodified? > I'm just trying to resolve whether this is a dup of issue 230155 or not. > Thanks. The tab title says bold.
*** This bug has been marked as a duplicate of bug 230155 ***