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 145569

Summary: OK disabled forever
Product: platform Reporter: Lukas Hasik <lhasik>
Component: Options&SettingsAssignee: Jiri Skrivanek <jskrivanek>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Hasik 2008-08-29 13:17:18 UTC
Product Version: NetBeans IDE Dev (Build 200808281401)
Java: 1.5.0_15; Java HotSpot(TM) 64-Bit Server VM 1.5.0_15-b04
System: Linux version 2.6.24-19-generic running on amd64; UTF-8; en_US (nb)
Userdir: /home/lukas/.netbeans/dev

-open Tools > Options
-add new file extension on Miscellaneous > Files tab, close the new extension dialog with OK
-press the New... button again -> the OK on the Options is disabled for ever. 
->restart fixes it
Comment 1 Jiri Skrivanek 2008-09-29 08:55:37 UTC
I cannot reproduce it.
Comment 2 Lukas Hasik 2008-10-22 15:14:52 UTC
the trick to reproduce is to open Miscellaneous > Groovy before these steps

########## OptionsPanelController=org.netbeans.modules.groovy.support.options.SupportOptionsPanelController@1772e1  
org.netbeans.modules.groovy.support.options.SupportOptionsPanelController
########## OptionsPanelController.isValid=false
Comment 3 Jiri Skrivanek 2008-10-23 10:32:15 UTC
Fixed. Must call controller.isValid only if something changed. Some sub panels (Groovy in this case) can be invalid
right after initialization.
Comment 4 Quality Engineering 2008-10-24 04:16:34 UTC
Integrated into 'main-golden', will be available in build *200810240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/69d3b7765828
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #145569 - Call controller.isValid only if something changed. Some sub panels can be invalid right after initialization.
Comment 5 Lukas Hasik 2008-11-06 15:06:54 UTC
marking as 65fixes1-candidate because when user fell into this situation it isn't obvious what happened and how s/he can
recover. Sometimes even restart didn't help.
Comment 6 Lukas Hasik 2008-11-20 15:31:50 UTC
verified (081118)
Comment 7 pslechta 2008-11-21 11:57:59 UTC
The fix was ported into release65_fixes repository.

http://hg.netbeans.org/release65_fixes/rev/04685af2cce1
Comment 8 Jiri Skrivanek 2009-01-08 07:32:00 UTC
*** Issue 156363 has been marked as a duplicate of this issue. ***