[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2021-07-21 Thread Moacir da Roza Flores (Jira)


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

Moacir da Roza Flores edited comment on NETBEANS-2443 at 7/21/21, 6:35 AM:
---

Same problem windows 10
 The only way that i found to run profiler is manually attach the project, in 
my example *profileTest* is the name of my project.
 1-

!image-2021-07-21-02-57-38-437.png!

2-
 !image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
 !image-2021-07-21-03-01-40-283.png|width=746,height=309!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png|width=361,height=131!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!

I'm investigating the source code, till now no success, below the modules that 
i believe that are related with the bug:

*Module*: Maven Projects
 *Path:* netbeans\java\maven
 *Class*: MavenCommandLineExecutor

 And

*Module*: Java Profiler (Common)
 *Path:* netbeans\profiler\lib.profiler.common
 *Classes*: IntegrationUtils, SessionSettings

On Linux, everything works fine. 


was (Author: moaci...@gmail.com):
Same problem windows 10
 The only way that i found to run profiler is manually attach the project, in 
my example *profileTest* is the name of my project.
 1-

!image-2021-07-21-02-57-38-437.png!

2-
 !image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
 !image-2021-07-21-03-01-40-283.png|width=847,height=351!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!

 

I'm investigating the source code, till now no success, below the modules that 
i believe that are related with the bug:

*Module*: Maven Projects
 *Path:* netbeans\java\maven
 *Class*: MavenCommandLineExecutor

 And

*Module*: Java Profiler (Common)
 *Path:* netbeans\profiler\lib.profiler.common
 *Classes*: IntegrationUtils, SessionSettings

 

 

On Linux, everything works fine. 

 

 

 

 

 

 

 

 

 

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Assignee: Moacir da Roza Flores
>Priority: Blocker
> Attachments: image-2020-07-06-19-01-34-316.png, 
> image-2021-07-21-02-56-43-096.png, image-2021-07-21-02-57-38-437.png, 
> image-2021-07-21-02-58-15-148.png, image-2021-07-21-02-59-19-737.png, 
> image-2021-07-21-02-59-42-180.png, image-2021-07-21-03-01-40-283.png, 
> image-2021-07-21-03-02-51-206.png, image-2021-07-21-03-03-15-783.png, 
> image-2021-07-21-03-04-15-005.png, image-2021-07-21-03-05-35-690.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" 

[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2021-07-21 Thread Moacir da Roza Flores (Jira)


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

Moacir da Roza Flores edited comment on NETBEANS-2443 at 7/21/21, 6:31 AM:
---

Same problem windows 10
 The only way that i found to run profiler is manually attach the project, in 
my example *profileTest* is the name of my project.
 1-

!image-2021-07-21-02-57-38-437.png!

2-
 !image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
 !image-2021-07-21-03-01-40-283.png|width=847,height=351!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!

 

I'm investigating the source code, till now no success, below the modules that 
i believe that are related with the bug:

*Module*: Maven Projects
 *Path:* netbeans\java\maven
 *Class*: MavenCommandLineExecutor

 And

*Module*: Java Profiler (Common)
 *Path:* netbeans\profiler\lib.profiler.common
 *Classes*: IntegrationUtils, SessionSettings

 

 

On Linux, everything works fine. 

 

 

 

 

 

 

 

 

 


was (Author: moaci...@gmail.com):
Same problem windows 10
 The only way that i found to run profiler is manually attach the project, in 
my example *profileTest* is the name of my project.
 1-

!image-2021-07-21-02-57-38-437.png!

2-
 !image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
 !image-2021-07-21-03-01-40-283.png|width=847,height=351!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!

 

I'm investigating the source code, till now no success, above the modules that 
i believe that are related with the bug:

*Module*: Maven Projects
 *Path:* netbeans\java\maven
 *Class*: MavenCommandLineExecutor

 And

*Module*: Java Profiler (Common)
 *Path:* netbeans\profiler\lib.profiler.common
 *Classes*: IntegrationUtils, SessionSettings

 

 

On Linux, everything works fine. 

 

 

 

 

 

 

 

 

 

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Assignee: Moacir da Roza Flores
>Priority: Blocker
> Attachments: image-2020-07-06-19-01-34-316.png, 
> image-2021-07-21-02-56-43-096.png, image-2021-07-21-02-57-38-437.png, 
> image-2021-07-21-02-58-15-148.png, image-2021-07-21-02-59-19-737.png, 
> image-2021-07-21-02-59-42-180.png, image-2021-07-21-03-01-40-283.png, 
> image-2021-07-21-03-02-51-206.png, image-2021-07-21-03-03-15-783.png, 
> image-2021-07-21-03-04-15-005.png, image-2021-07-21-03-05-35-690.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 

[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2021-07-21 Thread Moacir da Roza Flores (Jira)


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

Moacir da Roza Flores edited comment on NETBEANS-2443 at 7/21/21, 6:26 AM:
---

Same problem windows 10
 The only way that i found to run profiler is manually attach the project, in 
my example *profileTest* is the name of my project.
 1-

!image-2021-07-21-02-57-38-437.png!

2-
 !image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
 !image-2021-07-21-03-01-40-283.png|width=847,height=351!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!

 

I'm investigating the source code, till now no success, above the modules that 
i believe that are related with the bug:

*Module*: Maven Projects
 *Path:* netbeans\java\maven
 *Class*: MavenCommandLineExecutor

 And

*Module*: Java Profiler (Common)
 *Path:* netbeans\profiler\lib.profiler.common
 *Classes*: IntegrationUtils, SessionSettings

 

 

On Linux, everything works fine. 

 

 

 

 

 

 

 

 

 


was (Author: moaci...@gmail.com):
Same problem windows 10
 Actually the only way to run profiler is manually attach the project, in my 
example *profileTest* is the name of my project.
 1-

!image-2021-07-21-02-57-38-437.png!

2-
 !image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
 !image-2021-07-21-03-01-40-283.png|width=847,height=351!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!

 

I'm investigating the source code, till now no success, above the modules that 
i believe that are related with the bug: 

*Module*: Maven Projects
*Path:* netbeans\java\maven
*Class*: MavenCommandLineExecutor

 And

*Module*: Java Profiler (Common)
*Path:* netbeans\profiler\lib.profiler.common
*Classes*: IntegrationUtils, SessionSettings

 

 

On Linux, everything works fine. 

 

 

 

 

 

 

 

 

 

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Assignee: Moacir da Roza Flores
>Priority: Blocker
> Attachments: image-2020-07-06-19-01-34-316.png, 
> image-2021-07-21-02-56-43-096.png, image-2021-07-21-02-57-38-437.png, 
> image-2021-07-21-02-58-15-148.png, image-2021-07-21-02-59-19-737.png, 
> image-2021-07-21-02-59-42-180.png, image-2021-07-21-03-01-40-283.png, 
> image-2021-07-21-03-02-51-206.png, image-2021-07-21-03-03-15-783.png, 
> image-2021-07-21-03-04-15-005.png, image-2021-07-21-03-05-35-690.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 

[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2021-07-21 Thread Moacir da Roza Flores (Jira)


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

Moacir da Roza Flores edited comment on NETBEANS-2443 at 7/21/21, 6:22 AM:
---

Same problem windows 10
 Actually the only way to run profiler is manually attach the project, in my 
example *profileTest* is the name of my project.
 1-

!image-2021-07-21-02-57-38-437.png!

2-
 !image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
 !image-2021-07-21-03-01-40-283.png|width=847,height=351!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!

 

I'm investigating the source code, till now no success, above the modules that 
i believe that are related with the bug: 

*Module*: Maven Projects
*Path:* netbeans\java\maven
*Class*: MavenCommandLineExecutor

 And

*Module*: Java Profiler (Common)
*Path:* netbeans\profiler\lib.profiler.common
*Classes*: IntegrationUtils, SessionSettings

 

 

On Linux, everything works fine. 

 

 

 

 

 

 

 

 

 


was (Author: moaci...@gmail.com):
Same problem windows 10
Actually the only way to run profiler is manually attach the project, in my 
example *profileTest* is the name of my project.
1-

!image-2021-07-21-02-57-38-437.png!

2-
!image-2021-07-21-02-58-15-148.png!

 

3- Copy de arguments

!image-2021-07-21-02-59-42-180.png|width=599,height=242!

4- Click on properties of the project, paste the arguments
!image-2021-07-21-03-01-40-283.png|width=847,height=351!

 

5- Now execute the project

!image-2021-07-21-03-03-15-783.png!

You will see a message like that:

!image-2021-07-21-03-04-15-005.png|width=557,height=253!

6- Now click on Attach,and the application will start.

 

!image-2021-07-21-03-05-35-690.png|width=783,height=116!


On Linux, everything works fine.

I'm investigating the source code, till now no success.

 

 

 

 

 

 

 

 

 

 

 

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0, 12.3
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Assignee: Moacir da Roza Flores
>Priority: Blocker
> Attachments: image-2020-07-06-19-01-34-316.png, 
> image-2021-07-21-02-56-43-096.png, image-2021-07-21-02-57-38-437.png, 
> image-2021-07-21-02-58-15-148.png, image-2021-07-21-02-59-19-737.png, 
> image-2021-07-21-02-59-42-180.png, image-2021-07-21-03-01-40-283.png, 
> image-2021-07-21-03-02-51-206.png, image-2021-07-21-03-03-15-783.png, 
> image-2021-07-21-03-04-15-005.png, image-2021-07-21-03-05-35-690.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new project and select _Profile_.
>  # This opens a Profiler tab. Do the calibration, then press the Profile 
> button at the top of the tab. A _Progress_ popup appears thatgets stuck on 
> the message "Connecting to the target VM...". The _Output_ tab shows a 
> message: "The syntax of the command is incorrect.".
> *Error (in Output tab):*
> {noformat}
> cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c 
> "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" 
> -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 
> 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans
>  11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError 
> -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler
>  -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" 
> -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" 
> -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 
> 11.0\\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.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To 

[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2020-07-06 Thread Max Methot (Jira)


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

Max Methot edited comment on NETBEANS-2443 at 7/6/20, 11:05 PM:


I have the same issue. I have done the exact same steps as OP.

Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}
 

Here's my Java version output: 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}


was (Author: maxmethot):
I have the same issue. I have done the exact same steps as OP.

Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}


Here's my Java version output: 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Major
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new 

[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2020-07-06 Thread Max Methot (Jira)


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

Max Methot edited comment on NETBEANS-2443 at 7/6/20, 11:05 PM:


I have the same issue. I have done the exact same steps as OP.

Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}


Here's my Java version output: 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}


was (Author: maxmethot):
I have the same issue. I have done the exact same steps as OP.

Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}

Here's my Java version output: 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Major
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new 

[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2020-07-06 Thread Max Methot (Jira)


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

Max Methot edited comment on NETBEANS-2443 at 7/6/20, 11:04 PM:


I have the same issue. I have done the exact same steps as OP.

Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}

Here's my Java version output: 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}


was (Author: maxmethot):
I have the same issue. I have done the exact same steps as OP.

Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}

Here's my Java version output: 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Major
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the new 

[jira] [Comment Edited] (NETBEANS-2443) Can't start profiler

2020-07-06 Thread Max Methot (Jira)


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

Max Methot edited comment on NETBEANS-2443 at 7/6/20, 11:04 PM:


I have the same issue. I have done the exact same steps as OP.

Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}

Here's my Java version output: 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}


was (Author: maxmethot):
I have the same issue. I have done the exact same steps as OP.



Using:
 * Apache Netbeans 11.3
 * Java 11
 * Maven 3.6.1

 

Here's Netbeans about info:
{noformat}
Product Version: Apache NetBeans IDE 11.3
Java: 11.0.6; Java HotSpot(TM) 64-Bit Server VM 11.0.6+8-LTS
Runtime: Java(TM) SE Runtime Environment 11.0.6+8-LTS
System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\11.3
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\11.3
{noformat}
 
 

Here's my Java version output:

 
{noformat}
java version "11.0.6" 2020-01-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.6+8-LTS, mixed mode)
{noformat}
 

Here's the popup it shows:

!image-2020-07-06-19-01-34-316.png!

 

Here's the output Netbeans is giving me:
{noformat}
cd C:\Users\User\Documents\NetBeansProjects\albatross-auctioneer; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk-11.0.6" "M2_HOME=C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1" cmd /c "\"C:\\Program 
Files\\Apache Software Foundation\\Maven 3.6.1\\bin\\mvn.cmd\" 
-Dexec.args=\"-agentpath:\\\"C:/Program Files/Netbeans 
11.3/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\Netbeans 11.3\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\User\\AppData\\Local\\NetBeans\\Cache\\11.3\\mavencachedirs\\811406648\\org-netbeans-modules-profiler
 -classpath %classpath com.chronolab.albatross.auctioneer.Main\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk-11.0.6\\bin\\java.exe\" 
-DskipTests=true -Dmaven.ext.class.path=\"C:\\Program Files\\Netbeans 
11.3\\netbeans\\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. {noformat}

> Can't start profiler
> 
>
> Key: NETBEANS-2443
> URL: https://issues.apache.org/jira/browse/NETBEANS-2443
> Project: NetBeans
>  Issue Type: Bug
>  Components: profiler - Attach, profiler - Base, profiler - Engine, 
> profiler - IDE
>Affects Versions: 11.0
> Environment: Windows 10
> NetBeans 11 using Java 12 (tried with 8 also)
>Reporter: HenryDL
>Priority: Major
> Attachments: image-2020-07-06-19-01-34-316.png
>
>
> I'm not able to start the NetBeans Profiler for Maven projects.
> *Recreate:*
>  # Create a new Maven Java Application using the IDE.
>  # Using the IDE add a new JFrame file (it contains a main method that simply 
> opens the a new JFrame).
>  # Right-click the