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 209770

Summary: NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryIndexer.getAvailableTypes()[Ljava/lang/String;
Product: projects Reporter: fortruth <fortruth>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED    
Severity: normal CC: jglick
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 186035
Attachments: stacktrace

Description fortruth 2012-03-20 08:44:52 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-8781-on-20120310)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
fortruth: when right click  Serveice/Maven Repositories -- Add Repository. 

It happens.




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryIndexer.getAvailableTypes()[Ljava/lang/String;
   at org.netbeans.modules.maven.repository.register.RepositoryRegisterUI.<init>(RepositoryRegisterUI.java:69)
   at org.netbeans.modules.maven.repository.M2RepositoryBrowser$AddAction.actionPerformed(M2RepositoryBrowser.java:105)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
Comment 1 fortruth 2012-03-20 08:44:57 UTC
Created attachment 116901 [details]
stacktrace
Comment 2 Milos Kleint 2012-03-20 14:56:24 UTC
should be fixed in latest core-main, the spec versions of modules depending on maven.idexer were not raised after incompatible api change. Might take some time before reaching golden repository and the dev update center
Comment 3 Jesse Glick 2012-03-26 23:03:43 UTC
cbd2a522aff1 specifically.