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.
Setup: Netbeans 201509020320 jdk 8.60 windows 10x64 Procedure to follow for the 16 file type generation under module developpement according to Ondřej Vrabec: Create a module without submodule: inside module use one of the wizard in Module Development. I try to separate the result see after wizard resulting file are not compilable for --Windows --Option Panel --Project Template --Java Hint wizard resulting file are compilable but some warning are displayed annotation processor missing, and boostrap class not set --Action --Portable HTML UI --Wizard --File Type --Installer / Activator --Quick Search Provider --JavaHelp Help Set --Code Generator wizard resulting file are compilable --Update Center --Java SE Library Descriptor --XML Layer --Layout of Windows * ugly npe shown during wizard progress ++++ Cannot Compile ++++ --Windows warning: [options] bootstrap class path not set in conjunction with -source 1.6 error: cannot access HelpCtx cannot find Bundle.CTL... error: method does not override or implement a method from a supertype (componentOpened,componentClosed) --Option Panel warning: [options] bootstrap class path not set in conjunction with -source 1.6 warning: No processor claimed any of these annotations: javax.annotation.Generated error: cannot find symbol HelpCtx import org.openide.util.HelpCtx; --Project Template error: cannot find symbol import org.openide.util.HelpCtx; warning: No processor claimed any of these annotations: TemplateRegistration warning: No processor claimed any of these annotations: javax.annotation.Generated error: package org.netbeans.api.templates does not exist error: cannot find symbol @TemplateRegistration --Java Hint warning: [options] bootstrap class path not set in conjunction with -source 1.6 warning: No processor claimed any of these annotations: org.netbeans.spi.java.hints.TriggerPattern,org.netbeans.spi.java.hints.Hint warning: No processor claimed any of these annotations: javax.annotation.Generated cannot find symbol import org.netbeans.api.java.source.CompilationInfo; ++++ Build with Warning ++++ --Action warning: [options] bootstrap class path not set in conjunction with -source 1.6 warning: No processor claimed any of these annotations: javax.annotation.Generated --Portable HTML UI warning: [options] bootstrap class path not set in conjunction with -source 1.6 warning: No SupportedSourceVersion annotation found on org.netbeans.html.boot.impl.JavaScriptProcesor, returning RELEASE_6. warning: No processor claimed any of these annotations: javax.annotation.Generated --Wizard warning: [options] bootstrap class path not set in conjunction with -source 1.6 warning: No processor claimed any of these annotations: javax.annotation.Generated --File Type warning: [options] bootstrap class path not set in conjunction with -source 1.6 warning: No processor claimed any of these annotations: javax.annotation.Generated --Installer / Activator warning: [options] bootstrap class path not set in conjunction with -source 1.6 --Installer / Activator warning: [options] bootstrap class path not set in conjunction with -source 1.6 --Quick Search Provider warning: [options] bootstrap class path not set in conjunction with -source 1.6 --JavaHelp Help Set warning: [options] bootstrap class path not set in conjunction with -source 1.6 --Code Generator warning: [options] bootstrap class path not set in conjunction with -source 1.6 ++++ Build is Clear ++++ --Update Center --Java SE Library Descriptor --XML Layer --Layout of Windows This is special because build is clear but NPE with no dialog is shown: just after layouting and closing the "fake netbeans windows manager" you may see a NPE at phase 3.Design Window Layout. NPE at org.netbeans.modules.git.ui.status.GitVersioningTopComponent.writeExternal(GitVersioningTopComponent.java:136)
Fixing the uncompilable code. Later i will take a look at the warnings, but at the moment they are harmless i think. Fix: http://hg.netbeans.org/core-main/rev/2666c7e4b839
The problem with the NPE in Git component: should be fixed in core-main #b92207fec015
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2666c7e4b839 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #254949 - Umbrella issue for wizard file generation in netbeans module Add missing dependencies
Wizard work ok for ant netbeans module project. Only the warning makes output ugly. There are also wizards for netbeans modules dev in maven way. I can test them if needed.
(In reply to skygo from comment #4) > There are also wizards for netbeans modules dev in maven way. I can test > them if needed. Would be great thanks. Please this time file a separate issue you find at apisupport/maven in BZ.
Regarding the warnings: > warning: [options] bootstrap class path not set in conjunction with -source 1.6 because you're building with a different JDK than the source level for the module. Try setting both to JDK 1.7, should work. > warning: No processor claimed any of these annotations: javax.annotation.Generated harmless, just a note by javac, the same happens also for our NB modules.
Reopening because Java Hint Wizard unit test are failing with the following error: No ActiveDocumentProvider instance in global lookup. java.lang.IllegalStateException: No ActiveDocumentProvider instance in global lookup. at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.<init>(RepositoryUpdater.java:1315) I'm sorry not seeing that before, it's a build failure on wizard with maven (running test by default) that force me to check test on ant module. I check again all wizard type but Java Hint is the only one to activate Test button.
added missing test deps, should run test without errors now i hope... Fix: http://hg.netbeans.org/core-main/rev/6e18e122d1fb
Integrated into 'main-silver', will be available in build *201509100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6e18e122d1fb User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #254949 - Umbrella issue for wizard file generation in netbeans module Add missing test dependencies.