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.
The standard NetBeans Java project type has a checkbox in its properties to enable Groovy support. However, this fails with the exception below as does the attempt to create a new Groovy file in the project. Build: NetBeans IDE Dev (Build 20080602042246) VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13 OS: Windows Vista, 6.0, x86 User comments: STACKTRACE: (first 10 lines) java.lang.UnsupportedOperationException: Project in T:\JavaApplication11 of class org.netbeans.modules.java.j2seproject.J2SEProject has a ProjectClassPathModifierImplementation but it will not handle classpath/compile for T:\JavaApplication11 at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.findExtensible(ProjectClassPathModifier.java:347) at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.addLibraries(ProjectClassPathModifier.java:87) at org.netbeans.modules.groovy.support.GroovyProjectExtender.addClasspath(GroovyProjectExtender.java:116) at org.netbeans.modules.groovy.support.GroovyProjectExtender.enableGroovy(GroovyProjectExtender.java:95) at org.netbeans.modules.groovy.support.customizer.GroovyCustomizer$StoreActionListener.actionPerformed(GroovyCustomizer.java:100) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.storePerformed(CustomizerDialog.java:284) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.access$400(CustomizerDialog.java:188) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$2$1.run(CustomizerDialog.java:246) at org.openide.util.Mutex.writeAccess(Mutex.java:433) at org.openide.util.Mutex$1R.run(Mutex.java:1305)
ClassPathModifier has to be called with source root not project root T:\JavaApplication11
This has been already fixed in trunk. Please use latest build.
v.