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

Summary: NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryQueries.getGroups(Ljava/util/List;)Ljava/util/Set;
Product: projects Reporter: alied <alied>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: alesak, fortruth
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 185969
Attachments: stacktrace
stacktrace

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.