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 247212 - Error for Profiler on java Maven project, Windows XP 32
Summary: Error for Profiler on java Maven project, Windows XP 32
Status: RESOLVED DUPLICATE of bug 246556
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-17 12:18 UTC by alext
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 alext 2014-09-17 12:18:52 UTC
I tested this on Netbeans 8.0 and 8.0.1 , Windows XP 32.

It's the same bug as the old bug #161670 :
https://netbeans.org/bugzilla/show_bug.cgi?id=161670

Steps:
Create new project, Maven , Java Application, using the wizard.
Create Java main class using the wizard. Any main class will do.
Use "Profile Project" action.

Sample from the output:
Collected project artifacts []
Collected project classpath [C:\programming\projects\BugTest\target\classes]
Toolchains are ignored, 'executable' parameter is set to C:\Program Files\Java\jdk1.7.0_45\bin\java.exe
Executing command line: C:\Program Files\Java\jdk1.7.0_45\bin\java.exe -agentpath:C:/Program Files/NetBeans 8.0/profiler/lib/deployed/jdk16/windows/profilerinterface.dll=C:\Program Files\NetBeans 8.0\profiler\lib,5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\Documents and Settings\Alex\Local Settings\Application Data\NetBeans\Cache\8.0\mavencachedirs\631111071\org-netbeans-modules-profiler -classpath C:\programming\projects\BugTest\target\classes info.fmro.bugtest.TestMainClass
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
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 1.047s
Finished at: Wed Sep 17 12:15:06 UTC 2014
Final Memory: 4M/15M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project BugTest: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project BugTest: Command execution failed.
Comment 1 alext 2014-09-17 12:21:30 UTC
The testing on Netbeans 8.0 was done shortly before 8.0.1 came out. Right now my Netbeans is updated as 8.0.1.

Attaching the profiler to an already running project doesn't work either.
Comment 2 alext 2014-09-17 12:23:36 UTC
I should add that profilerinterface.dll is in the correct location.
This might be the same "spaces present in the path name" error as in the old bug #161670 .
Comment 3 Tomas Hurka 2014-09-17 13:14:49 UTC
I don't think that this is caused by bug #161670. Windows XP is unsupported by NetBeans 8.0 and NetBeans 8.0.1. You are probably facing issue #246556.
Comment 4 Tomas Hurka 2014-09-18 07:38:20 UTC

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