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 249174 - IDE at once cannot find a method
Summary: IDE at once cannot find a method
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-07 04:32 UTC by rudyment
Modified: 2016-07-07 07:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (160.95 KB, text/plain)
2014-12-07 04:32 UTC, rudyment
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rudyment 2014-12-07 04:32:25 UTC
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.
Comment 1 rudyment 2014-12-07 04:32:30 UTC
Created attachment 150940 [details]
IDE log
Comment 2 Jiri Prox 2015-01-09 10:20:12 UTC
can you please share the project?

Does it happen only during debugging or also during normal run?
Comment 3 rudyment 2015-01-09 15:44:25 UTC
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.
Comment 4 Martin Balin 2016-07-07 07:17:06 UTC
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