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.

Bug 191740 - IllegalArgumentException: No such annotation could be found: org.netbeans.spi.options.OptionsPanelController.ContainerRegistration
Summary: IllegalArgumentException: No such annotation could be found: org.netbeans.spi...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 19:35 UTC by jbentonor
Modified: 2010-11-11 06:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 173746


Attachments
stacktrace (2.88 KB, text/plain)
2010-11-08 19:35 UTC, jbentonor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jbentonor 2010-11-08 19:35:09 UTC
Build: NetBeans IDE 7.0 M2 (Build 201010151251)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows 7

User Comments:
jbentonor: I was creating a new primary options panel.  I have a maven netbeans module and did not add the options dependency yet.




Stacktrace: 
java.lang.IllegalArgumentException: No such annotation could be found: org.netbeans.spi.options.OptionsPanelController.ContainerRegistration
   at org.netbeans.modules.apisupport.project.CreatedModifiedFiles$PackageInfo$1$1.run(CreatedModifiedFiles.java:1175)
   at org.netbeans.modules.apisupport.project.CreatedModifiedFiles$PackageInfo$1$1.run(CreatedModifiedFiles.java:1166)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:671)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138)
   at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:199)
Comment 1 jbentonor 2010-11-08 19:35:13 UTC
Created attachment 102850 [details]
stacktrace
Comment 2 Jesse Glick 2010-11-09 20:52:36 UTC
The wizard will add the dependency for you - *but* you must already have at least one module dependency with a RELEASEnn version, so it knows what NB Platform version you are using. That is why the module archetype comes with a dep on org.netbeans.api:org-netbeans-api-annotations-common.

Can improve this behavior to just add a dep on the most recent known NB release if there is nothing else to go on.
Comment 3 Jesse Glick 2010-11-09 21:05:59 UTC
core-main #33012b023889
Comment 4 Quality Engineering 2010-11-11 06:08:32 UTC
Integrated into 'main-golden', will be available in build *201011110000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/33012b023889
User: Jesse Glick <jglick@netbeans.org>
Log: #191740: IllegalArgumentException: No such annotation could be found: org.netbeans.spi.options.OptionsPanelController.ContainerRegistration