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.
Summary: | NullPointerException at org.netbeans.modules.groovy.grailsproject.ui.wizards.GrailsArtifactWizardIterator.instantiate | ||
---|---|---|---|
Product: | groovy | Reporter: | bruno.flavio |
Component: | Grails | Assignee: | bruno.flavio |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bruno.flavio, giridharanmecse, jkovalsky |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 209321 |
Attachments: |
stacktrace
Proposed patch: fix the Tag Library template registration id. |
Description
bruno.flavio
2015-03-01 14:16:25 UTC
Created attachment 152304 [details]
stacktrace
Created attachment 156299 [details] Proposed patch: fix the Tag Library template registration id. The template implementation for the groovy plugin expects the taglibrary template id to be 'TagLib': http://hg.netbeans.org/main-silver/file/6b5ae20e6f7a/groovy.grailsproject/src/org/netbeans/modules/groovy/grailsproject/ui/TemplatesImpl.java#l70 However, the template was being registered as 'TagLibrary': http://hg.netbeans.org/main-silver/file/6b5ae20e6f7a/groovy.grailsproject/src/org/netbeans/modules/groovy/grailsproject/ui/wizards/GrailsTemplates.java#l116 This patch fixes the registration id and changes the displayName label to the same value to maintain coherency. Jiri: I'm adding you as CC so this can be integrated if you find that the proposed patch is OK. I think the patch is safe hence I integrated it as http://hg.netbeans.org/core-main/rev/c7b7e5dd5c18. Thanks for the contribution Bruno! Integrated into 'main-silver', will be available in build *201509250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c7b7e5dd5c18 User: Jiri Kovalsky <jkovalsky@netbeans.org> Log: Matching Groovy tag library template ID with expected implementation value. Task #250798 - NullPointerException at org.netbeans.modules.groovy.grailsproject.ui.wizards.GrailsArtifactWizardIterator.instantiate "Verified working with *201512310002* on Grails 3.0.4 and 2.5.1." |