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.
When I profile a maven based project I get this exception: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project whatever: The parameters 'executable' for goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec are missing or invalid Enabling debug messages in maven, I guess this is the relevant part: [DEBUG] Configuring mojo 'org.codehaus.mojo:exec-maven-plugin:1.2.1:exec' with basic configurator --> [DEBUG] (f) basedir = C:\whatever [DEBUG] (f) classpathScope = runtime [DEBUG] (f) commandlineArgs = -agentpath:"C:/Program Files/NetBeans 8.1/profiler/lib/deployed/jdk16/windows/profilerinterface.dll"="C:\Program Files\NetBeans 8.1\profiler\lib",5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\Users\user\AppData\Local\Temp\ -classpath %classpath com.whatever.WhatEver
I've deleted the nbactions.xml file, a new one has been created, and now it's working. The old file had this configuration: <exec.args>${profiler.args} -classpath %classpath com.whatever.WhatEver</exec.args> the new file has this one: <exec.args>-classpath %classpath com.whatever.WhatEver</exec.args>
Can you, please, provide steps how to reproduce it? Thanks.