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.
Build: NetBeans IDE Dev (Build 200902231810) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: petersm: Tried to change default JDK for a grails project on mac os x 10.5.6 Added different JDKs (1.5 was defaut, added 1.6.0 and 1.6) Closed the Properties dialog of he grails project Stacktrace: java.lang.AssertionError at org.netbeans.modules.groovy.grails.api.GrailsProjectConfig.setJavaPlatform(GrailsProjectConfig.java:282) at org.netbeans.modules.groovy.grailsproject.ui.customizer.GrailsProjectProperties.saveProperties(GrailsProjectProperties.java:185) at org.netbeans.modules.groovy.grailsproject.ui.customizer.GrailsProjectProperties.access$000(GrailsProjectProperties.java:63) at org.netbeans.modules.groovy.grailsproject.ui.customizer.GrailsProjectProperties$1.run(GrailsProjectProperties.java:158) at org.netbeans.modules.groovy.grailsproject.ui.customizer.GrailsProjectProperties$1.run(GrailsProjectProperties.java:156) at org.openide.util.Mutex.writeAccess(Mutex.java:433)
Created attachment 79011 [details] stacktrace
Reporter, do you have more details on this? Was the registered platform marked as broken? Any other details? I can't reproduce it.
sorry, don't have further details. Just tried to change the default jdk for my project from 1.5 to 1.6. (new and clean netbeans installation) Maybe this is important: After adding the new JDKs, as far as i remember, a red text "no default jdk found" was selected in the dropdown box. There was no further option to select. After restarting the IDE, I found the expected entries in the drop down. Now i can change and edit the JDKs with out any problems.
I think this should be already fixed by fixed module dependenciees in Java area. Feel free to reopen.