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: | [81cat]java.io.IOException: No annotation org.netbeans.api.templates.TemplateRegistration in ClasspathInfo [boot: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/resources.jar: | ||
---|---|---|---|
Product: | apisupport | Reporter: | manikantannaren <manikantannaren> |
Component: | Templates | Assignee: | Martin Kozeny <mkozeny> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | anebuzelsky, girish946, jkovalsky, manikantannaren |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 213736 |
Attachments: |
stacktrace
stacktrace |
Description
manikantannaren
2015-07-22 05:19:56 UTC
Created attachment 154783 [details]
stacktrace
Due to the exception, the template file and package-info is not generated Created attachment 155676 [details]
stacktrace
1. Created a new Netbeans Module Project
2. Brought up the wizard for New FileType
3. Provided the information (mime-type, extension, prefix and icon)
4. Clicked Finish
5. Failed at generating package-info.java
this fix should help. Jirko (jkovalsky), Tondo, this is a problem i think. When the IDE services were split into UI/non-UI modules during server-split, it broke a lot of apisupport's wizards (for Wizards, Loaders, Options etc.). It's not dramatic, usually it's just missing dependencies but practically it does not look good if NB developers go through our wizards and they generate uncompilable code. Could someone from QE (or from NetCAT) go through all our wizards and try to generate all of the supported ones we have (always into a fresh new module containing no deps so far)? If you find a problem please file a separate issue to apisupport. fix: http://hg.netbeans.org/core-main/rev/69a8e3b38129 Thanks Ondro for both the investigation and the fix. Mani, are you willing to do that test or should I turn to the broader NetCAT audience? The FileType Wizard I can handle, the other wizard, I hope NetCat members can take over? OK, I will ask for volunteers in the next NetCAT status report. BTW, Action wizard seems to be clear Ondro. Integrated into 'main-silver', will be available in build *201508300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/69a8e3b38129 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #253634 - [81cat]java.io.IOException: No annotation org.netbeans.api.templates.TemplateRegistration in ClasspathInfo [boot: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/resources.jar: Add missing dependency. Verified on Build 201508300002. All files properly generated. Output as expected. Sorry my mistake. I tested only the one I reported - FileType wizard and it's output. |