netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Vanelverdinghe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NETBEANS-245) Profiler fails to launch when using Maven 3.5.x
Date Mon, 15 Apr 2019 08:27:00 GMT

    [ https://issues.apache.org/jira/browse/NETBEANS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16817645#comment-16817645
] 

Anthony Vanelverdinghe commented on NETBEANS-245:
-------------------------------------------------

For me, placing Netbeans in a folder with no space does *not* fix this problem. This fails:

cd E:\Workspaces\NetBeans-11.0\mavenproject1; JAVA_HOME=D:\\Dev\\JDK\\jdk-12 M2_HOME=D:\\Dev\\Tools\\apache-maven-3.6.1
cmd /c "\"\"D:\\Dev\\Tools\\apache-maven-3.6.1\\bin\\mvn.cmd\" -Dexec.args=\"-agentpath:D:/Dev/IDEs/incubating-netbeans-11.0-bin/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll=D:\\Dev\\IDEs\\incubating-netbeans-11.0-bin\\netbeans\\profiler\\lib,5140,10
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=\\\"D:\\NetBeans cache\\E-Workspaces-NetBeans-11.0\\mavencachedirs\\330757114\\org-netbeans-modules-profiler\\\"
 -classpath %classpath com.mycompany.mavenproject1.NewClass\" -Dexec.executable=D:\\Dev\\JDK\\jdk-12\\bin\\java.exe
-Dexec.classpathScope=runtime -Dmaven.ext.class.path=D:\\Dev\\IDEs\\incubating-netbeans-11.0-bin\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar
process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""


> Profiler fails to launch when using Maven 3.5.x
> -----------------------------------------------
>
>                 Key: NETBEANS-245
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-245
>             Project: NetBeans
>          Issue Type: Bug
>          Components: apisupport - Maven
>         Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-159-on-20180102)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>            Reporter: Gili
>            Priority: Major
>
> This issue was originally reported as https://netbeans.org/bugzilla/show_bug.cgi?id=271059
> Essentially the Java profiler works fine for Maven projects if you use Maven 3.3.9 but
fails as soon as you use version 3.5.0 and up. This is because mvn.cmd was substantially modified
in that version.
> Running under Maven 3.5.2 I get the following error:
> {code}
> *** Profiler message (Tue Jan 02 23:15:41 EST 2018): Starting target application...
> C:\Program Files\Java\jdk-9.0.1\bin\java.exe -agentpath:C:/Program Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll
-Xbootclasspath/a:C:\Program Files\netbeans-159\profiler\lib\jfluid-server.jar;C:\Program
Files\netbeans-159\profiler\lib\jfluid-server-15.jar org.netbeans.lib.profiler.server.ProfilerServer
C:/Program Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64 5141 10 ____Profiler+Calibration+Run____
> cd C:\Users\Gili\Documents\pyramid\server; "JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_141"
"M2_HOME=C:\\Program Files\\apache-maven-3.5.2" cmd /c "\"\"C:\\Program Files\\apache-maven-3.5.2\\bin\\mvn.cmd\"
-Dexec.args=\"-agentpath:\\\"C:/Program Files/netbeans-159/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
Files\\netbeans-159\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\\Users\\Gili\\AppData\\Local\\NetBeans\\Cache\\dev\\mavencachedirs\\354137174\\org-netbeans-modules-profiler
 -ea -classpath %classpath com.holdmyspot.pyramid.server.Main\" -Dexec.executable=\"C:\\Program
Files\\Java\\jdk1.8.0_141\\bin\\java.exe\" -Dexec.workingdir=C:\\Users\\Gili\\Documents\\Pyramid\\server\\target
-Dmaven.ext.class.path=\"C:\\Program Files\\netbeans-159\\java\\maven-nblib\\netbeans-eventspy.jar\"
-Dfile.encoding=UTF-8 process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
> The syntax of the command is incorrect.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message