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 246556 - Trying to profile a java application yields error: "Could not find agent library in absolute path"
Summary: Trying to profile a java application yields error: "Could not find agent libr...
Status: RESOLVED DUPLICATE of bug 243540
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
: 247212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-19 15:58 UTC by Schamschi
Modified: 2014-09-18 07: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 Schamschi 2014-08-19 15:58:49 UTC
When I try to profile a java application, I get the following output:

profile:
Error occurred during initialization of VM
Could not find agent library C:/Program Files/NetBeans 8.0/profiler/lib/deployed/jdk16/windows/profilerinterface.dll in absolute path, with error: The specified procedure could not be found
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

The directory and the file exist exactly as specified in the path. I have no idea what's causing the bug, but I know it doesn't have anything to with spaces in the path, since I tried re-installing in a different directory where the path doesn't contain spaces, and it still didn't work, so it can't be a duplicate of bug 72941 (and it would be very strange if it were, since that bug is from 2006 and apparently already fixed). I noticed that the directory says "jdk16" although the default platform is jdk 1.7, maybe that has something to do with it?
Comment 1 Tomas Hurka 2014-08-19 16:06:58 UTC
Are you using Windows XP? If so, this bug is duplicate of issue #243540.
Comment 2 Schamschi 2014-08-19 16:12:48 UTC
Thanks, yes, indeed, I am using Windows XP (I thought this was somehow submitted too since the form displayed an auto-detection of the operating system). Looks like you're right because, if I remembered correctly, it used to work before I updated to Netbeans 8.0.
Comment 3 Tomas Hurka 2014-08-19 16:22:29 UTC
Windows XP is long dead and unsupported, sorry. If you need to use Profiler on Windows XP, use NetBeans 7.4.

*** This bug has been marked as a duplicate of bug 243540 ***
Comment 4 Tomas Hurka 2014-09-18 07:38:21 UTC
*** Bug 247212 has been marked as a duplicate of this bug. ***