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 209751 - NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryQueries.getGroups(Ljava/util/List;)Ljava/util/Set;
Summary: NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryQueries.g...
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-19 16:17 UTC by alied
Modified: 2012-03-20 08:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185969


Attachments
stacktrace (456 bytes, text/plain)
2012-03-19 16:17 UTC, alied
Details
stacktrace (456 bytes, text/plain)
2012-03-20 08:41 UTC, fortruth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2012-03-19 16:17:54 UTC
Build: NetBeans IDE Dev (Build 201203150400)
VM: Java HotSpot(TM) Server VM, 23.0-b14, Java(TM) SE Runtime Environment, 1.8.0-ea-b25
OS: Windows XP

User Comments:
alesak: opened maven Central Repository

alied: expanding a maven repository from the Services tab




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryQueries.getGroups(Ljava/util/List;)Ljava/util/Set;
   at org.netbeans.modules.maven.repository.GroupListChildren.createKeys(GroupListChildren.java:78)
   at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:206)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
Comment 1 alied 2012-03-19 16:17:57 UTC
Created attachment 116877 [details]
stacktrace
Comment 2 Milos Kleint 2012-03-20 06:41:38 UTC
this problem is caused by my introduction of API changes. modules that use the new api had only the dependency on maven.indexer increased byt I forgot to increase the specification version of the modules depending on it as well. That way updates coming from the update center expose the error with this error (and others)

Please install a brand new snapshot installation or wait for the increased spec version modules to arrive to the update center.
http://hg.netbeans.org/core-main/rev/cbd2a522aff1
Comment 3 fortruth 2012-03-20 08:41:19 UTC
Created attachment 116900 [details]
stacktrace

when click the Service/Maven Repositories/Local or Central.

It happens.