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 203229 - Profile action doesn't work, can't find main class
Summary: Profile action doesn't work, can't find main class
Status: RESOLVED DUPLICATE of bug 203233
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 12:41 UTC by Petr Cyhelsky
Modified: 2011-10-10 12:23 UTC (History)
0 users

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 Petr Cyhelsky 2011-10-06 12:41:07 UTC
Product Version: NetBeans IDE Dev (Build 20111006-8a7bee1acf3e)
Java: 1.6.0_22; OpenJDK 64-Bit Server VM 20.0-b11
System: Linux version 2.6.38-11-generic running on amd64; UTF-8; en_US (nb)

steps:
Start netbeans with clean userdir, don't install junit -> open previously(in another instance of the IDE) created anagram game -> wait till the opening / scanning is finished -> do not resolve the reference problem -> invoke profile from popup menu on project node -> profiler can't find the main class
Comment 1 J Bachorik 2011-10-06 14:39:11 UTC
The false warning about a main class not being available was removed. Now the sypmptoms are the same as described in #203233. While the scanning is reported as being in progress the "profile" action will display the "Scanning in progress" dialog - the same as would "run" or "debug" action do.

http://hg.netbeans.org/profiler-main/rev/fd88a183a882
Comment 2 J Bachorik 2011-10-06 14:40:43 UTC
Actually, by implementing the previous change this issue has become a duplicate of #203233.

*** This bug has been marked as a duplicate of bug 203233 ***
Comment 3 Quality Engineering 2011-10-10 12:23:02 UTC
Integrated into 'main-golden', will be available in build *201110100600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fd88a183a882
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: Invoking profile action while scanning is in progress should show the "Scanning in progress" dialog. This prevents false warnings about non existent main class (as in #203229)