Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 211062 - ineffective checkbox for always using a selected platform for profiling
ineffective checkbox for always using a selected platform for profiling
Status: RESOLVED FIXED
Product: profiler
Classification: Unclassified
Component: Base
7.1.2
Macintosh Mac OS X
: P4 (vote)
: 7.2
Assigned To: J Bachorik
issues@profiler
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-12 06:57 UTC by bdwalker
Modified: 2012-04-18 11:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bdwalker 2012-04-12 06:57:41 UTC
[ JDK VERSION : 1.7.3 ]


--

Product Version: NetBeans IDE 7.1.2 (Build 201204101705)
Java: 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b20
System: Mac OS X version 10.7.3 running on amd64; US-ASCII; en_US (nb)

--

When profiling a Glassfish JavaEE application I'm presented with a "Select Java
Platform for Profiling" dialog which has a checkbox labeled "Always use the
selected platform for profiling". Regardless of whether the checkbox is checked
or not, the IDE continues to ask me to select the java platform for profiling.

Steps to Reproduce:

1. Install Java EE bundle of 7.1.2 RC
2. Install Oracle Mac JDK 1.7.0_04
3. Set JDK 1.7.0_04 as the top installation in Java Preferences App.
4. New Project > Samples > Java Web > Servlet Stateless (Java EE 6)
5. Accept all defaults
6. Invoke context menu on ServletStateless project and choose Profile. 
7. Your presented with the "Select Java Platform for Profiling" 
8. Check "Always use the selected platform for profiling" and confirm with the
OK button.
9. Continue with a basic Monitor Application profile.
10. Stop profiling session.
11. Repeat step 6.
12. Your still asked to select the platform for profiling even though you
checked the always use box last time.
Comment 1 J Bachorik 2012-04-18 11:06:48 UTC
Should be fixed in http://hg.netbeans.org/profiler-main/rev/62cee47d654f

Profiler reuses the project defined platform and does not try to override it in any way.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo