[jira] [Commented] (NETBEANS-3927) MacOS Dark Theme - NB Dialogs and ExplorerViews hard to see text

2020-04-17 Thread Randall Wood (Jira)


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

Randall Wood commented on NETBEANS-3927:


I found this is only a problem if the macOS system has Apple's _Dark_ or _Auto_ 
appearance configured (I use _Auto_ to automatically switch between _Dark_ and 
_Light_ based on time of day).

 

With the _Dark_ appearance active when starting NetBeans, the problem is as 
described. With the _Light_ appearance active when starting NetBeans, the 
problem is not apparent at all.

With the _Auto_ appearance configured, if NetBeans is started while _Light_ 
everything works, but when the OS switches, some NetBeans UI elements (notably 
the status bar) change background color, but not foreground color (so the text 
become black on almost black and unreadable).

 

> MacOS Dark Theme - NB Dialogs and ExplorerViews hard to see text
> 
>
> Key: NETBEANS-3927
> URL: https://issues.apache.org/jira/browse/NETBEANS-3927
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 11.2, 11.3
>Reporter: Tim
>Priority: Major
> Attachments: Screen Shot 2020-02-28 at 12.26.23 PM.png, Screen Shot 
> 2020-02-28 at 12.34.07 PM.png
>
>
> Hi,
> When running NetBean 11.2 or even the latest 11.3 (from source) using the 
> MacOS L&F all dialogs and text appear unreadable until selected.
> In fact, it appears that all the NetBeans ExplorerView components have an 
> issue with rendering using the Mac OS X look and feel.. the text color 
> appears white and hard to see.
> Checking the 'Maximize use of Native Look and Feel' helps the dialogs because 
> it uses the Finder dialogs..but it doesn't fix the ExplorerView components.
>  
>  



--
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-3972) Unable to git commit changes with GPG signing

2020-04-17 Thread Kevin Andrews (Jira)


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

Kevin Andrews commented on NETBEANS-3972:
-

Got to the point of making bouncycastle (GPG/PGP lib) trying to find the 
private key via the public signing key last night. Mostly hardcoded dud code at 
the moment just to see if the underlying libraries work as intended, as i've 
seen a few bug reports and issues while Eclipse implemented this feature both 
in jGit and Eclipse the IDE.

At the moment it's failing to find the related private key, however it is 
finding the correct .gnupg/pubring.kbx file as i've seen this referenced while 
implementing a credential provider to pass to jgit->commit

> Unable to git commit changes with GPG signing
> -
>
> Key: NETBEANS-3972
> URL: https://issues.apache.org/jira/browse/NETBEANS-3972
> Project: NetBeans
>  Issue Type: Bug
>  Components: versioncontrol - Git
>Affects Versions: 12.0, 11.3
>Reporter: Kevin Andrews
>Priority: Minor
>
> After setting up git GPG key signing on the repo config:
> {code:java}
> [user] 
> name = XX
> email =  XX
> signingkey = XX
> [commit] 
> gpgsign = true{code}
> I can commit in a terminal and commits are signed, however through NetBeans I 
> get the following error after entering a commit message and clicking commit:
> {code:java}
> 
>   2020-03-06T21:35:15
>   1583530515293
>   21894
>   org.netbeans.ui.focus
>   500
>   138
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   25
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21895
>   org.netbeans.ui.actions
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   javax.swing.JMenuItem[Commit...]
>   javax.swing.JMenuItem
>   
> org.netbeans.modules.versioning.util.SystemActionBridge[Commit...]
>   org.netbeans.modules.versioning.util.SystemActionBridge
>   Commit...
> 
> 
>   2020-03-06T21:35:17
>   1583530517740
>   21896
>   org.netbeans.ui.SystemActionBridge
>   400
>   22
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   
>   
>   
> org.netbeans.modules.git.ui.commit.CommitAction[Co&mmit...]
>   org.netbeans.modules.git.ui.commit.CommitAction
>   Co&mmit...
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21898
>   org.netbeans.ui.vcs
>   800
>   138
>   USG_VCS_CMD
>   USG_VCS_CMD
>   org.netbeans.modules.versioning.util.Bundle
>   GIT
>   11
>   0
>   commit
>   INTERNAL
> 
> 
>   2020-03-06T21:35:19
>   1583530519266
>   21899
>   org.netbeans.modules.git
>   800
>   138
>   org.eclipse.jgit.api.errors.JGitInternalException: missing 
> credentials provider
>   
> org.netbeans.libs.git.GitException: 
> org.eclipse.jgit.api.errors.JGitInternalException: missing credentials 
> provider
> 
>   org.netbeans.libs.git.jgit.commands.CommitCommand
>   run
>   153
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   57
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand$1
>   run
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   java.security.AccessController
>   doPrivileged
>   jrt:/java.base/java/security/AccessController.class
> 
> 
>   org.netbeans.libs.git.jgit.commands.GitCommand
>   execute
>   54
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.libs.git.GitClient
>   commit
>   480
>   ${netBeansDir}modules/org-netbeans-libs-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   297
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$9
>   call
>   293
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1$1
>   call
>   933
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   
> org.netbeans.modules.git.client.GitClient$CommandInvoker$1
>   call
>   956
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.FilesystemInterceptor
>   runWithoutExternalEvents
>   473
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.Git
>   runWithoutExternalEvents
>   259
>   ${netBeansDir}modules/org-netbeans-modules-git.jar
> 
> 
>   org.netbeans.modules.git.client.GitClient$CommandInvoker
>   runMethodIntern
>   966
>

[netbeans] branch apisupport-ant-tests created (now 4766679)

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a change to branch apisupport-ant-tests
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


  at 4766679  Fix apisupport.ant tests

This branch includes the following new commits:

 new 4766679  Fix apisupport.ant tests

The 1 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.



-
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] 01/01: Fix apisupport.ant tests

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a commit to branch apisupport-ant-tests
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 4766679eb3a8db936d4116277b8b1f6e36dbba3c
Author: Hector Espert 
AuthorDate: Fri Apr 17 20:36:54 2020 +0200

Fix apisupport.ant tests
---
 .gitignore |  2 +-
 .travis.yml|  2 +-
 .../html4j/nbproject/project.properties|  2 +-
 .../javafx/nbproject/project.properties|  2 +-
 .../suite3/nbplatform/.gitkeep |  1 +
 .../apisupport/project/ApisupportAntUtilsTest.java |  4 +-
 .../AvoidModuleListInProjectConstructorTest.java   |  2 +-
 .../apisupport/project/DialogDisplayerImpl.java| 70 ++
 .../modules/apisupport/project/EvaluatorTest.java  |  6 +-
 .../apisupport/project/ModuleDependencyTest.java   |  5 +-
 .../apisupport/project/NbModuleProjectTest.java|  5 +-
 .../project/NbModuleProviderImplTest.java  |  2 -
 .../apisupport/project/ProjectXMLManagerTest.java  |  4 +-
 .../modules/apisupport/project/UseFxTest.java  |  1 -
 .../apisupport/project/UseHtml4JavaTest.java   |  1 -
 .../queries/AccessibilityQueryImplTest.java| 14 ++---
 .../queries/AntArtifactProviderImplTest.java   |  7 ++-
 .../project/queries/ClassPathProviderImplTest.java |  4 +-
 .../queries/GlobalJavadocForBinaryImplTest.java|  3 +-
 .../project/queries/JavadocForBinaryImplTest.java  |  2 +-
 .../project/queries/SourceForBinaryImplTest.java   | 22 +++
 .../project/queries/SourceLevelQueryImplTest.java  |  2 +-
 .../queries/SubprojectProviderImplTest.java|  4 +-
 .../queries/UnitTestForSourceQueryImplTest.java| 20 +++
 .../project/spi/BrandingSupportTest.java   |  3 +-
 .../project/suite/BuildZipDistributionTest.java|  1 -
 .../apisupport/project/ui/ModuleActionsTest.java   |  4 +-
 .../ui/wizard/LibraryStartVisualPanelTest.java |  2 +-
 .../project/universe/ModuleListTest.java   |  9 +--
 29 files changed, 136 insertions(+), 70 deletions(-)

diff --git a/.gitignore b/.gitignore
index 35528c1..0245b1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,4 +100,4 @@ derby.log
 /groovy/gradle/netbeans-gradle-tooling/.gradle/
 /groovy/gradle/netbeans-gradle-tooling/gradle/wrapper/gradle-wrapper.jar
 /groovy/gradle/release/modules/gradle/daemon-loader/.gradle/
-/nbbuild/misc/prepare-bundles/target/
\ No newline at end of file
+/nbbuild/misc/prepare-bundles/target/
diff --git a/.travis.yml b/.travis.yml
index 348e149..b115979 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -459,7 +459,7 @@ matrix:
 - ant $OPTS clean
 - ant $OPTS build
   script:
-#- ant $OPTS -f apisupport/apisupport.ant test
+- ant $OPTS -f apisupport/apisupport.ant test
 - ant $OPTS -f apisupport/apisupport.project test
 - ant $OPTS -f apisupport/apisupport.refactoring test
 - ant $OPTS -f apisupport/apisupport.wizards test
diff --git 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
index 8c80113..5137752 100644
--- 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
+++ 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
@@ -15,5 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-javac.source=1.6
+javac.source=1.8
 javac.compilerargs=-Xlint -Xlint:-serial
diff --git 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
index 8c80113..5137752 100644
--- 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
+++ 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
@@ -15,5 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-javac.source=1.6
+javac.source=1.8
 javac.compilerargs=-Xlint -Xlint:-serial
diff --git 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/suite3/nbplatform/.gitkeep
 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/suite3/nbplatform/.gitkeep
new file mode 100644
index 000..8b13789
--- /dev/null
+++ 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/suite3/nbplatform/.gitkeep
@@ -0,0 +1 @@
+
diff --git 
a/apisupport/apisupport.ant/test/unit/src/org/netbeans/modules/apisupport/project/ApisupportAntUtilsTest.java
 
b/apisupport/apisupport.ant/test/unit/src/org/netbeans/modules/apisupport/

[jira] [Commented] (NETBEANS-3042) can't see loggers (log4j2) created from apps deployed on Payara servers

2020-04-17 Thread Pierre Francis Roy (Jira)


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

Pierre Francis Roy commented on NETBEANS-3042:
--

This issue with the console is crucial for my company. Our project is based on 
Jakarta EE 8 running on Payara 5.x.

 

We had a stable devstack with Netbeans 8.2 + Java EE * + Payara 4.x. Since I 
started to upgrade to Apache Netbeans I was never able to have a fully working 
stack. I tried different combination of JDK, Netbeans, Payara with no avail. I 
got close to normal with JDK 11 + Payara 5.x + Jakarta EE 8 + Apache Netbeans 
11.x + Payara Server plugins. The only thing missing is the woking console logs 
in Netbeans. I'm seeing the logs from Payara in version 11.0. But not for 11.1, 
11.2 and 11.3. It's quite frustrating as we have been almost two years without 
being able to upgrade our stack to the latest version of JDK, Java EE, Payara 
and Netbeans. We are so close to being able to fully working stack except the 
console.

For now I'm staying on Netbeans 11.0 which is ok but not as fast and stable as 
Netbeans 8.2. I would love to upgrade to 11.3.

*Environment*
 * Apache Netbeans 11.3
 * JDK 11 or JDK 8
 * Payara Server 5.201
 * JakarteEE 8.0
 * Logback 1.2.3

*Code*

*pom.xml*
{code:java}
// espace réservé du code
{code}
 ch.qos.logback 
logback-classic 1.2.3 

 

*logback.xml*
{code:java}
// espace réservé du code
{code}
%d\{HH:mm:ss.SSS} 
[%thread] %-5level %logger\{36} - %msg 
   **

*Logger example*
{code:java}
// espace réservé du code
{code}
private static final Logger LOGGER = 
LoggerFactory.getLogger(InspectionController.class); LOGGER.info("Create 
registration(s) for {} selected inspections.", selectedItems.size());

 

> can't see loggers (log4j2) created from apps deployed on Payara servers
> ---
>
> Key: NETBEANS-3042
> URL: https://issues.apache.org/jira/browse/NETBEANS-3042
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger
>Affects Versions: 11.0, 11.1, 11.2, 11.3
> Environment: Windows 10, jdk 1.8, CentOS 7.x with AdoptOpenJDK 8 and 
> 11, Windows 10 with AdoptOpenJDK 8 and 11.
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I can't see the logs (log4j2) generated by my apps deployed in Payara, they 
> are always empty.
> Tried to make a clean re-installation (no cache, no import config) but didn't 
> work
> Initially, I thought that I messed up some config file so I made a post 
> [https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-on-netbeans-console-tab|stackOverflow]
>  but no, it is a Netbeans issue introduced in 11.1 version + payara 5



--
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-3042) can't see loggers (log4j2) created from apps deployed on Payara servers

2020-04-17 Thread Pierre Francis Roy (Jira)


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

Pierre Francis Roy edited comment on NETBEANS-3042 at 4/17/20, 7:21 PM:


This issue with the console is crucial for my company. Our project is based on 
Jakarta EE 8 running on Payara 5.x.

 

We had a stable devstack with Netbeans 8.2 + Java EE * + Payara 4.x. Since I 
started to upgrade to Apache Netbeans I was never able to have a fully working 
stack. I tried different combination of JDK, Netbeans, Payara with no avail. I 
got close to normal with JDK 11 + Payara 5.x + Jakarta EE 8 + Apache Netbeans 
11.x + Payara Server plugins. The only thing missing is the woking console logs 
in Netbeans. I'm seeing the logs from Payara in version 11.0. But not for 11.1, 
11.2 and 11.3. It's quite frustrating as we have been almost two years without 
being able to upgrade our stack to the latest version of JDK, Java EE, Payara 
and Netbeans. We are so close to being able to fully working stack except the 
console.

For now I'm staying on Netbeans 11.0 which is ok but not as fast and stable as 
Netbeans 8.2. I would love to upgrade to 11.3.

*Environment*
 * Apache Netbeans 11.3
 * JDK 11 or JDK 8
 * Payara Server 5.201
 * JakarteEE 8.0
 * Logback 1.2.3

*Code*

*pom.xml*
{code:java}
// espace réservé du code

 ch.qos.logback 
logback-classic 1.2.3 
{code}
*logback.xml*
{code:java}
// espace réservé du code
%d{HH:mm:ss.SSS} 
[%thread] %-5level %logger{36} - %msg 
   
{code}
*Logger example*
{code:java}
// espace réservé du code
private static final Logger LOGGER = 
LoggerFactory.getLogger(InspectionController.class); LOGGER.info("Create 
registration(s) for {} selected inspections.", selectedItems.size());{code}
 


was (Author: pierrefroy):
This issue with the console is crucial for my company. Our project is based on 
Jakarta EE 8 running on Payara 5.x.

 

We had a stable devstack with Netbeans 8.2 + Java EE * + Payara 4.x. Since I 
started to upgrade to Apache Netbeans I was never able to have a fully working 
stack. I tried different combination of JDK, Netbeans, Payara with no avail. I 
got close to normal with JDK 11 + Payara 5.x + Jakarta EE 8 + Apache Netbeans 
11.x + Payara Server plugins. The only thing missing is the woking console logs 
in Netbeans. I'm seeing the logs from Payara in version 11.0. But not for 11.1, 
11.2 and 11.3. It's quite frustrating as we have been almost two years without 
being able to upgrade our stack to the latest version of JDK, Java EE, Payara 
and Netbeans. We are so close to being able to fully working stack except the 
console.

For now I'm staying on Netbeans 11.0 which is ok but not as fast and stable as 
Netbeans 8.2. I would love to upgrade to 11.3.

*Environment*
 * Apache Netbeans 11.3
 * JDK 11 or JDK 8
 * Payara Server 5.201
 * JakarteEE 8.0
 * Logback 1.2.3

*Code*

*pom.xml*
{code:java}
// espace réservé du code
{code}
 ch.qos.logback 
logback-classic 1.2.3 

 

*logback.xml*
{code:java}
// espace réservé du code
{code}
%d\{HH:mm:ss.SSS} 
[%thread] %-5level %logger\{36} - %msg 
   **

*Logger example*
{code:java}
// espace réservé du code
{code}
private static final Logger LOGGER = 
LoggerFactory.getLogger(InspectionController.class); LOGGER.info("Create 
registration(s) for {} selected inspections.", selectedItems.size());

 

> can't see loggers (log4j2) created from apps deployed on Payara servers
> ---
>
> Key: NETBEANS-3042
> URL: https://issues.apache.org/jira/browse/NETBEANS-3042
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger
>Affects Versions: 11.0, 11.1, 11.2, 11.3
> Environment: Windows 10, jdk 1.8, CentOS 7.x with AdoptOpenJDK 8 and 
> 11, Windows 10 with AdoptOpenJDK 8 and 11.
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I can't see the logs (log4j2) generated by my apps deployed in Payara, they 
> are always empty.
> Tried to make a clean re-installation (no cache, no import config) but didn't 
> work
> Initially, I thought that I messed up some config file so I made a post 
> [https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-on-netbeans-console-tab|stackOverflow]
>  but no, it is a Netbeans issue introduced in 11.1 version + payara 5



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

[jira] [Comment Edited] (NETBEANS-3042) can't see loggers (log4j2) created from apps deployed on Payara servers

2020-04-17 Thread Pierre Francis Roy (Jira)


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

Pierre Francis Roy edited comment on NETBEANS-3042 at 4/17/20, 7:22 PM:


This issue with the console is crucial for my company. Our project is based on 
Jakarta EE 8 running on Payara 5.x.

 

We had a stable devstack with Netbeans 8.2 + Java EE * + Payara 4.x. Since I 
started to upgrade to Apache Netbeans I was never able to have a fully working 
stack. I tried different combination of JDK, Netbeans, Payara with no avail. I 
got close to normal with JDK 11 + Payara 5.x + Jakarta EE 8 + Apache Netbeans 
11.x + Payara Server plugins. The only thing missing is the woking console logs 
in Netbeans. I'm seeing the logs from Payara in version 11.0. But not for 11.1, 
11.2 and 11.3. It's quite frustrating as we have been almost two years without 
being able to upgrade our stack to the latest version of JDK, Java EE, Payara 
and Netbeans. We are so close to being able to fully working stack except the 
console.

For now I'm staying on Netbeans 11.0 which is ok but not as fast and stable as 
Netbeans 8.2. I would love to upgrade to 11.3.

*Environment*
 * Apache Netbeans 11.3
 * JDK 11 or JDK 8
 * Payara Server 5.201
 * JakarteEE 8.0
 * Logback 1.2.3

*Code*

*pom.xml*
{code:java}
// espace réservé du code
 
ch.qos.logback
logback-classic 
1.2.3 
{code}
*logback.xml*
{code:java}
// espace réservé du code
 
   %d{HH:mm:ss.SSS} 
[%thread] %-5level %logger{36} - %msg 
 
  
{code}
*Logger example*
{code:java}
// espace réservé du code
private static final Logger LOGGER = 
LoggerFactory.getLogger(InspectionController.class); 
LOGGER.info("Create registration(s) for {} selected inspections.", 
selectedItems.size());{code}
 


was (Author: pierrefroy):
This issue with the console is crucial for my company. Our project is based on 
Jakarta EE 8 running on Payara 5.x.

 

We had a stable devstack with Netbeans 8.2 + Java EE * + Payara 4.x. Since I 
started to upgrade to Apache Netbeans I was never able to have a fully working 
stack. I tried different combination of JDK, Netbeans, Payara with no avail. I 
got close to normal with JDK 11 + Payara 5.x + Jakarta EE 8 + Apache Netbeans 
11.x + Payara Server plugins. The only thing missing is the woking console logs 
in Netbeans. I'm seeing the logs from Payara in version 11.0. But not for 11.1, 
11.2 and 11.3. It's quite frustrating as we have been almost two years without 
being able to upgrade our stack to the latest version of JDK, Java EE, Payara 
and Netbeans. We are so close to being able to fully working stack except the 
console.

For now I'm staying on Netbeans 11.0 which is ok but not as fast and stable as 
Netbeans 8.2. I would love to upgrade to 11.3.

*Environment*
 * Apache Netbeans 11.3
 * JDK 11 or JDK 8
 * Payara Server 5.201
 * JakarteEE 8.0
 * Logback 1.2.3

*Code*

*pom.xml*
{code:java}
// espace réservé du code

 ch.qos.logback 
logback-classic 1.2.3 
{code}
*logback.xml*
{code:java}
// espace réservé du code
%d{HH:mm:ss.SSS} 
[%thread] %-5level %logger{36} - %msg 
   
{code}
*Logger example*
{code:java}
// espace réservé du code
private static final Logger LOGGER = 
LoggerFactory.getLogger(InspectionController.class); LOGGER.info("Create 
registration(s) for {} selected inspections.", selectedItems.size());{code}
 

> can't see loggers (log4j2) created from apps deployed on Payara servers
> ---
>
> Key: NETBEANS-3042
> URL: https://issues.apache.org/jira/browse/NETBEANS-3042
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger
>Affects Versions: 11.0, 11.1, 11.2, 11.3
> Environment: Windows 10, jdk 1.8, CentOS 7.x with AdoptOpenJDK 8 and 
> 11, Windows 10 with AdoptOpenJDK 8 and 11.
>Reporter: jose luis romero
>Priority: Major
> Attachments: screenshot-1.png
>
>
> I can't see the logs (log4j2) generated by my apps deployed in Payara, they 
> are always empty.
> Tried to make a clean re-installation (no cache, no import config) but didn't 
> work
> Initially, I thought that I messed up some config file so I made a post 
> [https://stackoverflow.com/questions/57679272/i-cant-see-logs-from-apps-on-payara-4-1-just-on-netbeans-console-tab|stackOverflow]
>  but no, it is a Netbeans issue introduced in 11.1 version + payara 5



--
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 travis_cache created (now 8065691)

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

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


  at 8065691  [TRAVIS] Enable cache

This branch includes the following new commits:

 new 8065691  [TRAVIS] Enable cache

The 1 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.



-
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] 01/01: [TRAVIS] Enable cache

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

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

commit 80656912ee5a626cb206b7a475b4abee3190d2d3
Author: Hector Espert 
AuthorDate: Fri Apr 17 22:23:15 2020 +0200

[TRAVIS] Enable cache
---
 .travis.yml | 5 +
 1 file changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 348e149..071047e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,12 +23,17 @@ addons:
   - xvfb
   - openjfx
   - libgfortran3
+
 install:
   - export PATH="$PATH:$TRAVIS_BUILD_DIR/nbbuild/travis"
   - export DISPLAY=:99.0
   - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
   - sleep 3
 
+cache:
+  directories:
+  - $HOME/.hgexternalcache
+
 matrix:
 include:
 - name: Check line endings and verify RAT report


-
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] 01/01: Fix apisupport.ant tests

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a commit to branch apisupport-ant-tests
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 6cc2ff62a1f5c1acfd77b746694c2a32be73350c
Author: Hector Espert 
AuthorDate: Fri Apr 17 20:36:54 2020 +0200

Fix apisupport.ant tests
---
 .gitignore |  2 +-
 .travis.yml|  2 +-
 apisupport/apisupport.ant/build.xml| 13 
 .../html4j/nbproject/project.properties|  2 +-
 .../javafx/nbproject/project.properties|  2 +-
 .../platform5/core/core/META-INF/manifest.mf   |  2 +
 .../random/modules/ext/stuff/META-INF/manifest.mf  |  1 +
 .../random/modules/random/META-INF/manifest.mf |  3 +
 .../apisupport/project/ApisupportAntUtilsTest.java |  4 +-
 .../AvoidModuleListInProjectConstructorTest.java   |  2 +-
 .../apisupport/project/DialogDisplayerImpl.java| 70 ++
 .../modules/apisupport/project/EvaluatorTest.java  |  6 +-
 .../apisupport/project/ModuleDependencyTest.java   |  5 +-
 .../apisupport/project/NbModuleProjectTest.java|  5 +-
 .../project/NbModuleProviderImplTest.java  |  2 -
 .../apisupport/project/ProjectXMLManagerTest.java  |  4 +-
 .../modules/apisupport/project/UseFxTest.java  |  1 -
 .../apisupport/project/UseHtml4JavaTest.java   |  1 -
 .../queries/AccessibilityQueryImplTest.java| 14 ++---
 .../queries/AntArtifactProviderImplTest.java   |  7 ++-
 .../project/queries/ClassPathProviderImplTest.java |  6 +-
 .../queries/GlobalJavadocForBinaryImplTest.java|  3 +-
 .../project/queries/JavadocForBinaryImplTest.java  |  2 +-
 .../project/queries/SourceForBinaryImplTest.java   | 22 +++
 .../project/queries/SourceLevelQueryImplTest.java  |  2 +-
 .../queries/SubprojectProviderImplTest.java| 14 +++--
 .../queries/UnitTestForSourceQueryImplTest.java| 20 +++
 .../project/spi/BrandingSupportTest.java   |  3 +-
 .../project/suite/BuildZipDistributionTest.java|  1 -
 .../apisupport/project/ui/ModuleActionsTest.java   |  4 +-
 .../ui/wizard/LibraryStartVisualPanelTest.java |  2 +-
 .../project/universe/ModuleListTest.java   |  9 +--
 .../apisupport/project/universe/TestEntryTest.java |  2 +-
 33 files changed, 162 insertions(+), 76 deletions(-)

diff --git a/.gitignore b/.gitignore
index 35528c1..0245b1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,4 +100,4 @@ derby.log
 /groovy/gradle/netbeans-gradle-tooling/.gradle/
 /groovy/gradle/netbeans-gradle-tooling/gradle/wrapper/gradle-wrapper.jar
 /groovy/gradle/release/modules/gradle/daemon-loader/.gradle/
-/nbbuild/misc/prepare-bundles/target/
\ No newline at end of file
+/nbbuild/misc/prepare-bundles/target/
diff --git a/.travis.yml b/.travis.yml
index 348e149..b115979 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -459,7 +459,7 @@ matrix:
 - ant $OPTS clean
 - ant $OPTS build
   script:
-#- ant $OPTS -f apisupport/apisupport.ant test
+- ant $OPTS -f apisupport/apisupport.ant test
 - ant $OPTS -f apisupport/apisupport.project test
 - ant $OPTS -f apisupport/apisupport.refactoring test
 - ant $OPTS -f apisupport/apisupport.wizards test
diff --git a/apisupport/apisupport.ant/build.xml 
b/apisupport/apisupport.ant/build.xml
index 66938dc..14789a6 100644
--- a/apisupport/apisupport.ant/build.xml
+++ b/apisupport/apisupport.ant/build.xml
@@ -40,5 +40,18 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
diff --git 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
index 8c80113..5137752 100644
--- 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
+++ 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
@@ -15,5 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-javac.source=1.6
+javac.source=1.8
 javac.compilerargs=-Xlint -Xlint:-serial
diff --git 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
index 8c80113..5137752 100644
--- 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
+++ 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
@@ -15,5 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-javac.source=1.6
+javac.source=1.8
 javac.compil

[netbeans] branch apisupport-ant-tests updated (4766679 -> 6cc2ff6)

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a change to branch apisupport-ant-tests
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


 discard 4766679  Fix apisupport.ant tests
 new 6cc2ff6  Fix apisupport.ant tests

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (4766679)
\
 N -- N -- N   refs/heads/apisupport-ant-tests (6cc2ff6)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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:
 apisupport/apisupport.ant/build.xml | 13 +
 .../example-external-projects/suite3/nbplatform/.gitkeep|  1 -
 .../nbplatform/platform5/core/core/META-INF/manifest.mf |  2 ++
 .../random/modules/ext/stuff/META-INF/manifest.mf   |  1 +
 .../nbplatform/random/modules/random/META-INF/manifest.mf   |  3 +++
 .../project/queries/ClassPathProviderImplTest.java  |  2 +-
 .../project/queries/SubprojectProviderImplTest.java | 10 ++
 .../modules/apisupport/project/universe/ModuleListTest.java |  2 +-
 .../modules/apisupport/project/universe/TestEntryTest.java  |  2 +-
 9 files changed, 28 insertions(+), 8 deletions(-)
 delete mode 100644 
apisupport/apisupport.ant/test/unit/data/example-external-projects/suite3/nbplatform/.gitkeep
 create mode 100644 
apisupport/apisupport.ant/test/unit/data/example-external-projects/suite3/nbplatform/platform5/core/core/META-INF/manifest.mf
 create mode 100644 
apisupport/apisupport.ant/test/unit/data/example-external-projects/suite3/nbplatform/random/modules/ext/stuff/META-INF/manifest.mf
 create mode 100644 
apisupport/apisupport.ant/test/unit/data/example-external-projects/suite3/nbplatform/random/modules/random/META-INF/manifest.mf


-
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-4187) Clicking on recent quick searches is broken

2020-04-17 Thread Hendi (Jira)
Hendi created NETBEANS-4187:
---

 Summary: Clicking on recent quick searches is broken
 Key: NETBEANS-4187
 URL: https://issues.apache.org/jira/browse/NETBEANS-4187
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Quick Search
Affects Versions: 12.0, 11.3
 Environment: Product Version: Apache NetBeans IDE DEV (Build 
dev-974f4d78e1f6dbc42cf351e54f0dd4b24363983d)
Java: 13; OpenJDK 64-Bit Server VM 13+33
Runtime: OpenJDK Runtime Environment 13+33
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
Reporter: Hendi


# Search for a class type in Quick Search and navigate to it.
 # Restart NetBeans.
 # Search for that same type again and select it from the "Recent Searches" 
category.
 # After a second of it "searching" for the entry that I just selected (?!), an 
information dialog claiming "Recent Quick Search Item was not found." pops up.
 

This is reproducible for both 11.3 and latest nightly at the time of writing.
 



--
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] 01/01: Fix apisupport.ant tests

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a commit to branch apisupport-ant-tests
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit e3c9c0d502f4698f3a43013847509ff1275c67e9
Author: Hector Espert 
AuthorDate: Fri Apr 17 20:36:54 2020 +0200

Fix apisupport.ant tests
---
 .gitignore |  2 +-
 .travis.yml|  2 +-
 apisupport/apisupport.ant/build.xml| 13 
 .../html4j/nbproject/project.properties|  2 +-
 .../javafx/nbproject/project.properties|  2 +-
 .../platform5/core/core/META-INF/manifest.mf   |  2 +
 .../random/modules/ext/stuff/META-INF/manifest.mf  |  1 +
 .../random/modules/random/META-INF/manifest.mf |  3 +
 .../apisupport/project/ApisupportAntUtilsTest.java |  4 +-
 .../AvoidModuleListInProjectConstructorTest.java   |  2 +-
 .../apisupport/project/DialogDisplayerImpl.java| 70 ++
 .../modules/apisupport/project/EvaluatorTest.java  |  6 +-
 .../apisupport/project/ModuleDependencyTest.java   |  5 +-
 .../apisupport/project/NbModuleProjectTest.java|  5 +-
 .../project/NbModuleProviderImplTest.java  |  2 -
 .../apisupport/project/ProjectXMLManagerTest.java  |  4 +-
 .../modules/apisupport/project/UseFxTest.java  |  1 -
 .../apisupport/project/UseHtml4JavaTest.java   |  1 -
 .../queries/AccessibilityQueryImplTest.java| 14 ++---
 .../queries/AntArtifactProviderImplTest.java   |  7 ++-
 .../project/queries/ClassPathProviderImplTest.java |  6 +-
 .../queries/GlobalJavadocForBinaryImplTest.java|  3 +-
 .../project/queries/JavadocForBinaryImplTest.java  |  2 +-
 .../project/queries/SourceForBinaryImplTest.java   | 22 +++
 .../project/queries/SourceLevelQueryImplTest.java  |  2 +-
 .../queries/SubprojectProviderImplTest.java| 14 +++--
 .../queries/UnitTestForSourceQueryImplTest.java| 20 +++
 .../project/spi/BrandingSupportTest.java   |  3 +-
 .../project/suite/BuildZipDistributionTest.java|  1 -
 .../apisupport/project/ui/ModuleActionsTest.java   |  4 +-
 .../ui/customizer/SingleModulePropertiesTest.java  |  5 +-
 .../ui/wizard/LibraryStartVisualPanelTest.java |  2 +-
 .../project/universe/ModuleListTest.java   |  9 +--
 .../apisupport/project/universe/TestEntryTest.java |  2 +-
 34 files changed, 165 insertions(+), 78 deletions(-)

diff --git a/.gitignore b/.gitignore
index 35528c1..0245b1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,4 +100,4 @@ derby.log
 /groovy/gradle/netbeans-gradle-tooling/.gradle/
 /groovy/gradle/netbeans-gradle-tooling/gradle/wrapper/gradle-wrapper.jar
 /groovy/gradle/release/modules/gradle/daemon-loader/.gradle/
-/nbbuild/misc/prepare-bundles/target/
\ No newline at end of file
+/nbbuild/misc/prepare-bundles/target/
diff --git a/.travis.yml b/.travis.yml
index 348e149..b115979 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -459,7 +459,7 @@ matrix:
 - ant $OPTS clean
 - ant $OPTS build
   script:
-#- ant $OPTS -f apisupport/apisupport.ant test
+- ant $OPTS -f apisupport/apisupport.ant test
 - ant $OPTS -f apisupport/apisupport.project test
 - ant $OPTS -f apisupport/apisupport.refactoring test
 - ant $OPTS -f apisupport/apisupport.wizards test
diff --git a/apisupport/apisupport.ant/build.xml 
b/apisupport/apisupport.ant/build.xml
index 66938dc..14789a6 100644
--- a/apisupport/apisupport.ant/build.xml
+++ b/apisupport/apisupport.ant/build.xml
@@ -40,5 +40,18 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
diff --git 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
index 8c80113..5137752 100644
--- 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
+++ 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/html4j/nbproject/project.properties
@@ -15,5 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-javac.source=1.6
+javac.source=1.8
 javac.compilerargs=-Xlint -Xlint:-serial
diff --git 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
index 8c80113..5137752 100644
--- 
a/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
+++ 
b/apisupport/apisupport.ant/test/unit/data/example-external-projects/javafx/nbproject/project.properties
@@ -15,5 +15,5 @@
 # specific language governing permissions and limitations
 # under the 

[netbeans] branch apisupport-ant-tests updated (6cc2ff6 -> e3c9c0d)

2020-04-17 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a change to branch apisupport-ant-tests
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


 discard 6cc2ff6  Fix apisupport.ant tests
 new e3c9c0d  Fix apisupport.ant tests

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (6cc2ff6)
\
 N -- N -- N   refs/heads/apisupport-ant-tests (e3c9c0d)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 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:
 .../apisupport/project/ui/customizer/SingleModulePropertiesTest.java | 5 +++--
 1 file changed, 3 insertions(+), 2 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] [Updated] (NETBEANS-3858) java.util.NoSuchElementException

2020-04-17 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-3858:
--
Labels: nbjavac  (was: )

> java.util.NoSuchElementException
> 
>
> Key: NETBEANS-3858
> URL: https://issues.apache.org/jira/browse/NETBEANS-3858
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: W10, JDK 8
>Reporter: jose luis romero
>Priority: Critical
>  Labels: nbjavac
>
> This exception invalidate completely the IDE, it happens all the time for 
> many reasons: renaming methods, creating overloads, removing files. Even 
> after restarting the IDE, it seems that it keeps trying to reach some 
> "references".
> I know that it is a problem related to *nb-javac*, but it is extremely 
> annoying! I had been told in SEP/19 that would be fixed soon (N)
> java.util.NoSuchElementException
>   at 
> java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:721)
>   at 
> java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:742)
>   at 
> org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.capCache(ParameterNameProviderImpl.java:196)
>   at 
> org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl.getParameterName(ParameterNameProviderImpl.java:181)
>   at 
> org.netbeans.modules.java.source.parsing.ParameterNameProviderImpl$1.invoke(ParameterNameProviderImpl.java:90)
>   at com.sun.proxy.$Proxy56.getParameterName(Unknown Source)
>   at 
> com.sun.tools.javac.code.MissingInfoHandler.getParameterName(MissingInfoHandler.java:63)
>   at 
> com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1746)
>   at 
> com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1731)
>   at 
> org.netbeans.modules.java.navigation.ElementScanningTask.createHtmlHeader(ElementScanningTask.java:497)
>   at 
> org.netbeans.modules.java.navigation.ElementScanningTask.element2description(ElementScanningTask.java:359)
>   at 
> org.netbeans.modules.java.navigation.ElementScanningTask.addMembers(ElementScanningTask.java:309)
>   at 
> org.netbeans.modules.java.navigation.ElementScanningTask.runImpl(ElementScanningTask.java:157)
>   at 
> org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:96)
>   at 
> org.netbeans.modules.java.navigation.ElementScanningTask.run(ElementScanningTask.java:77)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



--
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-1704) java.io.UnsupportedEncodingException: ISO-Latin-1

2020-04-17 Thread Eirik Bakke (Jira)


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

Eirik Bakke commented on NETBEANS-1704:
---

Looks like it happens when the project contains an XML file with an incorrect 
encoding specification ("ISO-Latin-1", which is not correct--probably meant 
"ISO-8859-1"). 
org.netbeans.modules.openide.filesystems.declmime.DefaultParser.parse should 
probably just catch the UnsupportedEncodingException and mark it as an 
erroneous file, like for other errors.

> java.io.UnsupportedEncodingException: ISO-Latin-1
> -
>
> Key: NETBEANS-1704
> URL: https://issues.apache.org/jira/browse/NETBEANS-1704
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0
>Reporter: Alex Tomb
>Priority: Critical
> Attachments: nb_bug.txt.zip
>
>
> Just open the project
> Can not attach the file
> "JIRA could not attach the file as there was a missing token. Please try 
> attaching the file again."



--
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-885) NPE on invalid Java source code

2020-04-17 Thread Eirik Bakke (Jira)


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

Eirik Bakke updated NETBEANS-885:
-
Labels: nbjavac  (was: )

> NPE on invalid Java source code
> ---
>
> Key: NETBEANS-885
> URL: https://issues.apache.org/jira/browse/NETBEANS-885
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 9.0
> Environment: Linux, NetBeans 9.0 RC1 (and predecessors).
>Reporter: Peter Nabbefeld
>Assignee: Jan Lahoda
>Priority: Critical
>  Labels: nbjavac
>
> I sometimes like to write some code using hints for completion like this:
> package test;
> import java.io.File;
> public class Test {
>     public void test() {
>     File[] files = new File[0];
>     for (file : files)
>     }
> }
> This results in NullPointerExceptions on editing, formatting, or even just 
> re-opening the file.
> Additionally to bug resolution I'd like to know how to write tests for such 
> situations, so I'd be glad if You could append a diff for the changes.
> Relevant part of stacktrace:
> java.lang.NullPointerException
> SEVERE [org.openide.util.Exceptions]
> java.lang.NullPointerException
>     at 
> jdk.compiler/com.sun.tools.javac.tree.Pretty.visitVarDef(Pretty.java:636)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:950)
>     at jdk.compiler/com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:194)
>     at jdk.compiler/com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:209)
>     at jdk.compiler/com.sun.tools.javac.tree.JCTree.toString(JCTree.java:429)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl.createBreadcrumbs(BreadCrumbsNodeImpl.java:260)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl$3$1.scan(BreadCrumbsNodeImpl.java:535)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl$3$1.scan(BreadCrumbsNodeImpl.java:514)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
>     at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
>     at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026)
>     at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:86)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl$3$1.scan(BreadCrumbsNodeImpl.java:539)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl$3$1.visitMethod(BreadCrumbsNodeImpl.java:544)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl$3$1.visitMethod(BreadCrumbsNodeImpl.java:514)
>     at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl$3.run(BreadCrumbsNodeImpl.java:514)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl$3.run(BreadCrumbsNodeImpl.java:503)
>     at 
> org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>     at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>     at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>     at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>     at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>     at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451)
>     at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsNodeImpl.getChildren(BreadCrumbsNodeImpl.java:503)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsScanningTask.rootAndSelection(BreadCrumbsScanningTask.java:114)
>     at 
> org.netbeans.modules.java.navigation.BreadCrumbsScanningTask.run(BreadCrumbsScanningTask.java:82)
>     at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(Tas

[jira] [Commented] (NETBEANS-3903) Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31

2020-04-17 Thread Diego Mesa (Jira)


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

Diego Mesa commented on NETBEANS-3903:
--

Gracias, funciono para mi en:
 _Netbeans 11_
_Xubuntu 19.10_ 
_Tomcat 8.5.54_  
_Java Oracle Version 1.8.0_251_
 
seguí la instrucciones de [~bitsink] en su comentario 

[#comment-17043156] y funciono correctamente descargando el archivo 
[^org-netbeans-modules-tomcat5.jar]  y emplazándolo en la carpeta de 
instalación de Netbeans 11 en Xubuntu 19.10, tambien borrando el directorio {{}}
{code:java}
rm -r ~/.netbeans/{code}
y
{code:java}
rm -r ~/local/cache/netbeans{code}
 

> Netbeans 11.2 fails to detect successful startup of Tomcat 9.0.31
> -
>
> Key: NETBEANS-3903
> URL: https://issues.apache.org/jira/browse/NETBEANS-3903
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java, serverplugins - Tomcat
>Affects Versions: 11.0, 11.1, 11.2, 11.3
> Environment: MacOS Catalina 10.15.3
> Netbeans 11.2 (using installer)
> Netbeans 11.0 (using binary download)
> Tomcat 9.0.31 (via brew and binary download)
> Tomcat 8.5.51 (via brew and binary download)
>Reporter: Rob
>Assignee: Nam Nguyen
>Priority: Blocker
>  Labels: ide, pull-request-available, server, tomcat, tomcat9
> Fix For: 12.0
>
> Attachments: Netbeans11.0-terminal-output.log, Screenshot 2020-02-20 
> at 21.17.36.png, apache-tomcat-9.0.31.zip, netbeans11-2-log.zip, 
> org-netbeans-modules-tomcat5.jar
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> * Example code - Not applicable 
>  * Example project - Not applicable
>  * Attachments...
>  * Screenshot 1) Console shows success whilst minutes later Netbeans error 
> appears
>  * Screenshot 2) Netbeans 11.0 terminal output included and I suspect it the 
> same error in Netbeans 11.2
>  * apache-tomcat-9.0.31.zip that includes the tomcat configuration and logs 
> for one attempt of running Tomcat (all looks good here) 
>  * netbeans11-2-log for the latest Netbeans 11.2 logs
>  * Exact steps 1. Add tomcat server 2. Run tomcat server, 3. Confirm it 
> starts (browser success and console logs success), 4. Minutes later error 
> appears to say "Starting of Tomcat Failed"
>  * Actual results - Tomcat should start than then Netbeans would usually 
> deploy the app, but Netbeans fails to detect Tomcat started successfully.  No 
> projects required to recreate this - starting Tomcat up from within the 
> Netbeans IDE shows success in the console <500ms but then reports as failed 
> minutes later
>  * Expected results - Netbeans should continue to deploy an application once 
> detecting tomcat has started
>  * NetBeans version - Multiple (11.0, 11.2)
>  * JDK version JDK 13 Open JDK and Sun JDK
>  * OS (Environment) Mac Catalina 10.15.3
> Deeper information follows...
> I installed the pre-requisite Open JDK 13 first.
> I had Netbeans 8.2 running on my iMac and decided to install the latest 
> version of Netbeans on my MacBook Pro running Mac OS Catalina 10.15.3, so I 
> opted for the latest NetBeans 11.2 installer.  
> I was surprised to see no 'customise' option during installation to choose 
> Tomcat (which is what used to happen in Netbeans 8.2).  Once Netbeans 11.2 
> was running I went to the server tab and added Tomcat 9.0.31 by pointing to 
> the Tomcat brew installation folder and added a private configuration folder, 
> I entered a new user 'ide' and password and ticked the 'Create user if does 
> not exist'.
> I can confirm it created the user in the tomcat-users.xml file correctly.
> ```
> 
> http://tomcat.apache.org/xml"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.0" 
> xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd">
>  
>  
>  
>   username="ide"/>
> 
> ```
> When I right-click on the server and choose "Start", or "Start in debug mode" 
> tomcat starts and it is confirmed as starting within 317 milliseconds.
> I can load a browser manually and navigate to 
> [http://localhost:8084/manager/status] and confirm Tomcat is indeed running.
> ```
> NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED 
> --add-opens=java.base/java.io=ALL-UNNAMED 
> --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
> 20-Feb-2020 21:09:28.879 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Server version name: 
> Apache Tomcat/9.0.31
> 20-Feb-2020 21:09:28.883 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 
> 2020 19:32:12 UTC
> 20-Feb-2020 21:09:28.883 INFO [main] 
> org.apache.catalina.startup.VersionLoggerListener.log Server version number: 
> 9.0.31.0
> 20-Feb-2020 21:09:28.883 INFO [main] 
> org.apache.catalin