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 181555 - AbstractMethodError: org.netbeans.modules.autoproject.java.AnnotationProcessingQueryImpl$ResultImpl.processorOptions()Ljava/util/Map;
Summary: AbstractMethodError: org.netbeans.modules.autoproject.java.AnnotationProcessi...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Autoproject (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 187808 (view as bug list)
Depends on: 187795
Blocks: 181421
  Show dependency tree
 
Reported: 2010-03-05 02:14 UTC by Petr Jiricka
Modified: 2010-06-21 14:57 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166013


Attachments
stacktrace (1.31 KB, text/plain)
2010-03-05 02:14 UTC, Petr Jiricka
Details
IDE Log from NetBeans 6.9. (43.20 KB, application/octet-stream)
2010-06-17 17:41 UTC, clintatcomputerorg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-03-05 02:14:10 UTC
Build: NetBeans IDE Dev (Build web-main-2723-on-100305)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-9M3125
OS: Mac OS X

User Comments:
pjiricka: Editing Java code.




Stacktrace: 
java.lang.AbstractMethodError: org.netbeans.modules.autoproject.java.AnnotationProcessingQueryImpl$ResultImpl.processorOptions()Ljava/util/Map;
   at org.netbeans.modules.java.source.indexing.APTUtils.processorOptions(APTUtils.java:133)
   at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:676)
   at org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:637)
   at org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:385)
   at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:414)
   at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:147)
Comment 1 Petr Jiricka 2010-03-05 02:14:14 UTC
Created attachment 94782 [details]
stacktrace
Comment 2 Jan Lahoda 2010-03-05 05:51:46 UTC
Needs to be fixed in autoproject.
Comment 3 Jan Lahoda 2010-03-05 06:05:56 UTC
Dusan pushed an empty impl. of the new method:
http://hg.netbeans.org/main/contrib/rev/3f7d0f6c1acd
http://hg.netbeans.org/main/contrib/rev/d32f552fe255
Comment 4 Jesse Glick 2010-03-05 07:58:26 UTC
contrib #3251da2d504d has the real impl.
Comment 5 clintatcomputerorg 2010-06-17 17:41:53 UTC
Created attachment 100179 [details]
IDE Log from NetBeans 6.9.
Comment 6 clintatcomputerorg 2010-06-17 17:49:39 UTC
Comment on attachment 100179 [details]
IDE Log from NetBeans 6.9.

I'm still seeing this in 6.9 final, RC1 and RC2, only with Set instead of Map in the exception. I'm not seeing it in 6.9 beta.

java.lang.AbstractMethodError: org.netbeans.modules.autoproject.java.AnnotationProcessingQueryImpl$ResultImpl.annotationProcessingEnabled()Ljava/util/Set;
Comment 7 Jesse Glick 2010-06-17 18:52:56 UTC
clintatcomputerorg - you are using

org.netbeans.modules.autoproject.java [1.30 nbms-and-javadoc-5083-on-100415]

You need to use a later version, at least 1.31, which is updated to the revised API.
Comment 8 clintatcomputerorg 2010-06-18 19:59:57 UTC
This is working fine with the 1.32 plugin from the alpha update center, and according to Jesse it works fine with 1.31 as well. In case anyone else runs into this, pay careful attention to the version of the plugin you are getting from the update center.
Comment 9 Jesse Glick 2010-06-21 14:57:55 UTC
*** Bug 187808 has been marked as a duplicate of this bug. ***