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.
Product Version = NetBeans IDE 8.0.2 (Build 201411181905) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02 During debugging NetBeans at once was not able to find a method and writes: run: Exception in thread "main" java.lang.NoSuchMethodError: org.edupgm.adventure.common.rup14p.OfficialApartmentManager.testGame()Z at org.edupgm.adventure.common.rup14p.OfficialApartmentManager.main(OfficialApartmentManager.java:723) Java Result: 1 BUILD SUCCESSFUL (total time: 0 seconds) When I run the same project with BlueJ, it works without problem. When I renamed the folder with source codes (removed the original and added the renamed one) it worked twice and than it again stopped working. All the time the BlueJ and Command line had no problem with running this project. Only NetBeans had.
Created attachment 150940 [details] IDE log
can you please share the project? Does it happen only during debugging or also during normal run?
It happens also during normal run. Clean and Build did not helped. Sometimes the creating the new project and copying there the source codes helped, however it soon returned into state, where NetBeans thrown the NoSuchMethodError. Clearing the option "Options -> Compiling -> Compile on Save" finally helped. After this change the above mentioned error never appeared.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss