[jira] [Assigned] (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:all-tabpanel
 ]

Moacir da Roza Flores reassigned NETBEANS-2443:
---

Assignee: (was: Moacir da Roza Flores)

> 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
>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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[netbeans] branch master updated: Fix Linux, NPE and display issues for OpenJDK download (Disco) integration.

2021-07-21 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 519b80b  Fix Linux, NPE and display issues for OpenJDK download 
(Disco) integration.
 new c50677c  Merge pull request #3067 from neilcsmith-net/disco-nb125
519b80b is described below

commit 519b80b903d363ebdf09d1c4b382ad651ef2716f
Author: Neil C Smith 
AuthorDate: Mon Jul 19 17:14:49 2021 +0100

Fix Linux, NPE and display issues for OpenJDK download (Disco) integration.

Make sure we get a quick package option on Linux.

Expand quick package filter to include tar.gz on Linux and macOS.
Exclude LibCType.MUSL on Linux - incorrectly coming up as option.

Only bold actual LTS labels.

Exclude early access versions.

Take up slider space on quick options, but none show up anyway.

Change wizard display name to more obviously describe the option, and make 
text localizable.

Workaround for NPE inside Disco Client library with unknown distributions.
---
 .../src/org/netbeans/modules/java/disco/Client.java   | 15 +++
 .../modules/java/disco/FoojayPlatformInstall.java |  6 +-
 .../src/org/netbeans/modules/java/disco/QuickPanel.java   |  4 ++--
 .../netbeans/modules/java/disco/QuickPkgSelection.java| 14 +-
 4 files changed, 31 insertions(+), 8 deletions(-)

diff --git a/java/java.disco/src/org/netbeans/modules/java/disco/Client.java 
b/java/java.disco/src/org/netbeans/modules/java/disco/Client.java
index 6f4c2f4..9150f40 100644
--- a/java/java.disco/src/org/netbeans/modules/java/disco/Client.java
+++ b/java/java.disco/src/org/netbeans/modules/java/disco/Client.java
@@ -37,7 +37,9 @@ import io.foojay.api.discoclient.pkg.Scope;
 import io.foojay.api.discoclient.pkg.SemVer;
 import io.foojay.api.discoclient.pkg.TermOfSupport;
 import io.foojay.api.discoclient.pkg.VersionNumber;
+import io.foojay.api.discoclient.util.Constants;
 import io.foojay.api.discoclient.util.PkgInfo;
+import java.util.Collections;
 import java.util.List;
 import java.util.Queue;
 import java.util.concurrent.Future;
@@ -54,8 +56,13 @@ public class Client {
 }
 
 private synchronized DiscoClient getDisco() {
-if (client == null)
+if (client == null) {
 client = new DiscoClient();
+// @TODO : this is just a workaround for NPE in Disco Client 
library
+for (Distribution dist : Distribution.values()) {
+Constants.SCOPE_LOOKUP.putIfAbsent(dist, 
Collections.EMPTY_LIST);
+}
+}
 return client;
 }
 
@@ -63,10 +70,10 @@ public class Client {
 }
 
 public synchronized final List getAllLTSVersions() {
-Queue majorVersions = 
getDisco().getAllMajorVersions(true);
+Queue majorVersions = 
getDisco().getAllMajorVersions(false);
 return majorVersions.stream()
-.filter(majorVersion -> 
majorVersion.isMaintained())
-.collect(Collectors.toList());
+.filter(majorVersion -> majorVersion.isMaintained())
+.collect(Collectors.toList());
 }
 
 public synchronized MajorVersion getLatestLts(boolean b) {
diff --git 
a/java/java.disco/src/org/netbeans/modules/java/disco/FoojayPlatformInstall.java
 
b/java/java.disco/src/org/netbeans/modules/java/disco/FoojayPlatformInstall.java
index b2161ae..070caf9 100644
--- 
a/java/java.disco/src/org/netbeans/modules/java/disco/FoojayPlatformInstall.java
+++ 
b/java/java.disco/src/org/netbeans/modules/java/disco/FoojayPlatformInstall.java
@@ -21,7 +21,11 @@ package org.netbeans.modules.java.disco;
 import org.netbeans.spi.java.platform.CustomPlatformInstall;
 import org.openide.WizardDescriptor;
 import org.openide.WizardDescriptor.InstantiatingIterator;
+import org.openide.util.NbBundle;
 
+@NbBundle.Messages({
+"DiscoPlatformInstall.displayName=Download OpenJDK (via foojay Disco API)"
+})
 public class FoojayPlatformInstall extends CustomPlatformInstall {
 
 private FoojayPlatformInstall() {}
@@ -33,7 +37,7 @@ public class FoojayPlatformInstall extends 
CustomPlatformInstall {
 
 @Override
 public String getDisplayName() {
-return "Remote Universal OpenJDK Service";
+return Bundle.DiscoPlatformInstall_displayName();
 }
 
 public static FoojayPlatformInstall create() {
diff --git 
a/java/java.disco/src/org/netbeans/modules/java/disco/QuickPanel.java 
b/java/java.disco/src/org/netbeans/modules/java/disco/QuickPanel.java
index 66b7554..41d92de 100644
--- a/java/java.disco/src/org/netbeans/modules/java/disco/QuickPanel.java
+++ b/java/java.disco/src/org/netbeans/modules/java/disco/QuickPanel.java
@@ -142,8 +142,8 @@ public class QuickPanel extends javax.swing.JPanel {
 public Hashtable 

[jira] [Created] (NETBEANS-5868) how to create a text/x-java file?

2021-07-21 Thread huo (Jira)
huo created NETBEANS-5868:
-

 Summary: how to create a text/x-java file?
 Key: NETBEANS-5868
 URL: https://issues.apache.org/jira/browse/NETBEANS-5868
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Completion  Templates
Affects Versions: 8.2
Reporter: huo


Hi!

I want to known how Java Code Completion works. 

I have a package which contain some java files.
 * someone create a skeleton file which name end with jcs.
 * and create a body file which name end with jcb.
 * I can use JavaKit.java class to read it. I think it's main propose is to 
make indexing faster. the editor can find related codes without scanning 
related source jars.

but, I try to save one jcs and jcb file, it works but can not reading.

I find that in JCFileProvider.java  getClasses() method.  skels.getInteger() 
will return opcode. but the code is not OPCODE_ADD or OPCODE_REMOVE. which 
results can' read it successfully.

Could you please tell me something as following:
 # where can I find the oldest version source code.
 # is there some protocol about text/x-java MINI type.
 # is jcb and jcs file belons to text/x-java type ? do you have some document 
which records methods to generate it correctly. 

 

Thanks very much!



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

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

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



[jira] [Closed] (NETBEANS-5480) Can't fold a class/method when a range of PHP tags overlaps a range of class/method body

2021-07-21 Thread Junichi Yamamoto (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Junichi Yamamoto closed NETBEANS-5480.
--
Fix Version/s: 12.5
   Resolution: Fixed

I added the boot option.

You can disable to fold phptags if you add 
`-J-Dnb.php.editor.doNotFoldPhptag=true` to the arguments on boot.  or add it 
to netbeans_default_options of netbeans.conf.

> Can't fold a class/method when a range of PHP tags overlaps a range of 
> class/method body
> 
>
> Key: NETBEANS-5480
> URL: https://issues.apache.org/jira/browse/NETBEANS-5480
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Editor
>Affects Versions: 12.2
>Reporter: Stefano Calabrese
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: Folding, pull-request-available
> Fix For: 12.5
>
> Attachments: aspected_tmp_code_php.jpg, netbeans-5480-1.jpg, 
> wrong_tmp_code_php.jpg
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Hi i have a problem with code folding ""
> if you have this PHP code
> {code:java}
> Segnaposto codice // 
>  class A {
>     function B(){
>         ?>Hello     }
> }
> {code}
> when you create it it's ok, but *if you save, close and re-open it* ,
> you can see collapse  ?> and break folding as in image 
> (tmp_code_php.jpg)
>  
> Actual result after save, close & reopen file .php
> image attached wrong_tmp_code_php.jpg
>  
> Expected result:
> image attached aspected_tmp_code_php.jpg
>  
>  
> Thank you



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

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

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



[netbeans] branch master updated: [NETBEANS-5480] Add an option(system property) to disable the feature to fold PHP tags

2021-07-21 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 1c5247a  [NETBEANS-5480] Add an option(system property) to disable the 
feature to fold PHP tags
 new cca3859  Merge pull request #3069 from 
junichi11/netbeans-5480-folding-phptag
1c5247a is described below

commit 1c5247aeff0fee91255fc74b521c58da1187ec13
Author: Junichi Yamamoto 
AuthorDate: Wed Jul 21 13:01:09 2021 +0900

[NETBEANS-5480] Add an option(system property) to disable the feature to 
fold PHP tags

https://issues.apache.org/jira/browse/NETBEANS-5480

- The folding features do not have options to enable/disable each item at 
the moment
although there are options for each whole language (There are Enable Code 
Folding checkboxes)
- Users can add `-J-Dnb.php.editor.doNotFoldPhptag=true` on boot
---
 .../src/org/netbeans/modules/php/editor/csl/FoldingScanner.java  | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/csl/FoldingScanner.java 
b/php/php.editor/src/org/netbeans/modules/php/editor/csl/FoldingScanner.java
index 767e4ef..67dc6f7 100644
--- a/php/php.editor/src/org/netbeans/modules/php/editor/csl/FoldingScanner.java
+++ b/php/php.editor/src/org/netbeans/modules/php/editor/csl/FoldingScanner.java
@@ -131,6 +131,7 @@ public final class FoldingScanner {
 );
 
 private static final String LAST_CORRECT_FOLDING_PROPERTY = 
"LAST_CORRECT_FOLDING_PROPERY"; //NOI18N
+private static final boolean FOLD_PHPTAG = 
!Boolean.getBoolean("nb.php.editor.doNotFoldPhptag"); // NOI18N NETBEANS-5480
 
 public static FoldingScanner create() {
 return new FoldingScanner();
@@ -170,7 +171,9 @@ public final class FoldingScanner {
 Source source = phpParseResult.getSnapshot().getSource();
 assert source != null : "source was null";
 Document doc = source.getDocument(false);
-processPHPTags(folds, doc);
+if (FOLD_PHPTAG) {
+processPHPTags(folds, doc);
+}
 setFoldingProperty(doc, folds);
 return folds;
 }

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

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



[netbeans] branch master updated (ea9ebc6 -> 8ec77c9)

2021-07-21 Thread akhileshsingh
This is an automated email from the ASF dual-hosted git repository.

akhileshsingh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from ea9ebc6  Merge pull request #2953 from mishrasandeep/netbeans-5561
 add 8ec77c9  Test case fix java editor jdk17 (#3070)

No new revisions were added by this update.

Summary of changes:
 .../java/completion/JavaCompletionTask114FeaturesTest.java   | 9 +
 .../modules/java/editor/base/semantic/UnusedDetectorTest.java| 7 ---
 2 files changed, 9 insertions(+), 7 deletions(-)

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

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



[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] [Commented] (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 commented on NETBEANS-2443:
-

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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Closed] (NETBEANS-5661) Testing for valid values of a Regular Expression in the IDE

2021-07-21 Thread Sandeep Mishra (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandeep Mishra closed NETBEANS-5661.

Fix Version/s: 12.5
   Resolution: Implemented

> Testing for valid values of a Regular Expression in the IDE
> ---
>
> Key: NETBEANS-5661
> URL: https://issues.apache.org/jira/browse/NETBEANS-5661
> Project: NetBeans
>  Issue Type: Task
>  Components: java - Hints, platform - Window System
>Reporter: Sandeep Mishra
>Assignee: Sandeep Mishra
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.5
>
> Attachments: RegexDemo2.gif
>
>  Time Spent: 5h 40m
>  Remaining Estimate: 0h
>
> Adding a feature for testing the valid values for a Regular Expression in the 
> IDE itself.



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

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

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



[jira] [Updated] (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:all-tabpanel
 ]

Moacir da Roza Flores updated NETBEANS-2443:

Attachment: image-2021-07-21-03-05-35-690.png

> 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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Updated] (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:all-tabpanel
 ]

Moacir da Roza Flores updated NETBEANS-2443:

Attachment: image-2021-07-21-03-04-15-005.png

> 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
>
>
> 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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Updated] (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:all-tabpanel
 ]

Moacir da Roza Flores updated NETBEANS-2443:

Attachment: image-2021-07-21-03-03-15-783.png

> 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
>
>
> 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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Updated] (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:all-tabpanel
 ]

Moacir da Roza Flores updated NETBEANS-2443:

Attachment: image-2021-07-21-03-02-51-206.png

> 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
>
>
> 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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Updated] (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:all-tabpanel
 ]

Moacir da Roza Flores updated NETBEANS-2443:

Attachment: image-2021-07-21-03-01-40-283.png

> 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
>
>
> 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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Updated] (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:all-tabpanel
 ]

Moacir da Roza Flores updated NETBEANS-2443:

Attachment: image-2021-07-21-02-59-42-180.png

> 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
>
>
> 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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Updated] (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:all-tabpanel
 ]

Moacir da Roza Flores updated NETBEANS-2443:

Attachment: image-2021-07-21-02-59-19-737.png

> 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
>
>
> 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 unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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