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 213931 - Profiling a NetBeans Platform application in Felix does nothing
Summary: Profiling a NetBeans Platform application in Felix does nothing
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.2
Hardware: PC All
: P3 normal (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks: 213580
  Show dependency tree
 
Reported: 2012-06-11 07:11 UTC by mienamoo
Modified: 2012-07-06 09:38 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 mienamoo 2012-06-11 07:11:43 UTC
NetBeans build 201206100001
JDK 7u3 32-bit

After [1] was fixed, the build now completes when profiling a NetBeans Platform application in Felix (project context menu > OSGi > Profile in Felix). However, neither the profiler nor the application actually starts up.

[1] http://netbeans.org/bugzilla/show_bug.cgi?id=213580
Comment 1 J Bachorik 2012-06-12 07:37:44 UTC
fixed in http://hg.netbeans.org/profiler-main/rev/5e7cc0cac774
Comment 2 Quality Engineering 2012-06-13 06:09:39 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/5e7cc0cac774
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #213931:  Running a suite in Felix requires different format of java args than running it natively (eg. "-Xmx100m" vs. "-J-Xmx100m")
Comment 3 mienamoo 2012-06-14 09:11:56 UTC
NetBeans build 201206140001

The "Connecting to the target VM..." dialog now appears, and the Profiler window is opened in the explorer mode. However, the application does not actually run (the connecting never completes) and the following is displayed in the output window:

Created dir: C:\Projects\Tests\verification\suite1\build\osgi-cache
Error occurred during initialization of VM
Could not find agent library C:/Program in absolute path, with error: Can't find dependent libraries
Java Result: 1

The C:/Program should probably have referred to C:/Program Files (x86), where NetBeans is installed. And hence this is at a guess Windows specific.
Comment 4 J Bachorik 2012-06-15 10:34:32 UTC
I've filed a separate issue for the space in path problem which is windows specific (while this issue is not OS specific)
Comment 5 mienamoo 2012-06-15 13:39:46 UTC
(In reply to comment #4)
> I've filed a separate issue for the space in path problem which is windows
> specific (while this issue is not OS specific)

http://netbeans.org/bugzilla/show_bug.cgi?id=214267
Comment 6 mienamoo 2012-07-06 09:38:40 UTC
Verified with NetBeans 7.2 build 201206291011.