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 226337 - Save All Button May Not Work
Summary: Save All Button May Not Work
Status: RESOLVED DUPLICATE of bug 230155
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal with 1 vote (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-19 13:40 UTC by MackSix
Modified: 2013-06-05 08:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project to use for reproduction. (16.13 KB, application/zip)
2013-02-19 13:40 UTC, MackSix
Details
Log File (55.18 KB, text/plain)
2013-02-19 13:40 UTC, MackSix
Details
Thread Dump (69.48 KB, text/plain)
2013-02-19 15:43 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-02-19 13:40:04 UTC
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)
Comment 1 MackSix 2013-02-19 13:40:31 UTC
Created attachment 131569 [details]
Log File
Comment 2 MackSix 2013-02-19 13:58:10 UTC
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)
Comment 3 Martin Janicek 2013-02-19 14:35:03 UTC
Thanks for the report.. Could you please take and attach thread dump when the IDE gets stuck?
Comment 4 MackSix 2013-02-19 15:43:44 UTC
Created attachment 131575 [details]
Thread Dump
Comment 5 Martin Janicek 2013-02-19 15:57:23 UTC
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
Comment 6 Tomas Zezula 2013-02-19 16:03:46 UTC
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.
Comment 7 MackSix 2013-02-19 16:08:56 UTC
I just tried it on a regular Java project and the bug is there too.
Comment 8 MackSix 2013-05-25 13:44:56 UTC
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)
Comment 9 Miloslav Metelka 2013-06-03 12:15:46 UTC
(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.
Comment 10 MackSix 2013-06-03 14:51:46 UTC
(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.
Comment 11 Miloslav Metelka 2013-06-05 08:56:39 UTC

*** This bug has been marked as a duplicate of bug 230155 ***