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 - NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryIndexer.getAvailableTypes()[Ljava/lang/String;
Summary: NoSuchMethodError: org.netbeans.modules.maven.indexer.api.RepositoryIndexer.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: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 08:44 UTC by fortruth
Modified: 2012-03-26 23:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186035


Attachments
stacktrace (3.13 KB, text/plain)
2012-03-20 08:44 UTC, fortruth
Details

Note You need to log in before you can comment on or make changes to this bug.
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.