sabob
|
Posted: October 23, 2009 02:43 by sabob
|
|
Hi all, I'm using Netbeans 6.7.1 on JDK6 and trying out the Click netbeans plugin but receive the exception listed below when trying to create a web project with Click framework. I've noticed that no Click specific libraries were added to the Netbeans library list. In other words if I navigate to "Tools -> Libraries" I don't see any registered Click libraries. Not sure if this is the problem though? kind regards bob WARNING [org.openide.WizardDescriptor] java.lang.IllegalArgumentException: library must not be null at org.netbeans.modules.java.api.common.classpath.ClassPathSupport$Item.create(ClassPathSupport.java:403) at org.netbeans.modules.java.api.common.classpath.ClassPathModifierSupport.handleLibraries(ClassPathModifierSupport.java:219) at org.netbeans.modules.java.api.common.classpath.ClassPathModifier.handleLibraries(ClassPathModifier.java:183) at org.netbeans.modules.java.api.common.classpath.ClassPathModifier.addLibraries(ClassPathModifier.java:179) at org.netbeans.spi.java.project.classpath.ProjectClassPathModifierImplementation$Accessor.addLibraries(ProjectClassPathModifierImplementation.java:422) at org.netbeans.api.java.project.classpath.ProjectClassPathModifier.addLibraries(ProjectClassPathModifier.java:92) at org.netbeans.modules.web.common.util.WebModuleUtilities.addLibrariesToWebModule(WebModuleUtilities.java:162) at org.netbeans.modules.web.click.ClickWebModuleExtender.extend(ClickWebModuleExtender.java:98) at org.netbeans.modules.web.project.ui.wizards.NewWebProjectWizardIterator.instantiate(NewWebProjectWizardIterator.java:184) at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1016) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:165) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1524) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1481) at org.openide.WizardDescriptor.access$1700(WizardDescriptor.java:127) [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2052) |
Click library is null
Replies: 8 - Last Post: October 27, 2009 05:03
by: hantsy
by: hantsy
showing 1 - 9 of 9
sabob
|
Posted: October 23, 2009 08:01 by sabob
|
|
Got it working now. The problem was that I had my own Click libraries registered in Netbeans and they were clashing with the Click plugin libraries. So I removed my libraries and voila, it worked. For future releases of the plugin maybe consider adding the specific Click version to the library? Otherwise it might be difficult to upgrade the plugin to new Click releases. Other than that the plugin works great. I notice its even possible to specify shortcuts for "Go to Page Class" and "Go to Page Template". ![]() Well done. |
showing 1 - 9 of 9
Replies: 8 - Last Post: October 27, 2009 05:03
by: hantsy
by: hantsy








