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 242519 - Profiler cannot be started.
Summary: Profiler cannot be started.
Status: RESOLVED DUPLICATE of bug 243540
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 8.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-03 17:52 UTC by tkellerer
Modified: 2015-03-16 10:38 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 tkellerer 2014-03-03 17:52:51 UTC
When trying to profile a JavaSE (Swing) application I get the following error during startup:

ant -f C:\\Projects\\sqlworkbench\\nbproject "-Drun.jvmargs.ide= -agentpath:C:/etc/NetBeans80/profiler/lib/deployed/jdk16/windows/profilerinterface.dll=C:\\etc\\NetBeans80\\profiler\\lib,5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\\Projects\\sqlworkbench\\nbproject\\nbproject\\private\\profiler " -Drun.class=workbench.WbManager -Dnb.internal.action.name=profile profile
init:
profile-init:
deps-jar:
compile:
profile:
init:
deps-jar:
compile:
run:
Error occurred during initialization of VM
Could not find agent library C:/etc/NetBeans80/profiler/lib/deployed/jdk16/windows/profilerinterface.dll in absolute path, with error: The specified file could not be found 
Java Result: 1
BUILD SUCCESSFUL (total time: 29 seconds)

Needless to say that the file mentioned in the error message *is* there. 

The profiler works with exactly the same JDK and project in NetBeans 7.4 without a problem.
Comment 1 tkellerer 2014-03-04 07:45:06 UTC
When I try this on a Windows 7 computer as local administrator the profiler works (same JDK, same NetBeans version, same project). I don't think it's the difference between Windows XP and Windows 7 but being Administrator.
Comment 2 Jiri Sedlacek 2015-03-16 10:38:14 UTC
Profiling is not supported on Windows XP any more starting from NetBeans 8.0.

*** This bug has been marked as a duplicate of bug 243540 ***