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 133683 - Method does not exist runtime error
Summary: Method does not exist runtime error
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 15:46 UTC by shche123
Modified: 2008-09-26 12:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shche123 2008-04-22 15:46:07 UTC
I have two class, with the Main class using another.
Both are compiled.
When I execute the Main class, get runtime error "... method does not exist"

I have refactored the method name, and then the code ran.
Refactored it back, and the code ran again.

Might be hard to reproduce...
Comment 1 Jiri Vagner 2008-04-29 11:37:28 UTC
Sorry, I don't understand. Please can you attach your sample files and add detailed steps to reproduce your issue? And
also please add info about version of your nb ide, java jdk, os.
Comment 2 shche123 2008-04-29 11:46:51 UTC
Windows XP, JDK 1.6.0_05, NB 6.1 RC1
Possibly some sort of caching problem...

The code is a very standard code - main method creates an instance of a class and calls one of its methods, which it
does not recognize during runtime.

Very strange.
Comment 3 Peter Pis 2008-05-05 10:10:11 UTC
Reassigning to "java" for evaluation.
Comment 4 Jiri Prox 2008-05-05 12:59:25 UTC
How do you start the project? Please check your project settings if right main class is set.
Does the project work correctly if it's started from command line?
Comment 5 shche123 2008-05-05 17:54:16 UTC
Right mouse click, Run File...

Happened only once.
Comment 6 pribyl 2008-09-26 12:56:45 UTC
Unfortunatelly, nothing can be done with this issue without reproducible steps.

shche, please reopen if your problem still persist (and you can describe the exact situation).

Thank you