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.
Building our plugin went haywire with the upgrade to NetBeans 8, we added menuText to every annotation but since the error doesn't specify where we have a bug its impossible to properly fix it. So effectively what we need is a proper error message. See the log of the build below: ant -f /Users/shai/dev/CodenameOne/NBPlugin/CodenameOnePlugin -Dcontinue.after.failing.tests=true netbeans taskdefs: common-init: Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/cnd' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/dlight' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/ergonomics' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/groovy' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/javacard' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/php' found. projectized-common.basic-init: basic-init: files-init: nbm-license-init: build-init: Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/apisupport Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/enterprise Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/harness Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/ide Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/java Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/mobility Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/nb Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/platform Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/profiler Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/websvccommon Scanning for modules in suite /Users/shai/dev/CodenameOne/NBPlugin/CodenameOneSuite Warning: com.codename1 lacks a unit test dependency on org.netbeans.libs.junit4; using default dependencies for compatibility init: up-to-date: compile: Compiling 42 source files to /Users/shai/dev/CodenameOne/NBPlugin/CodenameOnePlugin/build/classes warning: [options] bootstrap class path not set in conjunction with -source 1.6 An annotation processor threw an uncaught exception. Consult the following stack trace for details. java.lang.annotation.IncompleteAnnotationException: org.openide.awt.ActionRegistration missing element menuText at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:72) at com.sun.proxy.$Proxy146.menuText(Unknown Source) at org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:202) at org.openide.filesystems.annotations.LayerGeneratingProcessor.process(LayerGeneratingProcessor.java:121) at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793) at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824) at com.sun.tools.javac.main.Main.compile(Main.java:439) at com.sun.tools.javac.main.Main.compile(Main.java:353) at com.sun.tools.javac.main.Main.compile(Main.java:342) at com.sun.tools.javac.main.Main.compile(Main.java:333) at com.sun.tools.javac.Main.compile(Main.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:56) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1159) at org.netbeans.nbbuild.CustomJavac.compile(CustomJavac.java:124) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:935) at org.netbeans.nbbuild.CustomJavac.execute(CustomJavac.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor1482.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/harness/common.xml:220: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 4 seconds)
After additional project changes I now get this, you guys seriously need to work on error messages. Even verbose mode doesn't work: ant -f /Users/shai/dev/CodenameOne/NBPlugin/CodenameOnePlugin -Dcontinue.after.failing.tests=true netbeans taskdefs: common-init: Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/cnd' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/dlight' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/ergonomics' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/groovy' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/javacard' found. Warning: no numbered cluster matching bare name '/Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/php' found. projectized-common.basic-init: basic-init: files-init: nbm-license-init: build-init: Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/apisupport Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/enterprise Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/harness Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/ide Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/java Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/mobility Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/nb Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/platform Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/profiler Scanning for modules in /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/websvccommon Scanning for modules in suite /Users/shai/dev/CodenameOne/NBPlugin/CodenameOneSuite Warning: com.codename1 lacks a unit test dependency on org.netbeans.libs.junit4; using default dependencies for compatibility init: up-to-date: compile: Compiling 73 source files to /Users/shai/dev/CodenameOne/NBPlugin/CodenameOnePlugin/build/classes warning: [options] bootstrap class path not set in conjunction with -source 1.6 An annotation processor threw an uncaught exception. Consult the following stack trace for details. java.lang.NullPointerException at org.netbeans.modules.options.OptionsPanelControllerProcessor.handleProcess(OptionsPanelControllerProcessor.java:119) at org.openide.filesystems.annotations.LayerGeneratingProcessor.process(LayerGeneratingProcessor.java:121) at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793) at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824) at com.sun.tools.javac.main.Main.compile(Main.java:439) at com.sun.tools.javac.main.Main.compile(Main.java:353) at com.sun.tools.javac.main.Main.compile(Main.java:342) at com.sun.tools.javac.main.Main.compile(Main.java:333) at com.sun.tools.javac.Main.compile(Main.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:56) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1159) at org.netbeans.nbbuild.CustomJavac.compile(CustomJavac.java:124) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:935) at org.netbeans.nbbuild.CustomJavac.execute(CustomJavac.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor570.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) /Applications/NetBeans/NetBeans 8.0.1.app/Contents/Resources/NetBeans/harness/common.xml:220: Compile failed; see the compiler error output for details. BUILD FAILED (total time: 0 seconds)