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 213943 - [72cat] Profiling of tests does not work at all
Summary: [72cat] Profiling of tests does not work at all
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 08:35 UTC by crazyjavahacking
Modified: 2012-06-13 06:09 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 crazyjavahacking 2012-06-11 08:35:04 UTC
Profiling of tests does not work and the following content is printed to the console:

profile-test:
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 12)
Profiler Agent: Established connection with the tool
Profiler Agent: Local accelerated session
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)
ERROR: transport library not found: ${debug-transport}
ERROR: JDWP Transport ${debug-transport} failed to initialize, TRANSPORT_LOAD(509)
JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized [../../../src/share/back/debugInit.c:690]


NetBeans Dev 201206100001, java 6u32 32bit
Comment 1 Petr Cyhelsky 2012-06-11 08:54:27 UTC
this happens when invoking profile test file on the file which the test file tests whilst having compile on save turned on, otherwise profiling test files works for me.
Comment 2 J Bachorik 2012-06-11 09:00:56 UTC
fixed - http://hg.netbeans.org/profiler-main/rev/6e93b10d2566

Thanks for intercepting this!
Comment 3 crazyjavahacking 2012-06-11 09:07:54 UTC
No problem, if this will be integrated soon, I will add appropriate parts to the Unit Testing TS to handle profiling tests and test suites.
Comment 4 Tomas Hurka 2012-06-11 09:20:29 UTC
Please do not change priority and target milestone.
Comment 5 Quality Engineering 2012-06-13 06:09:32 UTC
Integrated into 'main-golden', will be available in build *201206130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6e93b10d2566
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #213943: fixing profiling unit tests for CoS