[netbeans] branch master updated (ad8c5be -> 09e2823)

2021-03-12 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

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


from ad8c5be  Merge pull request #2805 from 
saulotoledo/fix/incorrect_xdebug3_clipboard_config
 new 33efb0b  Fixing XML that does not validate.
 new cc0f894  Workaround for deadlock while reading input, see JDK-4859836.
 new 666ab66  Fixed exception during workdone/Cancel call. Test added.
 new 09e2823  Merge pull request #2799 from sdedic/lsp/cancellation

The 5088 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../nbcode/integration/nbproject/project.xml   |   2 +-
 java/java.lsp.server/nbproject/project.xml |  17 +++
 .../modules/java/lsp/server/protocol/Server.java   |   5 +
 .../java/lsp/server/protocol/ServerTest.java   | 158 +
 .../nbcode/integration/LspInputOutputProvider.java |  30 
 .../nbcode/integration/LspProgressEnvironment.java |  33 +
 .../maven/indexer/NexusRepositoryIndexerImpl.java  |   2 +-
 .../maven/execute/CommandLineOutputHandler.java|  14 +-
 8 files changed, 230 insertions(+), 31 deletions(-)
 create mode 100644 
java/java.lsp.server/test/unit/src/org/netbeans/modules/nbcode/integration/LspInputOutputProvider.java
 create mode 100644 
java/java.lsp.server/test/unit/src/org/netbeans/modules/nbcode/integration/LspProgressEnvironment.java


-
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-5438] Fix incorrect PHP xdebug3 port config when copying to clipboard

2021-03-12 Thread junichi11
This is an automated email from the ASF dual-hosted git repository.

junichi11 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 94ba8a7  [NETBEANS-5438] Fix incorrect PHP xdebug3 port config when 
copying to clipboard
 new ad8c5be  Merge pull request #2805 from 
saulotoledo/fix/incorrect_xdebug3_clipboard_config
94ba8a7 is described below

commit 94ba8a7f0c1fe8b6491212681e2cdd3f4775f09f
Author: Saulo Soares de Toledo 
AuthorDate: Thu Mar 11 22:59:13 2021 +0100

[NETBEANS-5438] Fix incorrect PHP xdebug3 port config when copying to 
clipboard
---
 .../src/org/netbeans/modules/php/dbgp/ConnectionErrMessage.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/ConnectionErrMessage.java 
b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/ConnectionErrMessage.java
index 8d77411..b10630c 100644
--- a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/ConnectionErrMessage.java
+++ b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/ConnectionErrMessage.java
@@ -311,7 +311,7 @@ public class ConnectionErrMessage extends JPanel {
 StringBuilder sb = new StringBuilder();
 sb.append("xdebug.mode=debug").append(NEWLINE); // NOI18N
 sb.append("xdebug.client_host=localhost").append(NEWLINE); // NOI18N
-
sb.append("xdebug.remote_port=").append(String.valueOf(PhpOptions.getInstance().getDebuggerPort())).append(NEWLINE);
 // NOI18N
+
sb.append("xdebug.client_port=").append(String.valueOf(PhpOptions.getInstance().getDebuggerPort())).append(NEWLINE);
 // NOI18N
 sb.append(String.format("xdebug.idekey=\"%s\"", 
PhpOptions.getInstance().getDebuggerSessionId())); // NOI18N
 return sb.toString();
 }


-
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-5432) ./gradlew in NETBEANS 12.2 Fails on Plugin:

2021-03-12 Thread Matthew Eggers (Jira)


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

Matthew Eggers commented on NETBEANS-5432:
--

Added sample project that demonstrates this issue.

> ./gradlew in NETBEANS 12.2 Fails on Plugin: 
> 
>
> Key: NETBEANS-5432
> URL: https://issues.apache.org/jira/browse/NETBEANS-5432
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
> Environment: {code}
> >System Info:
>   Product Version = Apache NetBeans IDE 12.2
>   Operating System= Mac OS X version 10.15.7 running on x86_64
>   Java; VM; Vendor= 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10; 
> Oracle Corporation
>   Runtime = OpenJDK Runtime Environment 12.0.2+10
>   Java Home   = 
> /Library/Java/JavaVirtualMachines/openjdk-12.0.2.jdk/Contents/Home
>   System Locale; Encoding = en_US (nb); UTF-8
>   Home Directory  = /Users/eggmatters
>   Current Directory   = /
>   User Directory  = /Users/eggmatters/Library/Application 
> Support/NetBeans/12.2
>   Cache Directory = /Users/eggmatters/Library/Caches/NetBeans/12.2
>   Installation= /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/nb
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/ergonomics
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/ide
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/extide
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/java
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/apisupport
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/webcommon
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/websvccommon
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/enterprise
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/profiler
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/php
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/harness
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/cpplite
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/groovy
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/javafx
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/platform
> {code}
>Reporter: Matthew Eggers
>Priority: Major
> Attachments: test-project.zip
>
>
> *Problem (expect / actual )*
> When building a Gradle project, running {{./gradlew clean build}} fails in 
> Netbeans while running it natively builds. 
> *Repro Steps*
> UPDATE: The attached {{test-project.zip}} contains an empty scaffolded 
> project from gradle5.3 which demonstrates the issue.
> * Unzip test-project
> * Open with NetBeans12.2
> Sample Gradle File:
> {code}
> plugins {
> id "com.mkobit.jenkins.pipelines.shared-library" version "0.6.1"
> }
> apply plugin: 'groovy'
> repositories {
> mavenCentral()
> }
> {code}
> Please see the Environment Above 
> Set JDK to 1.8 matching {{$JAVA_HOME}}
> Set Gradle to 5.3 (matching gradle properties)
> Set "Prefer to use gradle wrapper that comes with the project"
> Run "clean build"
> *Expected*
> Output should match what is run in a Bash shell
> *Actual*
> A couple of things happen here. Output of build command is:
> {code:java}
> cd /Users/eggmatters/project-to-build; ./gradlew clean build
> Parallel execution with configuration on demand is an incubating feature.
> FAILURE: Build failed with an exception.
> * What went wrong:
> Could not initialize class com.mkobit.jenkins.pipelines.CodegenTypesKt
>  {code}
> Stacktrace expands to:
> {code:java}
> * Exception is:
> java.lang.NoClassDefFoundError: Could not initialize class 
> com.mkobit.jenkins.pipelines.CodegenTypesKt
> {code}
> *Additional Info*
>  A Notification pops up either on build or configuration change. It issues a 
> low-level warning stating that it cannot load the project. It 

[jira] [Created] (NETBEANS-5446) background scanning of projects 有留下的必要性嗎?請求改善

2021-03-12 Thread rfrkk (Jira)
rfrkk created NETBEANS-5446:
---

 Summary: background scanning of projects 有留下的必要性嗎?請求改善
 Key: NETBEANS-5446
 URL: https://issues.apache.org/jira/browse/NETBEANS-5446
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 12.2
 Environment: notebook

os: windows10

cpu: Intel® Core™ i5-8265U

ram: 8g  ddr4-2400

storage: ssd 500Gb
Reporter: rfrkk


項目改進請求:

netbeans 12.2 載入新的專案,比如HTML/PHP的以laravel框架做的網站專案,總檔案數量約12000多支,這時候便在background 
scanning of projects運作時間很久,約要4到5分鐘且處理器使用量十分高。很令人頭疼。

我不清楚netbeans使用background scanning of 
projects的技術原理以及作用目的,然而我用vscode作和netbeans相同的事情 ( 載入新的專案 
),vscode僅耗費1秒鐘便完成,我無法瞭解為什麼netbeans和vscode之間的差效能差這麼多?

但我仍然使用netbeans工作,只因為它對文字的宣染比vscode好,字體更清晰,vscode的字體看起來有毛邊且顏色較淡,當你使用light theme 
+ new courier regular 差異顯著 。

所以請求改善background scanning of projects,試著改變成vscode的處理方法,讓netbeans更加有效率,謝謝。

 



--
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-5432) ./gradlew in NETBEANS 12.2 Fails on Plugin:

2021-03-12 Thread Matthew Eggers (Jira)


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

Matthew Eggers updated NETBEANS-5432:
-
Description: 
*Problem (expect / actual )*

When building a Gradle project, running {{./gradlew clean build}} fails in 
Netbeans while running it natively builds. 

*Repro Steps*
UPDATE: The attached {{test-project.zip}} contains an empty scaffolded project 
from gradle5.3 which demonstrates the issue.
* Unzip test-project
* Open with NetBeans12.2

Sample Gradle File:
{code}
plugins {
id "com.mkobit.jenkins.pipelines.shared-library" version "0.6.1"
}
apply plugin: 'groovy'

repositories {
mavenCentral()
}

{code}

Please see the Environment Above 

Set JDK to 1.8 matching {{$JAVA_HOME}}

Set Gradle to 5.3 (matching gradle properties)

Set "Prefer to use gradle wrapper that comes with the project"

Run "clean build"

*Expected*

Output should match what is run in a Bash shell

*Actual*

A couple of things happen here. Output of build command is:
{code:java}
cd /Users/eggmatters/project-to-build; ./gradlew clean build
Parallel execution with configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class com.mkobit.jenkins.pipelines.CodegenTypesKt
 {code}
Stacktrace expands to:
{code:java}
* Exception is:
java.lang.NoClassDefFoundError: Could not initialize class 
com.mkobit.jenkins.pipelines.CodegenTypesKt
{code}
*Additional Info*
 A Notification pops up either on build or configuration change. It issues a 
low-level warning stating that it cannot load the project. It then gives some 
Gradle API paths ending in a {{.gradle}} installation for 6.7.:
{code}
org.gradle.api.file.ProjectLayout.directoryProperty(Lorg/gradle/api/provider/Provider;)Lorg/gradle/api/file/DirectoryProperty;org.gradle.api.file.ProjectLayout.directoryProperty(Lorg/gradle/api/provider/Provider;)Lorg/gradle/api/file/DirectoryProperty;Could
 not run build action using connection to Gradle installation 
'/Users/eggmatters/.gradle/wrapper/dists/gradle-6.7-bin/efvqh8uyq79v2n7rcncuhu9sv/gradle-6.7'.
{code}

Also, the Gradle Daemons launched are running under JDK12 (the default JDK) and 
not the project specified one:
{code:java}
 /Library/Java/JavaVirtualMachines/openjdk-12.0.2.jdk/Contents/Home/bin/java 
-XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 
-Duser.country=US -Duser.language=en -Duser.variant -cp 
/Users/eggmatters/.gradle/wrapper/dists/gradle-4.9-all/491wbe0x5d54n9cojs2p0zv90/gradle-4.9/lib/gradle-launcher-4.9.jar
 org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.9

/Library/Java/JavaVirtualMachines/openjdk-12.0.2.jdk/Contents/Home/bin/java 
--add-opens java.base/java.util=ALL-UNNAMED --add-opens 
java.base/java.lang=ALL-UNNAMED --add-opens 
java.base/java.lang.invoke=ALL-UNNAMED --add-opens 
java.prefs/java.util.prefs=ALL-UNNAMED -Dfile.encoding=UTF-8 -Duser.country=US 
-Duser.language=en -Duser.variant -cp 
/Users/eggmatters/.gradle/wrapper/dists/gradle-6.7-bin/efvqh8uyq79v2n7rcncuhu9sv/gradle-6.7/lib/gradle-launcher-6.7.jar
 org.gradle.launcher.daemon.bootstrap.GradleDaemon 6.7
{code}
 There is another similar project which does not rely on the 
"com.mkobit.jenkins.pipelines.shared-library" plugin which has the 
same`build.gradle` otherwise which compiles just fine. 

*TL/DR*
It appears that either Netbeans or Gradle Plugin is running builds in 
{{gradle-6.7}} regardless of gradle image selected in properties.



  was:
*Problem (expect / actual )*

When building a Gradle project, running {{./gradlew clean build}} fails in 
Netbeans while running it natively builds. 

*Repro Steps*
Sample Gradle File:
{code}
plugins {
id "com.mkobit.jenkins.pipelines.shared-library" version "0.6.1"
}
apply plugin: 'groovy'

repositories {
mavenCentral()
}

{code}

Please see the Environment Above 

Set JDK to 1.8 matching {{$JAVA_HOME}}

Set Gradle to 5.3 (matching gradle properties)

Set "Prefer to use gradle wrapper that comes with the project"

Run "clean build"

*Expected*

Output should match what is run in a Bash shell

*Actual*

A couple of things happen here. Output of build command is:
{code:java}
cd /Users/eggmatters/project-to-build; ./gradlew clean build
Parallel execution with configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
Could not initialize class com.mkobit.jenkins.pipelines.CodegenTypesKt
 {code}
Stacktrace expands to:
{code:java}
* Exception is:
java.lang.NoClassDefFoundError: Could not initialize class 
com.mkobit.jenkins.pipelines.CodegenTypesKt
{code}
*Additional Info*
 A Notification pops up either on build or configuration change. It issues a 
low-level warning stating that it cannot load the project. It then gives some 
Gradle API paths ending in a {{.gradle}} installation for 6.7.:
{code}

[jira] [Updated] (NETBEANS-5432) ./gradlew in NETBEANS 12.2 Fails on Plugin:

2021-03-12 Thread Matthew Eggers (Jira)


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

Matthew Eggers updated NETBEANS-5432:
-
Attachment: test-project.zip

> ./gradlew in NETBEANS 12.2 Fails on Plugin: 
> 
>
> Key: NETBEANS-5432
> URL: https://issues.apache.org/jira/browse/NETBEANS-5432
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
> Environment: {code}
> >System Info:
>   Product Version = Apache NetBeans IDE 12.2
>   Operating System= Mac OS X version 10.15.7 running on x86_64
>   Java; VM; Vendor= 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10; 
> Oracle Corporation
>   Runtime = OpenJDK Runtime Environment 12.0.2+10
>   Java Home   = 
> /Library/Java/JavaVirtualMachines/openjdk-12.0.2.jdk/Contents/Home
>   System Locale; Encoding = en_US (nb); UTF-8
>   Home Directory  = /Users/eggmatters
>   Current Directory   = /
>   User Directory  = /Users/eggmatters/Library/Application 
> Support/NetBeans/12.2
>   Cache Directory = /Users/eggmatters/Library/Caches/NetBeans/12.2
>   Installation= /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/nb
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/ergonomics
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/ide
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/extide
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/java
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/apisupport
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/webcommon
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/websvccommon
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/enterprise
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/profiler
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/php
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/harness
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/cpplite
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/groovy
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/javafx
> /Applications/NetBeans/Apache NetBeans 
> 12.2.app/Contents/Resources/NetBeans/netbeans/platform
> {code}
>Reporter: Matthew Eggers
>Priority: Major
> Attachments: test-project.zip
>
>
> *Problem (expect / actual )*
> When building a Gradle project, running {{./gradlew clean build}} fails in 
> Netbeans while running it natively builds. 
> *Repro Steps*
> Sample Gradle File:
> {code}
> plugins {
> id "com.mkobit.jenkins.pipelines.shared-library" version "0.6.1"
> }
> apply plugin: 'groovy'
> repositories {
> mavenCentral()
> }
> {code}
> Please see the Environment Above 
> Set JDK to 1.8 matching {{$JAVA_HOME}}
> Set Gradle to 5.3 (matching gradle properties)
> Set "Prefer to use gradle wrapper that comes with the project"
> Run "clean build"
> *Expected*
> Output should match what is run in a Bash shell
> *Actual*
> A couple of things happen here. Output of build command is:
> {code:java}
> cd /Users/eggmatters/project-to-build; ./gradlew clean build
> Parallel execution with configuration on demand is an incubating feature.
> FAILURE: Build failed with an exception.
> * What went wrong:
> Could not initialize class com.mkobit.jenkins.pipelines.CodegenTypesKt
>  {code}
> Stacktrace expands to:
> {code:java}
> * Exception is:
> java.lang.NoClassDefFoundError: Could not initialize class 
> com.mkobit.jenkins.pipelines.CodegenTypesKt
> {code}
> *Additional Info*
>  A Notification pops up either on build or configuration change. It issues a 
> low-level warning stating that it cannot load the project. It then gives some 
> Gradle API paths ending in a {{.gradle}} installation for 6.7.:
> {code}
> 

[jira] [Created] (NETBEANS-5445) background scanning of projects 有留下的必要性嗎?請求改善

2021-03-12 Thread rfrkk (Jira)
rfrkk created NETBEANS-5445:
---

 Summary: background scanning of projects 有留下的必要性嗎?請求改善
 Key: NETBEANS-5445
 URL: https://issues.apache.org/jira/browse/NETBEANS-5445
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 12.2
 Environment: notebook

os: windows10

cpu: Intel® Core™ i5-8265U

ram: 8g  ddr4-2400

storage: ssd 500Gb
Reporter: rfrkk


項目改進請求:

netbeans 12.2 載入新的專案,比如HTML/PHP的以laravel框架做的網站專案,總檔案數量約12000多支,這時候便在background 
scanning of projects運作時間很久,約要4到5分鐘且處理器使用量十分高。很令人頭疼。

我不清楚netbeans使用background scanning of 
projects的技術原理以及作用目的,然而我用vscode作和netbeans相同的事情 ( 載入新的專案 
),vscode僅耗費1秒鐘便完成,我無法瞭解為什麼netbeans和vscode之間的差效能差這麼多?

但我仍然使用netbeans工作,只因為它對文字的宣染比vscode好,字體更清晰,vscode的字體看起來有毛邊且顏色較淡,當你使用light theme 
+ new courier regular 差異顯著 。

所以請求改善background scanning of projects,試著改變成vscode的處理方法,讓netbeans更加有效率,謝謝。

 



--
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-5444) Usage Statistics Learn More link redirects to 404

2021-03-12 Thread Premek Vyhnal (Jira)


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

Premek Vyhnal updated NETBEANS-5444:

Description: 
The Learn more link in the Usage Statistics window links to 

[http://netbeans.org/about/usage-tracking.html]

which redirects to

[https://netbeans.apache.org//about/usage-tracking.html] (Page not found)

 

I'd like to try to make a PR but I haven't find the right URL to link to

 

!Screenshot from 2021-03-13 01-11-37.png!

  was:
The Learn more link in the Usage Statistics window links to 

[http://netbeans.org/about/usage-tracking.html]

which redirects to

[https://netbeans.apache.org//about/usage-tracking.html]

 

I'd like to try to make a PR but I haven't find the right URL to link to

 

!Screenshot from 2021-03-13 01-11-37.png!


> Usage Statistics Learn More link redirects to 404
> -
>
> Key: NETBEANS-5444
> URL: https://issues.apache.org/jira/browse/NETBEANS-5444
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.3
>Reporter: Premek Vyhnal
>Priority: Minor
> Attachments: Screenshot from 2021-03-13 01-11-37.png
>
>
> The Learn more link in the Usage Statistics window links to 
> [http://netbeans.org/about/usage-tracking.html]
> which redirects to
> [https://netbeans.apache.org//about/usage-tracking.html] (Page not found)
>  
> I'd like to try to make a PR but I haven't find the right URL to link to
>  
> !Screenshot from 2021-03-13 01-11-37.png!



--
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-5444) Usage Statistics Learn More link redirects to 404

2021-03-12 Thread Premek Vyhnal (Jira)
Premek Vyhnal created NETBEANS-5444:
---

 Summary: Usage Statistics Learn More link redirects to 404
 Key: NETBEANS-5444
 URL: https://issues.apache.org/jira/browse/NETBEANS-5444
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.3
Reporter: Premek Vyhnal
 Attachments: Screenshot from 2021-03-13 01-11-37.png

The Learn more link in the Usage Statistics window links to 

[http://netbeans.org/about/usage-tracking.html]

which redirects to

[https://netbeans.apache.org//about/usage-tracking.html]

 

I'd like to try to make a PR but I haven't find the right URL to link to

 

!Screenshot from 2021-03-13 01-11-37.png!



--
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-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Christian Oyarzun (Jira)


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

Christian Oyarzun commented on NETBEANS-5037:
-

[~bryanhiggs] and [~geertjan],

I ran a few tests on my Big Sur VM. The workarounds options are as follow.
 # Change "Perfer Tabs" to never for all applications in the setting panel. But 
this affect every macOS application.
 # For Java 8 use the following to apply to all Java applications
{noformat}
defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
{noformat}

 # For Java 11+ you need the specific Java Version and use the following to 
apply to all Java applications
{noformat}
defaults write net.java.openjdk.15.0.2.java "AppleWindowTabbingMode" never
defaults write net.java.openjdk.11.0.9.1.java "AppleWindowTabbingMode" never
defaults write net.java.openjdk.11.0.9.java "AppleWindowTabbingMode" never
{noformat}

You can find the Java Version with java_home -V.
{noformat}
% /usr/libexec/java_home -V
Matching Java Virtual Machines (4):
15.0.2 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 15" 
/Library/Java/JavaVirtualMachines/adoptopenjdk-15.jdk/Contents/Home
11.0.9.1 (x86_64) "Amazon.com Inc." - "Amazon Corretto 11" 
/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home
11.0.9 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 11" 
/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
1.8.0_275 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 8" 
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
{noformat}

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
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: Fixed failing test.

2021-03-12 Thread sdedic
This is an automated email from the ASF dual-hosted git repository.

sdedic 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 deb0599  Fixed failing test.
 new 5c8f27d  Merge pull request #2807 from sdedic/bugfix/primingActionTest
deb0599 is described below

commit deb0599130abf10794e6dec659b0ebeca36631e5
Author: Svata Dedic 
AuthorDate: Fri Mar 12 17:30:00 2021 +0100

Fixed failing test.
---
 .../org/netbeans/modules/maven/problems/PrimingActionTest.java| 8 
 1 file changed, 8 deletions(-)

diff --git 
a/java/maven/test/unit/src/org/netbeans/modules/maven/problems/PrimingActionTest.java
 
b/java/maven/test/unit/src/org/netbeans/modules/maven/problems/PrimingActionTest.java
index ae9f710..d9c0cae 100644
--- 
a/java/maven/test/unit/src/org/netbeans/modules/maven/problems/PrimingActionTest.java
+++ 
b/java/maven/test/unit/src/org/netbeans/modules/maven/problems/PrimingActionTest.java
@@ -80,14 +80,6 @@ public class PrimingActionTest extends NbTestCase {
 + "  m" 
 + "  g"
 + "0"
-+ "  "
-+ ""
-+ "  io.micronaut"
-+ "  micronaut-validation"
-+ "  2.3.3"
-+ "  compile"
-+ ""
-+ "  "
 + "");
 
 }


-
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-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Dr Bryan J Higgs (Jira)


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

Dr Bryan J Higgs commented on NETBEANS-5037:


Thank you for the clarification, [~geertjan] .

It does seem that the ball is in the JDK's support, as you say. 

But I don't understand (and perhaps they don't, either) why it is that things 
fail in one account, and not in another, even on the same machine.

The last entry on that JDK Bug System page says:

_When we set Preferences -> General -> "Prefer tabs" to "never"._
_It doesn't freeze in Full Screen and without the full screen._

So, I finally figured out where I could do that (in Apple System Preferences), 
set the Prefer tabs to "Never", and then started up NetBeans in my account. 
Plugins now no longer hangs. YAY! (I haven't looked elsewhere to see whether 
all the hangs have disappeared, as I never did that earlier; I only experienced 
a couple of them, and it got annoying to have to Force Quit every time.)

That may very well be the explanation about why some users have the problem and 
others don't.

Could NetBeans find some way of detecting on NetBeans startup that the tabbing 
mode is not set to "Never" in a user's account, and warn them about the 
problem, and the workaround?

 

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
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-5443) Link 2 javadb-consult.zip not available

2021-03-12 Thread Jo (Jira)
Jo created NETBEANS-5443:


 Summary: Link 2 javadb-consult.zip not available
 Key: NETBEANS-5443
 URL: https://issues.apache.org/jira/browse/NETBEANS-5443
 Project: NetBeans
  Issue Type: Bug
Reporter: Jo


Hi,

on tutorial [https://netbeans.apache.org//kb/docs/web/jsf20-crud.html] the link 
is not working to javadb-consult.zip

KR
Jo



--
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-5442) Adding folder of Jar files to classpath has no effect.

2021-03-12 Thread Nick Anthony (Jira)
Nick Anthony created NETBEANS-5442:
--

 Summary: Adding folder of Jar files to classpath has no effect.
 Key: NETBEANS-5442
 URL: https://issues.apache.org/jira/browse/NETBEANS-5442
 Project: NetBeans
  Issue Type: Bug
  Components: java - Classpath
Affects Versions: 12.0, 9.0, 8.2
 Environment: Windows 7 and Windows 10. Other platforms untested.
Reporter: Nick Anthony


In "project properties -> Libraries -> Compile" if I add a folder to the 
classpath rather than adding every .jar file individually the .jar files in the 
directory don't actually end up on the classpath.

 

Everything looks fine in the "Project Properties" window. The folder shows up 
and it can be expanded to show all the contents of the folder. But in the code 
editor none of the dependencies are found. If I try to compile or debug it 
fails since the dependencies aren't found.

 

I tried making some edits to the path in the project's "project.properties" 
files but didn't have any success.



--
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-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5037:
-

I feel your pain, [~bryanhiggs]. The problem isn't encountered on non-Swing 
based IDEs because they don't use Swing, where the problem is, and where the 
solution also is, apparently, as described here:

https://bugs.openjdk.java.net/browse/JDK-8256465

Does that help? And, indeed, since this happens on the JDK level, there's only 
going to be various hacks and workarounds until this is fixed in the JDK. You 
could add your comments and thoughts to the issue above.

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
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-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Dr Bryan J Higgs (Jira)


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

Dr Bryan J Higgs commented on NETBEANS-5037:


I realize that some of you may be arguing that this is a user problem, perhaps 
with permissions in some macOS user accounts, but not in others. But it clearly 
is impacting a number of users, and is definitely not a good reflection on 
NetBeans.

By comparison, I also have Eclipse installed on the same system, and have been 
using it productively ever since I found that NetBeans was behaving badly. They 
seem to have no problems (at least that I have become aware of).

So I urge you to take this seriously, and try to figure out how to avoid these 
kinds of problems. Some of us would much prefer to be getting work done in Java 
than trying to learn the arcane corners of macOS, or Terminal commands just to 
get around these kinds of problems.

I'm hoping that you take the above in the supportive spirit in which it's 
intended. (And, yes, I've been in Software Engineering positions myself, so I 
know the kinds of things that occur in those environments.)

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
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] [Comment Edited] (NETBEANS-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Dr Bryan J Higgs (Jira)


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

Dr Bryan J Higgs edited comment on NETBEANS-5037 at 3/12/21, 6:39 PM:
--

I downloaded NetBeans 12.3, and executed the command listed above:

defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never

and then tried running NetBeans. It came up, but when I clicked on (for 
example) Tools>Plugins, up comes a large window (not a dialog), and the entire 
NetBeans UI locks up. Even the Netbeans menu is unresponsive.

So, I tried the above recommendation 
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]

although I'm running on macOS Big Sur (Version 11.2.3 – the latest). I ran it 
as suggested in a Terminal, and it took a while but completed successfully. (It 
didn't say whether it actually made any changes)

Unfortunately, that made no difference, either. Plugins still hangs.

So, I created a new non-administrator user account (my account is an 
administrator), and tried to run NetBeans 12.3 from there. It worked, and 
plugins did not cause the entire NetBeans GUI to freeze.

 

Then, I tried using a sudo command to fire up NetBeans from a Terminal, from my 
own (administrator) account. NetBeans came up, but it was without prior context 
(i.e. no existing projects). Plugins displayed its dialog box, and did NOT 
freeze the UI. However, I noticed the following in my Terminal window:



$ sudo Apache\ NetBeans\ 12.3.app//Contents/MacOS/netbeans

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by 
org.netbeans.swing.dirchooser.DelegatingChooserUI 
(jar:file:/Applications/NetBeans/Apache%20NetBeans%2012.3.app/Contents/Resources/NetBeans/netbeans/ide/modules/org-netbeans-swing-dirchooser.jar!/)
 to method com.apple.laf.AquaFileChooserUI.createUI(javax.swing.JComponent)

WARNING: Please consider reporting this to the maintainers of 
org.netbeans.swing.dirchooser.DelegatingChooserUI

WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations

WARNING: All illegal access operations will be denied in a future release



I have no idea what this means, nor whether it's something to worry about, but 
I don't plan on using this sudo command to fire up NetBeans for real work.

FWIW, I noticed the mistyped double slash in the above command

sudo Apache\ NetBeans\ 12.3.app//Contents/MacOS/netbeans

so I retried it with a single slash:

sudo Apache\ NetBeans\ 12.3.app/Contents/MacOS/netbeans

now, it doesn't produce the same WARNINGs. For whatever that might be worth...


was (Author: bryanhiggs):
I downloaded NetBeans 12.3, and executed the command listed above:


 defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never


 and then tried running NetBeans. It came up, but when I clicked on (for 
example) Tools>Plugins, up comes a large window (not a dialog), and the entire 
NetBeans UI locks up. Even the Netbeans menu is unresponsive.

So, I tried the above recommendation 
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]

although I'm running on macOS Big Sur (Version 11.2.3 – the latest). I ran it 
as suggested in a Terminal, and it took a while but completed successfully. (It 
didn't say whether it actually made any changes)

Unfortunately, that made no difference, either. Plugins still hangs.

So, I created a new non-administrator user account (my account is an 
administrator), and tried to run NetBeans 12.3 from there. It worked, and 
plugins did not cause the entire NetBeans GUI to freeze.

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission 

[jira] [Comment Edited] (NETBEANS-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Dr Bryan J Higgs (Jira)


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

Dr Bryan J Higgs edited comment on NETBEANS-5037 at 3/12/21, 6:04 PM:
--

I downloaded NetBeans 12.3, and executed the command listed above:


 defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never


 and then tried running NetBeans. It came up, but when I clicked on (for 
example) Tools>Plugins, up comes a large window (not a dialog), and the entire 
NetBeans UI locks up. Even the Netbeans menu is unresponsive.

So, I tried the above recommendation 
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]

although I'm running on macOS Big Sur (Version 11.2.3 – the latest). I ran it 
as suggested in a Terminal, and it took a while but completed successfully. (It 
didn't say whether it actually made any changes)

Unfortunately, that made no difference, either. Plugins still hangs.

So, I created a new non-administrator user account (my account is an 
administrator), and tried to run NetBeans 12.3 from there. It worked, and 
plugins did not cause the entire NetBeans GUI to freeze.


was (Author: bryanhiggs):
I downloaded NetBeans 12.3, and executed the above command:
 defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
 and then tried running NetBeans. It came up, but when I clicked on (for 
example) Tools>Plugins, up comes a large window (not a dialog), and the entire 
NetBeans UI locks up. Even the Netbeans menu is unresponsive.

So, I tried the above recommendation 
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]

although I'm running on macOS Big Sur (Version 11.2.3 – the latest). I ran it 
as suggested in a Terminal, and it took a while but completed successfully. (It 
didn't say whether it actually made any changes)

Unfortunately, that made no difference, either. Plugins still hangs.

So, I created a new non-administrator user account (my account is an 
administrator), and tried to run NetBeans 12.3 from there. It worked, and 
plugins did not cause the entire NetBeans GUI to freeze.

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
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-website] branch master updated (458d1cd -> e752f4e)

2021-03-12 Thread neilcsmith
This is an automated email from the ASF dual-hosted git repository.

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


from 458d1cd  Merge pull request #541 from 
apjanke/fix-bad-code-fence-in-nodes-tutorial
 new d7f148f  Fix Javadoc link on nb123 page.
 new 51d8d69  Move nb122 links to archive.apache.org.
 new f4a22b8  Remove references to LTS being annual or released in 2021.
 new e752f4e  Merge pull request #540 from neilcsmith-net/post-nb123

The 1364 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/content/download/nb120/index.asciidoc  |  2 +-
 .../src/content/download/nb122/nb122.asciidoc  | 22 +++---
 .../src/content/download/nb123/index.asciidoc  |  2 +-
 .../src/content/download/nb123/nb123.asciidoc  |  2 +-
 4 files changed, 14 insertions(+), 14 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-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Dr Bryan J Higgs (Jira)


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

Dr Bryan J Higgs edited comment on NETBEANS-5037 at 3/12/21, 5:09 PM:
--

I downloaded NetBeans 12.3, and executed the above command:
 defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
 and then tried running NetBeans. It came up, but when I clicked on (for 
example) Tools>Plugins, up comes a large window (not a dialog), and the entire 
NetBeans UI locks up. Even the Netbeans menu is unresponsive.

So, I tried the above recommendation 
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]

although I'm running on macOS Big Sur (Version 11.2.3 – the latest). I ran it 
as suggested in a Terminal, and it took a while but completed successfully. (It 
didn't say whether it actually made any changes)

Unfortunately, that made no difference, either. Plugins still hangs.

So, I created a new non-administrator user account (my account is an 
administrator), and tried to run NetBeans 12.3 from there. It worked, and 
plugins did not cause the entire NetBeans GUI to freeze.


was (Author: bryanhiggs):
I downloaded NetBeans 12.3, and executed the above command:
defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
and then tried running NetBeans. It came up, but when I clicked on (for 
example) Tools>Plugins, up comes a large window (not a dialog), and the entire 
NetBeans UI locks up. Even the Netbeans menu is unresponsive.

So, I tried the above recommendation 
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
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-5037) NetBeans dialog windows in Big Sur

2021-03-12 Thread Dr Bryan J Higgs (Jira)


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

Dr Bryan J Higgs commented on NETBEANS-5037:


I downloaded NetBeans 12.3, and executed the above command:
defaults write net.java.openjdk.cmd "AppleWindowTabbingMode" never
and then tried running NetBeans. It came up, but when I clicked on (for 
example) Tools>Plugins, up comes a large window (not a dialog), and the entire 
NetBeans UI locks up. Even the Netbeans menu is unresponsive.

So, I tried the above recommendation 
([https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/)|https://www.catalinaosx.com/how-to-fix-permissions-issue-on-catalina-osx/]

> NetBeans dialog windows in Big Sur
> --
>
> Key: NETBEANS-5037
> URL: https://issues.apache.org/jira/browse/NETBEANS-5037
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Search, editor - Settings, platform - Plugin 
> Manager
>Affects Versions: 8.2, 12.0, 11.1, 11.3, 12.1, 12.2
> Environment: macOS 11.0.2
>Reporter: Donatello Santoro
>Priority: Major
> Attachments: netbeans.conf, settings.png
>
>
> In macOS Big Sur some NetBeans panels (settings and find in project) are 
> broken:
>  * they are shown in full screen, as tab, please see screenshot 
>  * when they are shown, NB completely hangs, with high CPU usage.
> I tried almost every version of NetBeans (from 8.2 to 12.2rc) with every JDK 
> (1.8, 11, 13, 15), with the same behavior.
> The only way I have to solve the issue is to run NB as sudo
> {code:java}
> sudo /Applications/NetBeans/Apache\ NetBeans\ 12.1.app/Contents/MacOS/netbeans
> {code}
> Of course this is a permission related issue, but it appears only on 
> NetBeans. Other Java apps seems not affected. On command line there are no 
> evidence of the crash.
> Finally, in our office we are 4 with the same MacBook, and same macOS (just 
> upgraded from Catalina to Big Sur). 2 out of 4 have this issue. The other 2 
> can run NB without the sudo command.



--
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-website] branch master updated: Fix bad code fence in Asciidoc for Nodes tutorial

2021-03-12 Thread geertjan
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new f720bf1  Fix bad code fence in Asciidoc for Nodes tutorial
 new 458d1cd  Merge pull request #541 from 
apjanke/fix-bad-code-fence-in-nodes-tutorial
f720bf1 is described below

commit f720bf16f9f6ec3a8e03032a19d87ea6664821ee
Author: Andrew Janke 
AuthorDate: Fri Mar 12 10:48:03 2021 -0500

Fix bad code fence in Asciidoc for Nodes tutorial
---
 netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc 
b/netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc
index ffcd68b..5ff71d6 100644
--- a/netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc
+++ b/netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc
@@ -335,7 +335,7 @@ import org.openide.nodes.AbstractNode;
 import org.openide.nodes.Children;
 import org.openide.util.ImageUtilities;
 import org.openide.util.lookup.Lookups;
-```
+
 
 
 [start=3]


-
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-5441) MultiPassCompileWorker caused an exception

2021-03-12 Thread Javier A. Ortiz (Jira)
Javier A. Ortiz created NETBEANS-5441:
-

 Summary: MultiPassCompileWorker caused an exception
 Key: NETBEANS-5441
 URL: https://issues.apache.org/jira/browse/NETBEANS-5441
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.3
Reporter: Javier A. Ortiz


 
{code:xml}

  2021-03-12T07:54:02
  1615557242027
  324
  900
  33
  MultiPassCompileWorker caused an exception
File: 
file:/Users/javierortiz/Documents/P14C/p14c-selenium-tests/p14c-selenium-page-objects/src/main/java/com/pingidentity/pageobjects/myaccount/ViewProfilePage.java
Root: 
/Users/javierortiz/Documents/P14C/p14c-selenium-tests/p14c-selenium-page-objects/src/main/java
Bootpath: 
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/classes:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/System/Library/Java/Extensions/MRJToolkit.jar
Classpath: 

[jira] [Updated] (NETBEANS-5440) NPE on code formatting

2021-03-12 Thread Jira


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

Jörg Delker updated NETBEANS-5440:
--
Description: 
When performing code formatting on a particular java class, NB throws the 
following NPE:

{{
java.lang.NullPointerException
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4579)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4531)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitIf(Reformatter.java:2585)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitIf(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1433)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1559)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1052)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:648)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:397)
at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514)
at 
org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228)
at 
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101)
at 
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
at 

[jira] [Created] (NETBEANS-5440) NPE on code formatting

2021-03-12 Thread Jira
Jörg Delker created NETBEANS-5440:
-

 Summary: NPE on code formatting
 Key: NETBEANS-5440
 URL: https://issues.apache.org/jira/browse/NETBEANS-5440
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Formatting  Indentation
Affects Versions: 12.2
 Environment: Netbeans 12.2

macosx 11.2.3

OpenJDK 11
Reporter: Jörg Delker


When performing code formatting on a particular java class, NB throws the 
following NPE:

{{java.lang.NullPointerException}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4579)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.wrapStatement(Reformatter.java:4531)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitIf(Reformatter.java:2585)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitIf(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCIf.accept(JCTree.java:1433)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1559)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1052)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:648)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:397)}}
{{ at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)}}
{{ at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228)}}
{{ at 
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101)}}
{{ at 

[jira] [Created] (NETBEANS-5439) Netbeans 12.2 doesn't show iCloud Documents content in dialogue

2021-03-12 Thread Lee Collings (Jira)
Lee Collings created NETBEANS-5439:
--

 Summary: Netbeans 12.2 doesn't show iCloud Documents content in 
dialogue
 Key: NETBEANS-5439
 URL: https://issues.apache.org/jira/browse/NETBEANS-5439
 Project: NetBeans
  Issue Type: Bug
Reporter: Lee Collings
 Attachments: Screenshot 2021-03-12 at 11.37.13.png

I’ve recently upgraded to OS 11.2.2, and cannot navigate to my projects, which 
are stored in my iCloud Documents folder.

When the open dialogue opens, the ‘Documents’ folder listed in my home is my 
old documents, and not the one iCloud uses. So I have no method now to find any 
of my projects.

This used to work OK in version 11 of Netbeans, so perhaps it’s an update to 12 
that needs fixing, I’m not sure if it’s specific to Mac OS 11 or not.

Can you please let me know where the best place I can go to raise this please 
and try to resolve this? At the moment, Netbeans is completely unusable to me.

 

 



--
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-5438) Incorrect PHP xdebug3 port config while copying to clipboard

2021-03-12 Thread Junichi Yamamoto (Jira)


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

Junichi Yamamoto updated NETBEANS-5438:
---
Component/s: (was: cnd - Other)
 php - Debugger

> Incorrect PHP xdebug3 port config while copying to clipboard
> 
>
> Key: NETBEANS-5438
> URL: https://issues.apache.org/jira/browse/NETBEANS-5438
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Debugger
>Affects Versions: 12.2, 12.3
>Reporter: Saulo Soares de Toledo
>Assignee: Saulo Soares de Toledo
>Priority: Trivial
>  Labels: easyfix, pull-request-available
> Attachments: Incorrectly-copied-values.png, 
> Netbeans-showing-correct-config.png
>
>   Original Estimate: 0.5h
>  Time Spent: 20m
>  Remaining Estimate: 10m
>
> The xdebug {{remote_port}} configuration was replaced by {{client_port}}, as 
> described in [the xdebug upgrade 
> guidelines|https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port]. 
> Netbeans suggests the configuration correctly and allows the user to copy it 
> to the clipboard (see attachment "Netbeans-showing-correct-config.png")
> However, when the user copies the values, the IDE copies the old value 
> instead of the new one, as shown in the attachment 
> "Incorrectly-copied-values.png".



--
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-2737) Gradle - Test task - Recompiles everything every time

2021-03-12 Thread Svatopluk Dedic (Jira)


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

Svatopluk Dedic commented on NETBEANS-2737:
---

[~lkishalmi] I beleive this issue is resolved by NETBEANS-5353

> Gradle - Test task - Recompiles everything every time
> -
>
> Key: NETBEANS-2737
> URL: https://issues.apache.org/jira/browse/NETBEANS-2737
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.0
> Environment: Windows 10
> NetBeans 11.0
> Gradle 5.4
> RedHat's OpenJDK 11
>Reporter: Mathieu Fournier
>Assignee: Laszlo Kishalmi
>Priority: Major
>
> In NetBeans 11.0, for a Gradle Project, when we run task "Test", it passes 
> the parameter "--rerun-tasks" which will recompile every dependencies for the 
> test even if no changes were made.
> In NetBeans 8.2 with Gradle Plugin (1.4.4), it called 
> ":ProjectName:cleanTests :ProjectName:test".
> I can override the "test" task so that it doesn't pass the "--rerun-tasks", 
> but with issue NETBEANS-2735, I would need to do it for every sub-project...
> Also, with bug NETBEANS-2736, we cannot override "debug.test.single" and 
> "test.single" to remove the "--rerun-tasks".



--
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-5349) Update Netbeans Codebase to Account for deprecated/removed API in Java 11/15

2021-03-12 Thread Eric Bresie (Jira)


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

Eric Bresie commented on NETBEANS-5349:
---

Not sure if this impacts anything but... from OpenJFX mailing list I find...

“The following primitive constructors were deprecated in JDK 9 and are 
deprecated for removal in JDK 16. 

java.lang.Byte 
java.lang.Short 
java.lang.Integer 
java.lang.Long 
java.lang.Float 
java.lang.Double 
java.lang.Character 
java.lang.Boolean 

[May require changes to] removes call to the primitive constructors with the 
`valueOf()` factory method of respective class. 
Calls like the following to create array get autoboxed so it does not require a 
The following primitive constructors were deprecated in JDK 9 and are 
deprecated for removal in JDK 16. 

java.lang.Byte 
java.lang.Short 
java.lang.Integer 
java.lang.Long 
java.lang.Float 
java.lang.Double 
java.lang.Character 
java.lang.Boolean 

 change [needs to] removes call to the primitive constructors with the 
`valueOf()` factory method of respective class. 
Calls like the following to create array get autoboxed so it does not require a 
change. 

`Double dArr[] = new Double[] {10.1, 20.2};` 

> Update Netbeans Codebase to Account for deprecated/removed API in Java 11/15
> 
>
> Key: NETBEANS-5349
> URL: https://issues.apache.org/jira/browse/NETBEANS-5349
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
> Environment: As this is Java emphasis this should impact each OS 
> environment and involve the applicable Java involved (i.e. as of a given Java 
> version, the API may no longer be available and require replacements to newer 
> APIs)
>Reporter: Eric Bresie
>Priority: Major
> Attachments: Java-Deprecated-RemovedApis(11-15).csv
>
>
> In more recent Java releases, efforts have been made to deprecate and remove 
> unused or out of data APIs.  This ticket is a parent ticket to address future 
> updates to applicable projects where the NetBeans codebase utilized these 
> deprecated and/or removed interfaces. 
> This ticket has emphasis on Java 11 depreciations but similar type of work 
> could be done on newer java releases going forward (i.e. each LTS release)
> For items related as of Java 11 see 
> [https://docs.oracle.com/en/java/javase/11/docs/api/deprecated-list.html]
> As part of this work, it will requiring analysis of each project code base 
> and identify where depreciated or removed API are in used,  For each of the 
> given occurrences the 
> When changes are implemented, this will impact the build source (and possible 
> target) dependencies (i.e. changes will be needed anyplace where 
> javac.source, javac.target) may be impacted.  These would have to be updated 
> to be version relative to the applicable version.
> For items related as of Java 15 See
> [https://docs.oracle.com/en/java/javase/15/docs/api/deprecated-list.html]
>  



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