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 81767 - Confusing warning dialog displayed
Summary: Confusing warning dialog displayed
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 01:55 UTC by Jesse Glick
Modified: 2012-04-18 11:04 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 Jesse Glick 2006-08-03 01:55:24 UTC
In a NB dev build running the 6.0 profiler on JDK 6, I open a dev NB module
which is set to use JDK 5. I right-click the module and select Profile Project,
and get a warning dialog:

"The specification version of project Java Platform is greater than
specification version of platform that will be used for profiling. [there may be
problems etc.]"

(note: English is poor here, get someone to review)

Now what does this mean? What are the specification versions in question? The
project currently uses source level 1.4 but is requested to run in a 1.5 VM (in
my nbbuild/user.build.properties); nothing unusual there. What, exactly, is the
platform that will be used for profiling? Tools > Options > Profiler > Profiler
Platform also says 1.5. I guess I could set that to be platform used in project,
but I don't know if the profiler understands Java platform settings for NB modules.

In fact if I just accept the dialog, everything seems fine. So what was it
warning me about?
Comment 1 Jesse Glick 2006-08-03 02:13:25 UTC
Note: "everything seems fine" was maybe optimistic; in fact in the middle of the
action I was trying to profile, my target IDE hung (no CPU) and had to be
killed. But this is maybe something unrelated.
Comment 2 Jiri Sedlacek 2006-08-09 13:10:47 UTC
Currently there is only limited and not very "friendly" support for profiling 
NetBeans modules using the Profiler. We know about this problem and will 
improve this area in future. We will appreciate any other feedback on this 
topic.
Comment 3 Tomas Hurka 2007-11-07 10:36:50 UTC
Changing target milestone to dev, since NetBeans 6.0 is in high resistance mode.
Comment 4 J Bachorik 2012-04-18 11:04:05 UTC
Should be fixed now (http://hg.netbeans.org/profiler-main/rev/62cee47d654f)
Profiler reuses the platform defined for a project and does not try to overload it for profiling.