[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 

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

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 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

2020-07-06 Thread Max Methot (Jira)


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

Max Methot updated NETBEANS-2443:
-
Attachment: image-2020-07-06-19-01-34-316.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
> 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 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] [Created] (NETBEANS-4549) class javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D

2020-07-06 Thread albert Steiner (Jira)
albert Steiner created NETBEANS-4549:


 Summary: class javax.swing.DebugGraphics cannot be cast to class 
java.awt.Graphics2D 
 Key: NETBEANS-4549
 URL: https://issues.apache.org/jira/browse/NETBEANS-4549
 Project: NetBeans
  Issue Type: Bug
  Components: javaee - Code
Affects Versions: 11.3
 Environment: Windows 10, with netbeans 11.3 set to global library open 
Java 14
Reporter: albert Steiner
 Attachments: StarTrader.java

I have worked on this code, a few hours a week for 9 years, so there is a lot 
of history

The code works for Java1.8_251 but not for open java 13,14,15  Error occurs as 
part of initialization of the program, producing a panel with tabs.  I produces 
a blank panel and a fatal exception.

I don't know if this is a Java bug or a bug in the display code generated over 
the 9 years, so I'm posting this as a possible open netbeans bug.  

source at: 
https://drive.google.com/drive/folders/1M1KxuS_2Zi9iagQlXrlT3dgEpfOa9j76?usp=sharing

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class 
javax.swing.DebugGraphics cannot be cast to class java.awt.Graphics2D 
(javax.swing.DebugGraphics and java.awt.Graphics2D are in module java.desktop 
of loader 'bootstrap')Exception in thread "AWT-EventQueue-0" 
java.lang.ClassCastException: class javax.swing.DebugGraphics cannot be cast to 
class java.awt.Graphics2D (javax.swing.DebugGraphics and java.awt.Graphics2D 
are in module java.desktop of loader 'bootstrap') at 
java.desktop/javax.swing.plaf.synth.SynthGraphicsUtils.paintText(SynthGraphicsUtils.java:331)
 at 
java.desktop/javax.swing.plaf.synth.SynthTabbedPaneUI.paintText(SynthTabbedPaneUI.java:683)
 at 
java.desktop/javax.swing.plaf.synth.SynthTabbedPaneUI.paintTab(SynthTabbedPaneUI.java:633)
 at 
java.desktop/javax.swing.plaf.synth.SynthTabbedPaneUI.paintTabArea(SynthTabbedPaneUI.java:526)
 at 
java.desktop/javax.swing.plaf.synth.SynthTabbedPaneUI.paintTabArea(SynthTabbedPaneUI.java:482)
 at 
java.desktop/javax.swing.plaf.basic.BasicTabbedPaneUI$ScrollableTabPanel.paintComponent(BasicTabbedPaneUI.java:3918)
 at java.desktop/javax.swing.JComponent.paint(JComponent.java:1074) at 
java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907) at 
java.desktop/javax.swing.JComponent.paint(JComponent.java:1083) at 
java.desktop/javax.swing.JViewport.paint(JViewport.java:737) at 
java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907) at 
java.desktop/javax.swing.JComponent.paint(JComponent.java:1083) at 
java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907) at 
java.desktop/javax.swing.JComponent.paint(JComponent.java:1083) at 
java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907) at 
java.desktop/javax.swing.JComponent.paint(JComponent.java:1083) at 
java.desktop/javax.swing.JLayeredPane.paint(JLayeredPane.java:586) at 
java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:907) at 
java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5262) at 
java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1643)
 at 
java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1618)
 at 
java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1556)
 at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1323) at 
java.desktop/javax.swing.JComponent.paint(JComponent.java:1060) at 
java.desktop/java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
 at 
java.desktop/sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:75)
 at 
java.desktop/sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:112)
 at java.desktop/java.awt.Container.paint(Container.java:2002) at 
java.desktop/java.awt.Window.paint(Window.java:3928) at 
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:876) at 
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:848) at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at 
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:848)
 at 
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:823)
 at 
java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:772)
 at 
java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1884)
 at 
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316) 
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at 
java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at 

[jira] [Created] (NETBEANS-4548) Detect Java installed with SDKMAN

2020-07-06 Thread Laszlo Kishalmi (Jira)
Laszlo Kishalmi created NETBEANS-4548:
-

 Summary: Detect Java installed with SDKMAN
 Key: NETBEANS-4548
 URL: https://issues.apache.org/jira/browse/NETBEANS-4548
 Project: NetBeans
  Issue Type: Improvement
  Components: platform - LaunchersCLI
Reporter: Laszlo Kishalmi
Assignee: Laszlo Kishalmi


It seems SDKMAN become popular to easily install various Java versions by 
various distributors.

In some cases the platform cannot detect a JDK when it is installed with SDKMAN.

Also JDK installed by SDKMAN shall be preferred over system installed JDK



--
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-4547) Imported Editor Theme Profiles persist after deletion

2020-07-06 Thread Scott Furry (Jira)


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

Scott Furry updated NETBEANS-4547:
--
Description: 
Steps:
 * Download editor theme profile (e.g. URL: [https://netbeansthemes.com/)]
 * Import selected theme into IDE via Options -> Fonts and Colors -> Import
 * Restart IDE
 * Return to Options -> Fonts and Colors and delete imported theme
 * Restart IDE
 * Return to Options -> Fonts and Colors and select "profile" drop down list
 * Imported color theme name persists and when selected has no defined 
attributes/properties falling back to editor default values

Unable to locate theme profile name in settings or IDE files to manually delete.

  was:
Steps:
 * Download editor theme profile (e.g. URL: [https://netbeansthemes.com/)]
 * Import selected theme into IDE via Options -> Fonts and Colors -> Import
 * Restart IDE
 * Return to Options -> Fonts and Colors and delete imported theme
 * Restart IDE
 * Editor color theme persists in the drop down profile list but has no defined 
attributes/properties and falls back to editor default values

Unable to locate theme profile name in settings or IDE files to manually delete.


> Imported Editor Theme Profiles persist after deletion
> -
>
> Key: NETBEANS-4547
> URL: https://issues.apache.org/jira/browse/NETBEANS-4547
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.0
> Environment: AMD Bulldozer
> Gentoo x86_64 Linux 5.4.48
> OpenJDK 11 (11.0.7)
>Reporter: Scott Furry
>Priority: Minor
>
> Steps:
>  * Download editor theme profile (e.g. URL: [https://netbeansthemes.com/)]
>  * Import selected theme into IDE via Options -> Fonts and Colors -> Import
>  * Restart IDE
>  * Return to Options -> Fonts and Colors and delete imported theme
>  * Restart IDE
>  * Return to Options -> Fonts and Colors and select "profile" drop down list
>  * Imported color theme name persists and when selected has no defined 
> attributes/properties falling back to editor default values
> Unable to locate theme profile name in settings or IDE files to manually 
> delete.



--
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] [Resolved] (NETBEANS-877) netbeans 9.0 rc1 : cannot update plugins : java source base version 2 required

2020-07-06 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-877.
--
Resolution: Abandoned

Debian packages are not supported.

> netbeans 9.0 rc1 : cannot update plugins : java source base version 2 required
> --
>
> Key: NETBEANS-877
> URL: https://issues.apache.org/jira/browse/NETBEANS-877
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 9.0
> Environment: openjdk version "9-Debian"
> OpenJDK Runtime Environment (build 9-Debian+0-9b181-4bpo91)
> OpenJDK 64-Bit Server VM (build 9-Debian+0-9b181-4bpo91, mixed mo
>Reporter: hanasaki jiji
>Priority: Major
> Fix For: 9.0
>
>
> (I) created as "blocker"  because it happens on first install and fails all 
> plugin updates.
> installed rc1 (linux openjdk9 with the source package too - on debian 9)
>  java -version 
>  openjdk version "9-Debian" 
>  OpenJDK Runtime Environment (build 9-Debian+0-9b181-4bpo91) 
>  OpenJDK 64-Bit Server VM (build 9-Debian+0-9b181-4bpo91, mixed mode)
>  
>  netbeans updates are available however the following error is reported.  
> This happened with the beta's and with jdk10 too.
> Some plugins require plugin Java Source Base to be installed.
>  The plugin Java Source Base is requested in implementation version 2.
>          The following plugin is affected: Java Shell Support



--
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] [Created] (NETBEANS-4547) Imported Editor Theme Profiles persist after deletion

2020-07-06 Thread Scott Furry (Jira)
Scott Furry created NETBEANS-4547:
-

 Summary: Imported Editor Theme Profiles persist after deletion
 Key: NETBEANS-4547
 URL: https://issues.apache.org/jira/browse/NETBEANS-4547
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Editor
Affects Versions: 12.0
 Environment: AMD Bulldozer
Gentoo x86_64 Linux 5.4.48
OpenJDK 11 (11.0.7)

Reporter: Scott Furry


Steps:
 * Download editor theme profile (e.g. URL: [https://netbeansthemes.com/)]
 * Import selected theme into IDE via Options -> Fonts and Colors -> Import
 * Restart IDE
 * Return to Options -> Fonts and Colors and delete imported theme
 * Restart IDE
 * Editor color theme persists in the drop down profile list but has no defined 
attributes/properties and falls back to editor default values

Unable to locate theme profile name in settings or IDE files to manually delete.



--
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-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Jira


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

高浩 updated NETBEANS-4544:
-
Description: I  created a SpringBoot Maven Application, which contains 
Spring data JPA dependency. I wrote the *schema.sql* and *data.sql* with UTF-8 
encoding in resources directory. When I ran the application, I should have 
receive some JSON data but I received some unrecognizable characters.  (was: I  
created a SpringBoot Maven Application, which contains Spring data JPA 
dependency. I wrote the schema.sql and data.sql with UTF-8 encoding in 
resources directory. When I ran the application, I should have receive some 
JSON data but I received some unrecognizable characters.)

> read utf-8 file not correct in windows os
> -
>
> Key: NETBEANS-4544
> URL: https://issues.apache.org/jira/browse/NETBEANS-4544
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Affects Versions: 12.0, 11.1, 11.2, 11.3
> Environment: Windows OS
>Reporter: Albert Flex
>Priority: Major
>
> I  created a SpringBoot Maven Application, which contains Spring data JPA 
> dependency. I wrote the *schema.sql* and *data.sql* with UTF-8 encoding in 
> resources directory. When I ran the application, I should have receive some 
> JSON data but I received some unrecognizable characters.



--
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-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Jira


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

高浩 updated NETBEANS-4544:
-
Fix Version/s: (was: Next)
  Environment: Windows OS

> read utf-8 file not correct in windows os
> -
>
> Key: NETBEANS-4544
> URL: https://issues.apache.org/jira/browse/NETBEANS-4544
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Affects Versions: 12.0, 11.1, 11.2, 11.3
> Environment: Windows OS
>Reporter: Albert Flex
>Priority: Major
>
> I  created a SpringBoot Maven Application, which contains Spring data JPA 
> dependency. I wrote the schema.sql and data.sql with UTF-8 encoding in 
> resources directory. When I ran the application, I should have receive some 
> JSON data but I received some unrecognizable characters.



--
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-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Jira


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

高浩 updated NETBEANS-4544:
-
Description: I  created a SpringBoot Maven Application, which contains 
Spring data JPA dependency. I wrote the schema.sql and data.sql with UTF-8 
encoding in resources directory. When I ran the application, I should have 
receive some JSON data but I received some unrecognizable characters.  (was: I  
created a SpringBoot Maven Application, which contains Spring data JPA 
dependency. I wrote the schema.sql and data.sql in resources directory, When I 
run application, I should receive some json data, however, When I run the 
Application, I received some unknown words, I guess there has some netbeans 
configurations go wrong when I running the application.
 However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
some correct data. I try the seond times, there is no problem present in linux, 
instead of windows.)

> read utf-8 file not correct in windows os
> -
>
> Key: NETBEANS-4544
> URL: https://issues.apache.org/jira/browse/NETBEANS-4544
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Affects Versions: 12.0, 11.1, 11.2, 11.3
>Reporter: Albert Flex
>Priority: Major
> Fix For: Next
>
>
> I  created a SpringBoot Maven Application, which contains Spring data JPA 
> dependency. I wrote the schema.sql and data.sql with UTF-8 encoding in 
> resources directory. When I ran the application, I should have receive some 
> JSON data but I received some unrecognizable characters.



--
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-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Jira


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

高浩 updated NETBEANS-4544:
-
Description: 
I  created a SpringBoot Maven Application, which contains Spring data JPA 
dependency. I wrote the schema.sql and data.sql in resources directory, When I 
run application, I should receive some json data, however, When I run the 
Application, I received some unknown words, I guess there has some netbeans 
configurations go wrong when I running the application.
 However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
some correct data. I try the seond times, there is no problem present in linux, 
instead of windows.

  was:
I use Netbeans to write SpringBoot Maven Application, which contains Spring 
data JPA dependency. I wrote the schema.sql and data.sql in resources 
directory, When I run application, I should receive some json data, however, 
When I run the Application, I received some unknown words, I guess there has 
some netbeans configurations go wrong when I running the application.
 However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
some correct data. I try the seond times, there is no problem present in linux, 
instead of windows.


> read utf-8 file not correct in windows os
> -
>
> Key: NETBEANS-4544
> URL: https://issues.apache.org/jira/browse/NETBEANS-4544
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Affects Versions: 12.0, 11.1, 11.2, 11.3
>Reporter: Albert Flex
>Priority: Major
> Fix For: Next
>
>
> I  created a SpringBoot Maven Application, which contains Spring data JPA 
> dependency. I wrote the schema.sql and data.sql in resources directory, When 
> I run application, I should receive some json data, however, When I run the 
> Application, I received some unknown words, I guess there has some netbeans 
> configurations go wrong when I running the application.
>  However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
> some correct data. I try the seond times, there is no problem present in 
> linux, instead of windows.



--
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-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Jira


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

高浩 updated NETBEANS-4544:
-
Description: 
I use Netbeans to write SpringBoot Maven Application, which contains Spring 
data JPA dependency. I wrote the schema.sql and data.sql in resources 
directory, When I run application, I should receive some json data, however, 
When I run the Application, I received some unknown words, I guess there has 
some netbeans configurations go wrong when I running the application.
 However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
some correct data. I try the seond times, there is no problem present in linux, 
instead of windows.

  was:
When I use Netbeans write SpringBoot Application,which is contains spring 
datajpa, I wrote the schema.sql and data.sql in resources file, When I run 
application, I should receive some json data, however, When I run the 
Application, I received some unknown words, I guess there has some netbeans 
configurations go wrong when I running the application.
However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
some correct data. I try the seond times, there is no problem present in linux, 
instead of windows.


> read utf-8 file not correct in windows os
> -
>
> Key: NETBEANS-4544
> URL: https://issues.apache.org/jira/browse/NETBEANS-4544
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Affects Versions: 12.0, 11.1, 11.2, 11.3
>Reporter: Albert Flex
>Priority: Major
> Fix For: Next
>
>
> I use Netbeans to write SpringBoot Maven Application, which contains Spring 
> data JPA dependency. I wrote the schema.sql and data.sql in resources 
> directory, When I run application, I should receive some json data, however, 
> When I run the Application, I received some unknown words, I guess there has 
> some netbeans configurations go wrong when I running the application.
>  However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
> some correct data. I try the seond times, there is no problem present in 
> linux, instead of windows.



--
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-4528] Setting classname for GradleTestcase

2020-07-06 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 0cb76bd  [NETBEANS-4528] Setting classname for GradleTestcase
0cb76bd is described below

commit 0cb76bde539214b670ad08448b7f0524bc36c853
Author: Laszlo Kishalmi 
AuthorDate: Thu Jul 2 21:50:58 2020 -0700

[NETBEANS-4528] Setting classname for GradleTestcase
---
 .../gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/java/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java 
b/java/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java
index f28ffe7..d49a09f 100644
--- a/java/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java
+++ b/java/gradle.test/src/org/netbeans/modules/gradle/test/GradleTestcase.java
@@ -34,6 +34,7 @@ public class GradleTestcase  extends JUnitTestcase {
 public GradleTestcase(JvmTestOperationDescriptor op, TestSession session) {
 super(op.getMethodName(), "TEST/JUNIT", session);  //NOI18N
 this.operation = op;
+setClassName(op.getClassName());
 }
 
 public JvmTestOperationDescriptor getOperation() {


-
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] [Created] (NETBEANS-4546) java.lang.invoke.LambdaConversionException: Type mismatch in captured lambda parameter 0: expecting interface

2020-07-06 Thread Vitor Pinto (Jira)
Vitor Pinto created NETBEANS-4546:
-

 Summary: java.lang.invoke.LambdaConversionException: Type mismatch 
in captured lambda parameter 0: expecting interface
 Key: NETBEANS-4546
 URL: https://issues.apache.org/jira/browse/NETBEANS-4546
 Project: NetBeans
  Issue Type: Bug
  Components: javaee - Spring
Affects Versions: 12.0
Reporter: Vitor Pinto
Assignee: Vitor Pinto
 Fix For: 12.0


java.lang.AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested 
transaction
 at 
org.netbeans.api.editor.caret.EditorCaret.runTransaction(EditorCaret.java:1689)
 at org.netbeans.api.editor.caret.EditorCaret.setDot(EditorCaret.java:577)
 at org.netbeans.api.editor.caret.EditorCaret.setDot(EditorCaret.java:546)
 at 
org.netbeans.modules.uihandler.SubmitPanel.propertyChange(SubmitPanel.java:161)
 at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
 at 
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
 at 
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
 at org.openide.explorer.ExplorerManager$2.run(ExplorerManager.java:866)
 at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
 at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
 at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
 at org.openide.util.Mutex.readAccess(Mutex.java:235)
 at org.openide.explorer.ExplorerManager.fireInAWT(ExplorerManager.java:863)
 at 
org.openide.explorer.ExplorerManager$1AtomicSetSelectedNodes.fire(ExplorerManager.java:269)
 at 
org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:280)
 at org.netbeans.modules.uihandler.SubmitPanel.caretUpdate(SubmitPanel.java:180)
 at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:397)
 at 
javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4394)
 at 
javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:4416)
 at org.netbeans.api.editor.caret.EditorCaret$6.run(EditorCaret.java:1733)
 at org.netbeans.modules.editor.lib2.view.ViewUtils.runInEDT(ViewUtils.java:413)
 at 
org.netbeans.api.editor.caret.EditorCaret.fireStateChanged(EditorCaret.java:1742)
 at 
org.netbeans.api.editor.caret.EditorCaret.runTransaction(EditorCaret.java:1664)
 at org.netbeans.api.editor.caret.EditorCaret.moveCarets(EditorCaret.java:717)
 at org.netbeans.editor.BaseKit$PageDownAction$1.run(BaseKit.java:3081)
 at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1402)
 at 
org.netbeans.editor.BaseKit$PageDownAction.actionPerformed(BaseKit.java:3078)
 at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:322)
 at 
org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:445)
 at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
 at javax.swing.JComponent.processKeyBinding(JComponent.java:2882)
 at javax.swing.JComponent.processKeyBindings(JComponent.java:2929)
 at javax.swing.JComponent.processKeyEvent(JComponent.java:2845)
 at java.awt.Component.processEvent(Component.java:6302)
 at java.awt.Container.processEvent(Container.java:2234)
 at java.awt.Component.dispatchEventImpl(Component.java:4881)
 at java.awt.Container.dispatchEventImpl(Container.java:2292)
 at java.awt.Component.dispatchEvent(Component.java:4703)
 at 
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
 at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
 at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
 at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
 at 
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
 at java.awt.Component.dispatchEventImpl(Component.java:4752)
 at java.awt.Container.dispatchEventImpl(Container.java:2292)
 at java.awt.Window.dispatchEventImpl(Window.java:2750)
 at java.awt.Component.dispatchEvent(Component.java:4703)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:702)
 at java.awt.EventQueue$3.run(EventQueue.java:696)
 at java.security.AccessController.doPrivileged(Native Method)
 at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
 at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
 at java.awt.EventQueue$4.run(EventQueue.java:724)
 at java.awt.EventQueue$4.run(EventQueue.java:722)
 at java.security.AccessController.doPrivileged(Native Method)
 at 

[jira] [Commented] (NETBEANS-4545) Apache Netbeans fails to insert code (implements abstract methods, fix imports, ...)

2020-07-06 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-4545:
-

Best to upgrade to the latest release, which is 12.0. Go to netbeans.apache.org 
to download and install it.

> Apache Netbeans fails to insert code (implements abstract methods, fix 
> imports, ...)
> 
>
> Key: NETBEANS-4545
> URL: https://issues.apache.org/jira/browse/NETBEANS-4545
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations, editor - Refactoring
>Affects Versions: 11.2
> Environment: Windows 10 Pro 64 bit
>Reporter: Ambrogio Colombo
>Priority: Major
> Attachments: IDE log.txt, UI log.txt
>
>
> Most operations involving code refactoring or automatic insert of code lines 
> (implements abstract methods, fix imports, ...) throw exceptions 
> (java.lang.IllegalStateException)
> This behaviour continues since a long time, but does not prevent manual 
> modifications, so that development went on. But this is really annoying as 
> long as the size of the project grows.
> I think that this is mainly a NetBeans bug. Maybe there are also problems on 
> my code, but I need some hint to fix them.
> Thank you very much.
> Ambrogio
>  



--
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] [Created] (NETBEANS-4545) Apache Netbeans fails to insert code (implements abstract methods, fix imports, ...)

2020-07-06 Thread Ambrogio Colombo (Jira)
Ambrogio Colombo created NETBEANS-4545:
--

 Summary: Apache Netbeans fails to insert code (implements abstract 
methods, fix imports, ...)
 Key: NETBEANS-4545
 URL: https://issues.apache.org/jira/browse/NETBEANS-4545
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Hints  Annotations, editor - Refactoring
Affects Versions: 11.2
 Environment: Windows 10 Pro 64 bit
Reporter: Ambrogio Colombo
 Attachments: IDE log.txt, UI log.txt

Most operations involving code refactoring or automatic insert of code lines 
(implements abstract methods, fix imports, ...) throw exceptions 
(java.lang.IllegalStateException)

This behaviour continues since a long time, but does not prevent manual 
modifications, so that development went on. But this is really annoying as long 
as the size of the project grows.

I think that this is mainly a NetBeans bug. Maybe there are also problems on my 
code, but I need some hint to fix them.

Thank you very much.

Ambrogio

 



--
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-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Albert Flex (Jira)


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

Albert Flex updated NETBEANS-4544:
--
Description: 
When I use Netbeans write SpringBoot Application,which is contains spring 
datajpa, I wrote the schema.sql and data.sql in resources file, When I run 
application, I should receive some json data, however, When I run the 
Application, I received some unknown words, I guess there has some netbeans 
configurations go wrong when I running the application.
However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
some correct data. I try the seond times, there is no problem present in linux, 
instead of windows.

  was:When I use Netbeans write SpringBoot Application,which is contains spring 
datajpa, I wrote the schema.sql and data.sql in resources file, When I run 
application, I should receive some json data, however, When I run the 
Application, I received some unknown words, I suspect there has some netbeans 
configuration wrong when I run the application.


> read utf-8 file not correct in windows os
> -
>
> Key: NETBEANS-4544
> URL: https://issues.apache.org/jira/browse/NETBEANS-4544
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Affects Versions: 12.0, 11.1, 11.2, 11.3
>Reporter: Albert Flex
>Assignee: Albert Flex
>Priority: Major
> Fix For: Next
>
>
> When I use Netbeans write SpringBoot Application,which is contains spring 
> datajpa, I wrote the schema.sql and data.sql in resources file, When I run 
> application, I should receive some json data, however, When I run the 
> Application, I received some unknown words, I guess there has some netbeans 
> configurations go wrong when I running the application.
> However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
> some correct data. I try the seond times, there is no problem present in 
> linux, instead of windows.



--
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] [Assigned] (NETBEANS-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Albert Flex (Jira)


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

Albert Flex reassigned NETBEANS-4544:
-

Assignee: (was: Albert Flex)

> read utf-8 file not correct in windows os
> -
>
> Key: NETBEANS-4544
> URL: https://issues.apache.org/jira/browse/NETBEANS-4544
> Project: NetBeans
>  Issue Type: Improvement
>  Components: platform - Filesystems
>Affects Versions: 12.0, 11.1, 11.2, 11.3
>Reporter: Albert Flex
>Priority: Major
> Fix For: Next
>
>
> When I use Netbeans write SpringBoot Application,which is contains spring 
> datajpa, I wrote the schema.sql and data.sql in resources file, When I run 
> application, I should receive some json data, however, When I run the 
> Application, I received some unknown words, I guess there has some netbeans 
> configurations go wrong when I running the application.
> However,I use the netbeans on linux( Ubuntu20.04), run successed, I received 
> some correct data. I try the seond times, there is no problem present in 
> linux, instead of windows.



--
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] [Created] (NETBEANS-4544) read utf-8 file not correct in windows os

2020-07-06 Thread Albert Flex (Jira)
Albert Flex created NETBEANS-4544:
-

 Summary: read utf-8 file not correct in windows os
 Key: NETBEANS-4544
 URL: https://issues.apache.org/jira/browse/NETBEANS-4544
 Project: NetBeans
  Issue Type: Improvement
  Components: platform - Filesystems
Affects Versions: 11.3, 11.2, 11.1, 12.0
Reporter: Albert Flex
Assignee: Albert Flex
 Fix For: Next


When I use Netbeans write SpringBoot Application,which is contains spring 
datajpa, I wrote the schema.sql and data.sql in resources file, When I run 
application, I should receive some json data, however, When I run the 
Application, I received some unknown words, I suspect there has some netbeans 
configuration wrong when I run the application.



--
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] [Commented] (NETBEANS-360) Autocomplete, better name matching (fuzzy search)

2020-07-06 Thread Christian Lenz (Jira)


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

Christian Lenz commented on NETBEANS-360:
-

IMHO, it needs to be implemented in this CSL (I think it is called that). 
Because fuzzy search is needed in all supprted languages.

> Autocomplete, better name matching (fuzzy search)
> -
>
> Key: NETBEANS-360
> URL: https://issues.apache.org/jira/browse/NETBEANS-360
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Bo Andersen
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: autocomplete_all.png, autocomplete_search.png
>
>
>  I am using the Netbeans 9 beta release (RC2). I needed a method in a 
> test-framework, and couldn't remember the exact naming, but only some part of 
> it. Netbeans seems only to match the beginning of methods names. I know other 
> IDEs can suggest methods based on naming-parts in a method, I think this is 
> very useful :)
>  
> Update: I added example (attachments) of usage from another IDE, for 
> inspiration



--
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] [Assigned] (NETBEANS-360) Autocomplete, better name matching (fuzzy search)

2020-07-06 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto reassigned NETBEANS-360:
-

Assignee: Junichi Yamamoto

> Autocomplete, better name matching (fuzzy search)
> -
>
> Key: NETBEANS-360
> URL: https://issues.apache.org/jira/browse/NETBEANS-360
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Bo Andersen
>Assignee: Junichi Yamamoto
>Priority: Major
> Attachments: autocomplete_all.png, autocomplete_search.png
>
>
>  I am using the Netbeans 9 beta release (RC2). I needed a method in a 
> test-framework, and couldn't remember the exact naming, but only some part of 
> it. Netbeans seems only to match the beginning of methods names. I know other 
> IDEs can suggest methods based on naming-parts in a method, I think this is 
> very useful :)
>  
> Update: I added example (attachments) of usage from another IDE, for 
> inspiration



--
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] [Commented] (NETBEANS-360) Autocomplete, better name matching (fuzzy search)

2020-07-06 Thread Bo Andersen (Jira)


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

Bo Andersen commented on NETBEANS-360:
--

Is there any road map for implementing this feature for other languages then 
Java? I think this is crucial for a modern IDE to support nowadays, you should 
not be forced to group your methods by prefixed names, but rather be allowed to 
have a more natural language for your method names.

> Autocomplete, better name matching (fuzzy search)
> -
>
> Key: NETBEANS-360
> URL: https://issues.apache.org/jira/browse/NETBEANS-360
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: Next
> Environment: Windows 10
>Reporter: Bo Andersen
>Priority: Major
> Attachments: autocomplete_all.png, autocomplete_search.png
>
>
>  I am using the Netbeans 9 beta release (RC2). I needed a method in a 
> test-framework, and couldn't remember the exact naming, but only some part of 
> it. Netbeans seems only to match the beginning of methods names. I know other 
> IDEs can suggest methods based on naming-parts in a method, I think this is 
> very useful :)
>  
> Update: I added example (attachments) of usage from another IDE, for 
> inspiration



--
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-4543) XML validation breaks with multiple schema files

2020-07-06 Thread Bernard (Jira)


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

Bernard updated NETBEANS-4543:
--
Attachment: MultiSchemaValidation.zip

> XML validation breaks with multiple schema files
> 
>
> Key: NETBEANS-4543
> URL: https://issues.apache.org/jira/browse/NETBEANS-4543
> Project: NetBeans
>  Issue Type: Bug
>  Components: xml - Schema
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: MultiSchemaValidation.zip
>
>
> If an XML file loaded in the editor is validated against multiple schema 
> files, then validation breaks under an observed condition.
> The condition is that definitions in the schema files reference each other. 
> In this case, it appears to be important that the validator builds the schema 
> from the multiple files in such a way that the order in which the files are 
> loaded matching the hierarchy. Dependent files need to be loaded after the 
> files that they depended on.
> I am coming to this conclusion after building a test case. This this test 
> case builds the schema in the correct way, using an iterative brute force 
> approach.
> If the schema files are loaded in the incorrect order, then the schema cannot 
> be built, and validation is not even started.
> I am donating the code in the test case to Apache Netbeans with the aim that 
> the validation using the editor is fixed, using the insight gained from the 
> test case.
>  



--
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] [Created] (NETBEANS-4543) XML validation breaks with multiple schema files

2020-07-06 Thread Bernard (Jira)
Bernard created NETBEANS-4543:
-

 Summary: XML validation breaks with multiple schema files
 Key: NETBEANS-4543
 URL: https://issues.apache.org/jira/browse/NETBEANS-4543
 Project: NetBeans
  Issue Type: Bug
  Components: xml - Schema
Affects Versions: 11.3
Reporter: Bernard


If an XML file loaded in the editor is validated against multiple schema files, 
then validation breaks under an observed condition.

The condition is that definitions in the schema files reference each other. In 
this case, it appears to be important that the validator builds the schema from 
the multiple files in such a way that the order in which the files are loaded 
matching the hierarchy. Dependent files need to be loaded after the files that 
they depended on.

I am coming to this conclusion after building a test case. This this test case 
builds the schema in the correct way, using an iterative brute force approach.

If the schema files are loaded in the incorrect order, then the schema cannot 
be built, and validation is not even started.

I am donating the code in the test case to Apache Netbeans with the aim that 
the validation using the editor is fixed, using the insight gained from the 
test case.

 



--
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] [Commented] (NETBEANS-3992) Fields are shown as unused even there are possible getters and setters via lombok

2020-07-06 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-3992:
---

Unfortunately, supporting Generated Sources and more fine grained Annotation 
Processor handling have not helped as well.

I've seen a few of similar issues reported on Maven as well, so it might be a 
Generic NetBeans java issue or something in Lombok goes south.

> Fields are shown as unused even there are possible getters and setters via 
> lombok
> -
>
> Key: NETBEANS-3992
> URL: https://issues.apache.org/jira/browse/NETBEANS-3992
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler, java - Editor, projects - Gradle
>Affects Versions: 12.0, 11.3
> Environment: OpenJDK 11.0.2
> Gradle 6.2.2, 6.4.1
>Reporter: Netbeans User 2019
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: Lombok
> Attachments: nbissuesproject.zip
>
>
> fields that have getters and setters via lombok is presented as unsued since 
> 11.3 (no such issue has been seen in 11.2)



--
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