[netbeans] 04/04: Improve task loading

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

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

commit 5eb734922500d927a7f3554a78b12de0c051f54c
Author: Hector Espert 
AuthorDate: Sat Dec 12 22:55:21 2020 +0100

Improve task loading
---
 build.gradle | 31 +++
 platform/api.io/build.gradle |  7 ---
 settings.gradle  | 20 ++--
 3 files changed, 33 insertions(+), 25 deletions(-)

diff --git a/build.gradle b/build.gradle
index 0ed639e..64b22a5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,17 +1,24 @@
 /*
- * This file was generated by the Gradle 'init' task.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * This is a general purpose Gradle build.
- * Learn more about Gradle by exploring our samples at 
https://docs.gradle.org/6.7.1/samples
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
-/*
- * Todo: Convert to plugin 
- */
-ant.importBuild('nbbuild/build.xml') { antTargetName ->
-'ant-' + antTargetName
-}
+// Import ant build
+ant.importBuild('nbbuild/build.xml') { antTargetName -> antTargetName == 
'init' ? 'ant-' + antTargetName : antTargetName}
 
-tasks.matching { task ->
-task.name.startsWith('ant-')
-}*.group = 'Ant'
+// Group ant tasks
+tasks.matching { task -> task instanceof org.gradle.api.tasks.ant.AntTarget 
}*.group = 'Ant'
diff --git a/platform/api.io/build.gradle b/platform/api.io/build.gradle
deleted file mode 100644
index 260bef4..000
--- a/platform/api.io/build.gradle
+++ /dev/null
@@ -1,7 +0,0 @@
-ant.importBuild('build.xml') { antTargetName ->
-'ant-' + antTargetName
-}
-
-tasks.matching { task ->
-task.name.startsWith('ant-')
-}*.group = 'Ant'
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
index ceb28a0..1ccf12d 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,12 +1,20 @@
 /*
- * This file was generated by the Gradle 'init' task.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
  *
- * The settings file is used to specify which projects to include in your 
build.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * Detailed information about configuring a multi-project build in Gradle can 
be found
- * in the user manual at 
https://docs.gradle.org/6.7.1/userguide/multi_project_builds.html
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 rootProject.name = 'Apache NetBeans'
-
-include 'platform:api.io'


-
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] 02/04: Load ant tasks

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

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

commit d25ab1aa82547d3446d5b5247fce183e866fa7d8
Author: Hector Espert 
AuthorDate: Sun Dec 6 23:10:12 2020 +0100

Load ant tasks
---
 build.gradle  | 26 ++
 gradle.properties |  1 +
 2 files changed, 27 insertions(+)

diff --git a/build.gradle b/build.gradle
index d7e8f5c..c40b916 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,3 +4,29 @@
  * This is a general purpose Gradle build.
  * Learn more about Gradle by exploring our samples at 
https://docs.gradle.org/6.7.1/samples
  */
+
+/*
+ * Load 
+ */
+ant.importBuild('nbbuild/build.xml') { antTargetName ->
+'ant-' + antTargetName
+}
+
+tasks.matching { task ->
+task.name.startsWith('ant-')
+}*.group = 'Ant'
+
+task clean(type: Delete) {
+group = 'Clean'
+dependsOn = ['ant-clean']
+delete rootProject.buildDir
+}
+
+task build() {
+group = 'Build'
+dependsOn = ['ant-build']
+mustRunAfter = ['clean']
+doLast {
+println 'Hello world!'
+}
+}
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 000..6b1823d
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1 @@
+org.gradle.daemon=false


-
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/04: Gradle init

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

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

commit 13407931fa4796302e6d749a471b8f0b78856e9a
Author: Hector Espert 
AuthorDate: Sun Dec 6 20:18:12 2020 +0100

Gradle init
---
 .gitattributes   |   3 +
 .gitignore   |   6 +
 build.gradle |   6 +
 gradle/wrapper/gradle-wrapper.jar| Bin 0 -> 59203 bytes
 gradle/wrapper/gradle-wrapper.properties |   5 +
 gradlew  | 185 +++
 gradlew.bat  |  89 +++
 settings.gradle  |  10 ++
 8 files changed, 304 insertions(+)

diff --git a/.gitattributes b/.gitattributes
index af377bf..9c37844 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -32,3 +32,6 @@
 
 # Define some file types explicitly as being binary.
 *.jar binary
+
+# These are explicitly windows files and should use crlf
+*.bat   text eol=crlf
diff --git a/.gitignore b/.gitignore
index 4b0be82..07dce97 100644
--- a/.gitignore
+++ b/.gitignore
@@ -106,3 +106,9 @@ derby.log
 /extide/gradle/netbeans-gradle-tooling/gradle/wrapper/gradle-wrapper.jar
 /extide/gradle/release/modules/gradle/daemon-loader/.gradle/
 /nbbuild/misc/prepare-bundles/target/
+
+# Ignore Gradle project-specific cache directory
+.gradle
+
+# Ignore Gradle build output directory
+build
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 000..d7e8f5c
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,6 @@
+/*
+ * This file was generated by the Gradle 'init' task.
+ *
+ * This is a general purpose Gradle build.
+ * Learn more about Gradle by exploring our samples at 
https://docs.gradle.org/6.7.1/samples
+ */
diff --git a/gradle/wrapper/gradle-wrapper.jar 
b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 000..e708b1c
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties 
b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 000..4d9ca16
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
new file mode 100755
index 000..4f906e0
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#  https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##
+##
+##  Gradle start up script for UN*X
+##
+##
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ls=`ls -ld "$PRG"`
+link=`expr "$ls" : '.*-> \(.*\)$'`
+if expr "$link" : '/.*' > /dev/null; then
+PRG="$link"
+else
+PRG=`dirname "$PRG"`"/$link"
+fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to 
pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+echo "$*"
+}
+
+die () {
+echo
+echo "$*"
+echo
+exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+  CYGWIN* )
+cygwin=true
+;;
+  Darwin* )
+darwin=true
+;;
+  MINGW* )
+msys=true
+;;
+  NONSTOP* )
+nonstop=true
+;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+# IBM's JDK on AIX uses strange locations for the executables
+JAVACMD="$JAVA_HOME/jre/sh/java"
+else
+JAVACMD="$JAVA_HOME/bin/java"
+fi
+if [ ! -x "$JAVACMD" ] ; then
+die "ERROR: 

[netbeans] branch gradle_build_system updated (0c1e306 -> 5eb7349)

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

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


 discard 0c1e306  Add subproject
 discard 65ae0c8  Load ant tasks
 discard 0616973  Gradle init
 add 466d94b  [NETBEANS-5096] Fix formatting in executable script
 add a64fefc  Merge pull request #2581 from 
KacerCZ/netbeans-5096-fix-script-format
 add d139f6d  [NETBEANS-5091] PHP - more improvements for constants in code 
completion
 add e5a80b4  Merge pull request #2578 from 
KacerCZ/netbeans-5091-class-constants-improvements
 add 16c3b4b  [NETBEANS-5108] Use complete Composer package name
 add a712b28  Merge pull request #2583 from 
KacerCZ/netbeans-5108-full-package-name
 add 90787cc  Removing debug output.
 add 3697145  Merge pull request #2584 from jlahoda/remove-debug
 add c9dc923  Disable 7th and 8th stage of Maven compilation test in 
VSNetBeans. It started to fail for unknown reason after integration.
 add 3618b76  [NETBEANS-4289] Updated JGit to 5.7.0.202003110725
 add eac4b81  [NETBEANS-4289] Fix OSGI manifest of jgit for missing 
Import-Package of javax.management
 add 81f31d3  Merge pull request #2580 from matthiasblaesing/update-jgit
 add 534be04  [NETBEANS-4458] - enable use of generics
 add 38172f4  Merge pull request #2194 from BradWalker/enable_generics
 new 1340793  Gradle init
 new d25ab1a  Load ant tasks
 new a9f11cf  Add subproject
 new 5eb7349  Improve task loading

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   (0c1e306)
\
 N -- N -- N   refs/heads/gradle_build_system (5eb7349)

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 4 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:
 build.gradle   | 31 +
 .../ui/customizer/EarProjectProperties.java|  2 +-
 .../nbproject/project.properties   |  2 +-
 .../modules/web/jsf/wizards/ManagedBeanPanel.java  |  3 +-
 .../jsf/wizards/PersistenceClientSetupPanel.java   |  2 +-
 .../web/jsf/wizards/TemplateClientPanelVisual.java |  2 +-
 .../libs/git/jgit/commands/TransportCommand.java   |  5 ++
 .../org/netbeans/libs/git/jgit/ConnectionTest.java |  5 ++
 .../lsp/client/bindings/CustomIndexerImpl.java |  1 -
 ide/o.eclipse.jgit/build.xml   | 24 ++-
 ide/o.eclipse.jgit/external/binaries-list  |  2 +-
 eclipse.jgit-5.7.0.202003110725-r-license.txt} |  2 +-
 ide/o.eclipse.jgit/nbproject/project.properties|  2 +-
 ide/o.eclipse.jgit/nbproject/project.xml   |  2 +-
 .../modules/xml/dtd/grammar/DTDParser.java |  2 +-
 .../text/structure/XMLDocumentModelProvider.java   |  2 +-
 java/i18n.form/nbproject/project.properties|  2 +-
 .../jpacontroller/JpaControllerSetupPanel.java |  2 +-
 .../vscode/src/test/suite/extension.test.ts|  4 +-
 .../org/netbeans/nbbuild/extlibs/ignored-overlaps  |  1 +
 .../modules/php/composer/PhpProjectConvertor.java  |  7 +-
 .../modules/php/editor/indent/FormatVisitor.java   |  6 +-
 .../model/nodes/ClassConstantDeclarationInfo.java  | 78 +++---
 .../model/nodes/ConstantDeclarationInfo.java   | 67 ---
 .../testfiles/completion/lib/php56/classConst.php  | 41 
 .../classConst.php.testClassConst_01.completion|  4 ++
 .../classConst.php.testClassConst_02.completion|  4 ++
 .../classConst.php.testClassConst_03.completion|  4 ++
 .../classConst.php.testClassConst_04.completion|  4 ++
 .../classConst.php.testClassConst_05.completion|  4 ++
 .../classConst.php.testClassConst_06.completion|  4 ++
 .../classConst.php.testClassConst_07.completion|  4 ++
 .../testfiles/completion/lib/php56/globalConst.php | 35 ++
 .../globalConst.php.testGlobalConst_01.completion  |  4 ++
 .../globalConst.php.testGlobalConst_02.completion  |  4 ++
 .../globalConst.php.testGlobalConst_03.completion  |  4 ++
 .../globalConst.php.testGlobalConst_04.completion  |  4 ++
 .../globalConst.php.testGlobalConst_05.completion  |  4 ++
 .../globalConst.php.testGlobalConst_06.completion  |  4 ++
 .../globalConst.php.testGlobalConst_07.completion  |  4 ++

[netbeans] 03/04: Add subproject

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

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

commit a9f11cffaf7eb01871698c4c4c3c25926555324c
Author: Hector Espert 
AuthorDate: Mon Dec 7 00:12:49 2020 +0100

Add subproject
---
 build.gradle | 17 +
 gradle.properties|  3 +++
 platform/api.io/build.gradle |  7 +++
 settings.gradle  |  2 ++
 4 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/build.gradle b/build.gradle
index c40b916..0ed639e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,7 @@
  */
 
 /*
- * Load 
+ * Todo: Convert to plugin 
  */
 ant.importBuild('nbbuild/build.xml') { antTargetName ->
 'ant-' + antTargetName
@@ -15,18 +15,3 @@ ant.importBuild('nbbuild/build.xml') { antTargetName ->
 tasks.matching { task ->
 task.name.startsWith('ant-')
 }*.group = 'Ant'
-
-task clean(type: Delete) {
-group = 'Clean'
-dependsOn = ['ant-clean']
-delete rootProject.buildDir
-}
-
-task build() {
-group = 'Build'
-dependsOn = ['ant-build']
-mustRunAfter = ['clean']
-doLast {
-println 'Hello world!'
-}
-}
diff --git a/gradle.properties b/gradle.properties
index 6b1823d..0bc3aee 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1 +1,4 @@
 org.gradle.daemon=false
+action.build.args=ant-build
+action.clean.args=ant-clean
+action.run.args=ant-tryme
diff --git a/platform/api.io/build.gradle b/platform/api.io/build.gradle
new file mode 100644
index 000..260bef4
--- /dev/null
+++ b/platform/api.io/build.gradle
@@ -0,0 +1,7 @@
+ant.importBuild('build.xml') { antTargetName ->
+'ant-' + antTargetName
+}
+
+tasks.matching { task ->
+task.name.startsWith('ant-')
+}*.group = 'Ant'
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
index dbcc9b6..ceb28a0 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -8,3 +8,5 @@
  */
 
 rootProject.name = 'Apache NetBeans'
+
+include 'platform:api.io'


-
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-4419) Webservice can not be created via GUI

2020-12-12 Thread Andreas Gottardi (Jira)


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

Andreas Gottardi commented on NETBEANS-4419:


In the latest release 12.2 the error message has changed:
{code:java}
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because 
"creator" is null
at 
org.netbeans.modules.websvc.core.dev.wizard.NewWebServiceWizardIterator.instantiate(NewWebServiceWizardIterator.java:78)
at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602)
at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
at 
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
at 
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
at 
org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
at 
org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
[catch] at 
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
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)
{code}
but still no success creating web service classes with the wizard.

> Webservice can not be created via GUI
> -
>
> Key: NETBEANS-4419
> URL: https://issues.apache.org/jira/browse/NETBEANS-4419
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Web Project
>Affects Versions: 12.0, 11.1, 11.2
> Environment: Windows 10, 2004, x64
>Reporter: Andreas Gottardi
>Priority: Major
>
> Hello,
> I try to create a new WebService in a Java EE web application over the menu: 
> Right click on the package "New" - "Web service...". I fill out everything 
> and click "Finish". Nothing happens and in the console the following 
> Exception is reported:
> {quote}java.lang.NullPointerException
>  at 
> org.netbeans.modules.websvc.core.dev.wizard.NewWebServiceWizardIterator.instantiate(NewWebServiceWizardIterator.java:78)
>  at 
> org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:602)
>  at 
> org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:436)
>  at 
> org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
>  at 
> org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
>  at 
> org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
>  at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
>  at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
>  [catch] at 
> org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
>  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)
> {quote}
>  



--
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-5121) Netbeans 12.2: Publishing JAAS-Context fails

2020-12-12 Thread S. M. (Jira)


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

S. M. updated NETBEANS-5121:

Description: 
The following exactly same code works fine when it is deployed outside Netbeans 
or with an older Netbeans version. So I feel the following is a Netbeans 12.2 
Issue:

My JAAS custom security module is disclosed by the following code:

static

{ URL jaasConfigURL = 
LoginRMB.class.getClassLoader().getResource("my_jaas.config"); 
System.setProperty("java.security.auth.login.config", 
jaasConfigURL.toString()); }

my_jaas.config looks like:
 MySecurityContext

{ com.cortexsoft.jaas.myloginmodul.MyLoginModule required debug=true; }

;

I deploy to Glassfish 4.1.2. or 5.0.1 When I try to establish the security 
context by:

LoginContext lc = new LoginContext("MySecurityContext", myCallbackHandler);

...the following error occurs:
 javax.security.auth.login.LoginException: No LoginModules configured for 
MySecurityContext
 at javax.security.auth.login.LoginContext.init(LoginContext.java:264)
 at javax.security.auth.login.LoginContext.(LoginContext.java:417)
 at 
com.cortexsoft.mypackage.web.mb.login.JaasLoginHelper.jaasLogin(JaasLoginHelper.java:49)
 at com.cortexsoft.mypackage.web.mb.login.LoginRMB.login(LoginRMB.java:1131)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:497)
 at com.sun.el.parser.AstValue.invoke(AstValue.java:289)
 at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
 at 
org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
 at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
 at 
com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
 at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
 at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
 at javax.faces.component.UICommand.broadcast(UICommand.java:315)
 at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
 at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
 at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
 at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658)
 at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
 at 
org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:305)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
 at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
 at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
 at 
org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:416)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:283)
 at 
com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
 at 
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
 at 
org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
 at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
 at 
org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
 at 
org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
 at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
 at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
 at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
 at 
org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
 at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
 

[jira] [Created] (NETBEANS-5144) Can't set breakpoint in xhtml-File

2020-12-12 Thread S. M. (Jira)
S. M. created NETBEANS-5144:
---

 Summary: Can't set breakpoint in xhtml-File
 Key: NETBEANS-5144
 URL: https://issues.apache.org/jira/browse/NETBEANS-5144
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Debugger
Affects Versions: 12.2
 Environment:  Netbeans 12.2, Glassfish 4.1.2
Reporter: S. M.


Setting a breakpoint in a xhtml-File (JSF) does not work.



--
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-5143) NetBeans 12.2 deploys webapps twice

2020-12-12 Thread Vlad Palnik (Jira)
Vlad Palnik created NETBEANS-5143:
-

 Summary: NetBeans 12.2 deploys webapps twice
 Key: NETBEANS-5143
 URL: https://issues.apache.org/jira/browse/NETBEANS-5143
 Project: NetBeans
  Issue Type: Bug
  Components: core
Affects Versions: 12.2
 Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
java: build 11.0.9.1+1, maven 3.6.3
Netbeans versions tested: 12.1, 12.2 (only 12.2 is effected)
Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
Reporter: Vlad Palnik


To whomever it concerns,
 
I've come across a possible bug in NetBeans 12.2. Netbeans seems to interfere 
with the deployment of apps somehow and apps are deployed twice.
 
While deploying an app it follows this pattern: deploy => undeploy => deploy 
(see build log below). I tried solving this issue by undeployed any previous 
versions of the app manually and restarted Tomcat, the same error occurs. The 
issue only appears when using NB 12.2
 
When tested on NetBeans 12.1 using the same Java/Tomcat installation/config no 
errors occur and deployment proceeds correctly.
 
Steps to replicate:
1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
2 Set Tomcat Server in Properties > Run
3. Build/Run project in 12.1, you will get a "Hello World" basic site.
4. Check build log, only a single deploy should show up.
5 Close 12.1 and open same project in 12.2
6 Before run/build make sure same server and java versions are selected
7 Build/Run project
8 Check build log, you will see two deploys of webapp
 
 
BUILD SUCCESS

Total time:  18.211 s
Finished at: 2020-12-11T17:27:08-08:00

Deploying on Tomcat 8.5.60
    profile mode: false
    debug mode: false
    force redeploy: true
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5
Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext6407158500266578550.xml=/myapp
OK - Deployed application at context path [/myapp]
Start is in progress...
start?path=/myapp
OK - Started application at context path [/myapp]
Deploying on Tomcat 8.5.60
    profile mode: false
    debug mode: false
    force redeploy: true
Undeploying ...
undeploy?path=/myapp
OK - Undeployed application at context path [/myapp]
In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5 
Deployment is in progress...
deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext3519987589623367889.xml=/myapp
OK - Deployed application at context path [/myapp]
Start is in progress...
start?path=/myapp
OK - Started application at context path [/myapp]
 
 



--
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: Moved Apache NetBeans 12.1 to the Archives

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 9684c62  Moved Apache NetBeans 12.1 to the Archives
9684c62 is described below

commit 9684c622cb492b6754b401534345867ff668bde5
Author: Laszlo Kishalmi 
AuthorDate: Sat Dec 12 09:30:10 2020 -0800

Moved Apache NetBeans 12.1 to the Archives
---
 .../src/content/download/nb121/nb121.asciidoc  | 34 +++---
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc 
b/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc
index 15dcaa9..4678428 100644
--- a/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc
+++ b/netbeans.apache.org/src/content/download/nb121/nb121.asciidoc
@@ -44,25 +44,25 @@ NOTE: It's NOT recommended to link to github.
 Apache NetBeans 12.1 is available for download from your closest Apache mirror.
 
 - Binaries: 
-link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/netbeans-12.1-bin.zip[netbeans-12.1-bin.zip]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.asc[PGP
 ASC])
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-bin.zip[netbeans-12.1-bin.zip]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-bin.zip.asc[PGP
 ASC])
 
 - Installers:
  
-* 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe[Apache-NetBeans-12.1-bin-windows-x64.exe]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.asc[PGP
 ASC])
-* 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh[Apache-NetBeans-12.1-bin-linux-x64.sh]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.asc[PGP
 ASC])
-* 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg[Apache-NetBeans-12.1-bin-macosx.dmg]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.asc[PGP
 ASC])
-
-- Source: 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/netbeans-12.1-source.zip[netbeans-12.1-source.zip]
 (
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-source.zip.sha512[SHA-512],
-link:https://downloads.apache.org/netbeans/netbeans/12.1/netbeans-12.1-source.zip.asc[PGP
 ASC])
+* 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe[Apache-NetBeans-12.1-bin-windows-x64.exe]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-windows-x64.exe.asc[PGP
 ASC])
+* 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh[Apache-NetBeans-12.1-bin-linux-x64.sh]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-linux-x64.sh.asc[PGP
 ASC])
+* 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg[Apache-NetBeans-12.1-bin-macosx.dmg]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/Apache-NetBeans-12.1-bin-macosx.dmg.asc[PGP
 ASC])
+
+- Source: 
link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-source.zip[netbeans-12.1-source.zip]
 (
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-source.zip.sha512[SHA-512],
+link:https://archive.apache.org/dist/netbeans/netbeans/12.1/netbeans-12.1-source.zip.asc[PGP
 ASC])
 
 - Javadoc for this release is available at 
https://bits.netbeans.org/12.1/javadoc
 
@@ -108,7 +108,7 @@ To build Apache NetBeans 12.1 from source you need:
 
 Once you have everything installed then:
 
-1. Unzip 
link:https://www.apache.org/dyn/closer.cgi/netbeans/netbeans/12.1/netbeans-12.1-source.zip[netbeans-12.1-source.zip]

svn commit: r44944 - in /release/netbeans: netbeans-platform/12.1/ netbeans/11.0-gradle-patch-1/ netbeans/12.1/

2020-12-12 Thread lkishalmi
Author: lkishalmi
Date: Sat Dec 12 17:17:24 2020
New Revision: 44944

Log:
Archiving NetBeans 12.1 release

Removed:
release/netbeans/netbeans-platform/12.1/
release/netbeans/netbeans/11.0-gradle-patch-1/
release/netbeans/netbeans/12.1/


-
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-5142) LSP Client creates excessive processes

2020-12-12 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-5142:
-
Labels: pull-request-available  (was: )

> LSP Client creates excessive processes
> --
>
> Key: NETBEANS-5142
> URL: https://issues.apache.org/jira/browse/NETBEANS-5142
> Project: NetBeans
>  Issue Type: Bug
>  Components: lsp
>Affects Versions: 12.2
>Reporter: Matthias Bläsing
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> It was observed, that while using the typescript editor support in NetBeans 
> to work with angular projects, the whole system became sluggish. Parts of 
> this can be attributed to having `ng serve` running in the background and 
> using many resources when compiling, but that could not be the whole story.
> Checking the task manager showed, that the taskgroup of netbeans contained 
> more than 500 processes. The problem was reproducible.
> Running with a debugger showed, that a breakpoint placed in 
> org.netbeans.modules.typescript.editor.TypeScriptLSP.startServer(Lookup) was 
> hit multiple times in a short time frame although only one file was opened.
> This can be tracked back int 
> org.netbeans.modules.lsp.client.LSPBindings.getBindingsImpl(Project, 
> FileObject, String, boolean) where the map `project2MimeType2Server` provides 
> a cache, that should yield the same LSP server if a project is present or at 
> least the same lsp server for a directory.
> This caching does not work. The cache is a WeakHashMap with an URI as key. 
> The uri is created in the `getBindingsImpl` method and becomes immediately 
> eligible for GC. In consequence the next access will fail to retrieve the 
> previously created LSP as the key got GCed.
> TL;DR: Caching does not work.
> The problem seems to be introduced recently as it was only observed since a 
> few weeks. Most probably it was introduced when support for LSP without 
> project reference was introduced:
> https://github.com/apache/netbeans/commit/74feecb
> At that point the cache was switched from Project to URI. The Project is kept 
> alive by the IDE, so the cache should have worked at that time.



--
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-5142) LSP Client creates excessive processes

2020-12-12 Thread Jira
Matthias Bläsing created NETBEANS-5142:
--

 Summary: LSP Client creates excessive processes
 Key: NETBEANS-5142
 URL: https://issues.apache.org/jira/browse/NETBEANS-5142
 Project: NetBeans
  Issue Type: Bug
  Components: lsp
Affects Versions: 12.2
Reporter: Matthias Bläsing
Assignee: Matthias Bläsing


It was observed, that while using the typescript editor support in NetBeans to 
work with angular projects, the whole system became sluggish. Parts of this can 
be attributed to having `ng serve` running in the background and using many 
resources when compiling, but that could not be the whole story.

Checking the task manager showed, that the taskgroup of netbeans contained more 
than 500 processes. The problem was reproducible.

Running with a debugger showed, that a breakpoint placed in 
org.netbeans.modules.typescript.editor.TypeScriptLSP.startServer(Lookup) was 
hit multiple times in a short time frame although only one file was opened.

This can be tracked back int 
org.netbeans.modules.lsp.client.LSPBindings.getBindingsImpl(Project, 
FileObject, String, boolean) where the map `project2MimeType2Server` provides a 
cache, that should yield the same LSP server if a project is present or at 
least the same lsp server for a directory.

This caching does not work. The cache is a WeakHashMap with an URI as key. The 
uri is created in the `getBindingsImpl` method and becomes immediately eligible 
for GC. In consequence the next access will fail to retrieve the previously 
created LSP as the key got GCed.

TL;DR: Caching does not work.

The problem seems to be introduced recently as it was only observed since a few 
weeks. Most probably it was introduced when support for LSP without project 
reference was introduced:

https://github.com/apache/netbeans/commit/74feecb

At that point the cache was switched from Project to URI. The Project is kept 
alive by the IDE, so the cache should have worked at that time.



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

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

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



[jira] [Resolved] (NETBEANS-2570) NPE on exiting NetBeans

2020-12-12 Thread Jira


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

Matthias Bläsing resolved NETBEANS-2570.

Resolution: Duplicate

> NPE on exiting NetBeans
> ---
>
> Key: NETBEANS-2570
> URL: https://issues.apache.org/jira/browse/NETBEANS-2570
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
>Reporter: Shevek
>Priority: Major
>
> WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with 
> the position attribute: 
> [org-netbeans-modules-lsp-client-bindings-CompletionProviderImpl.instance], 
> but some are: 
> [org-netbeans-modules-parsing-ui-WaitScanFinishedCompletionProvider.instance, 
> org-netbeans-modules-editor-java-JavaCompletionProvider.instance, 
> org-netbeans-modules-java-editor-javadoc-JavadocCompletionProvider.instance, 
> org-netbeans-lib-editor-codetemplates-CodeTemplateCompletionProvider.instance,
>  
> org-netbeans-modules-j2ee-persistence-editor-completion-JPACodeCompletionProvider.instance,
>  org-netbeans-modules-spellchecker-completion-WordCompletion.instance]
> INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: 
> CancelableTaskWrapper[task: 
> org.netbeans.modules.java.hints.spiimpl.hints.HintsTask@4d4f5794, phase: 
> RESOLVED, priority: 500] : class 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper 
> ignored cancel for 371 ms.
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
> org.netbeans.modules.lsp.client.LSPBindings$Cleanup
> java.lang.NullPointerException
> at 
> org.netbeans.modules.lsp.client.LSPBindings$Cleanup.run(LSPBindings.java:243)
> 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)
> [catch] at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> INFO [org.netbeans.core.netigso.Netigso]: bundle 
> org.eclipse.osgi@3.9.1.v20140110-1610 256
> INFO [org.netbeans.core.netigso.Netigso]: bundle 
> org.eclipse.osgi@3.9.1.v20140110-1610 stopped



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

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

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



[jira] [Resolved] (NETBEANS-4980) Report Problem

2020-12-12 Thread Jira


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

Matthias Bläsing resolved NETBEANS-4980.

Resolution: Incomplete

> Report Problem
> --
>
> Key: NETBEANS-4980
> URL: https://issues.apache.org/jira/browse/NETBEANS-4980
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Beans
>Affects Versions: 12.1
> Environment: Windows 10 PRO
>Reporter: Raul Ferreira da Rocha
>Priority: Major
>
> 
>   2020-10-09T16:04:03
>   1602270243746
>   50
>   300
>   19
>   CPU INFO
>   8
> 
> 
>   2020-10-09T16:04:03
>   1602270243831
>   51
>   300
>   19
>   SCREEN SIZE
>   1440
>   900
>   1
> 
> 
>   2020-10-09T16:04:03
>   1602270243831
>   52
>   700
>   19
>   IDE_STARTUP
> 
> 
>   2020-10-09T16:04:04
>   1602270244583
>   61
>   800
>   19
>   USG_LOOK_AND_FEEL
>   Windows
>   Windows
> 
> 
>   2020-10-09T16:04:08
>   1602270248741
>   64
>   800
>   31
>   MEMORY
>   8273977344
> 
> 
>   2020-10-09T16:04:29
>   1602270269518
>   65
>   400
>   25
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   org.openide.awt.Actions$MenuItem[Plugins]
>   org.openide.awt.Actions$MenuItem
>   org.openide.awt.AlwaysEnabledAction[Plugins]
>   org.openide.awt.AlwaysEnabledAction
>   Plugins
> 
> 
>   2020-10-09T16:05:26
>   1602270326149
>   66
>   800
>   66
>   INDEXING_STARTED
>   INDEXING_STARTED
>   org.netbeans.modules.parsing.impl.indexing.Bundle
>   0
> 
> 
>   2020-10-09T16:05:26
>   1602270326150
>   67
>   800
>   66
>   INDEXING_FINISHED
>   INDEXING_FINISHED
>   org.netbeans.modules.parsing.impl.indexing.Bundle
>   0
> 
> 
>   2020-10-09T16:05:26
>   1602270326304
>   71
>   500
>   25
>   LOG_WINDOW_DEACTIVATED
>   LOG_WINDOW_DEACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
> 
> 
>   2020-11-02T17:51:39
>   1604350299247
>   48
>   300
>   19
>   CPU INFO
>   8
> 
> 
>   2020-11-02T17:51:39
>   1604350299294
>   49
>   300
>   19
>   SCREEN SIZE
>   1440
>   900
>   1
> 
> 
>   2020-11-02T17:51:39
>   1604350299294
>   50
>   700
>   19
>   IDE_STARTUP
> 
> 
>   2020-11-02T17:51:40
>   1604350300697
>   59
>   800
>   19
>   USG_LOOK_AND_FEEL
>   Windows
>   Windows
> 
> 
>   2020-11-02T17:51:46
>   160435030
>   62
>   800
>   28
>   MEMORY
>   8273977344
> 
> 
>   2020-11-02T17:58:12
>   1604350692233
>   63
>   500
>   25
>   LOG_WINDOW_DEACTIVATED
>   LOG_WINDOW_DEACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
> 
> 
>   2020-11-02T17:58:13
>   1604350693966
>   64
>   500
>   56
>   LOG_WINDOW_ACTIVATED
>   LOG_WINDOW_ACTIVATED
>   org.netbeans.core.ui.warmup.Bundle
>   27
> 
> 
>   2020-11-02T17:58:20
>   1604350700805
>   65
>   400
>   25
>   UI_ACTION_BUTTON_PRESS
>   UI_ACTION_BUTTON_PRESS
>   org.openide.awt.Bundle
>   org.openide.awt.Actions$MenuItem[Open Project...]
>   org.openide.awt.Actions$MenuItem
>   org.netbeans.modules.project.ui.actions.OpenProject[Open 
> Project...]
>   org.netbeans.modules.project.ui.actions.OpenProject
>   Open Project...
> 
> 
>   2020-11-02T17:59:16
>   1604350756244
>   67
>   700
>   57
>   Snapshot statistics
>   1604350733467
>   Samples
>   2178
>   Average
>   10.43785202020201
>   Minimum
>   1.9695
>   Maximum
>   28.5957
>   Std. deviation
>   1.2625193351145576
> 
> 
>   2020-11-02T17:59:22
>   1604350762481
>   105
>   org.netbeans.ui
>   700
>   57
>   UI_ENABLED_MODULES
>   UI_ENABLED_MODULES
>   org.netbeans.modules.uihandler.Bundle
>   org.netbeans.api.annotations.common/1 [1.36]
>   org.netbeans.modules.selenium2.webclient [1.16]
>   org.netbeans.modules.editor.mimelookup.impl/1 [1.41]
>   org.netbeans.modules.spellchecker.dictionary_en [1.31]
>   org.netbeans.modules.project.ant/1 [1.76]
>   org.netbeans.modules.lexer/2 [1.72.0.1]
>   org.eclipse.jgit [5.5.1]
>   org.netbeans.modules.db.sql.editor [1.45.0.30]
>   org.netbeans.modules.versioning.indexingbridge/0 [1.34]
>   org.netbeans.core.ide/1 [1.50]
>   org.netbeans.modules.editor.indent.project/0 [1.31]
>   com.jcraft.jsch [0.1.55]
>   org.netbeans.modules.updatecenters/1 [1.49]
>   org.eclipse.mylyn.commons.core [3.17.0]
>   org.netbeans.modules.css.editor/1 [1.77]
>   org.eclipse.mylyn.commons.xmlrpc [3.17.0]
>   org.netbeans.modules.gsf.testrunner/2 [2.19]
>   org.netbeans.modules.spellchecker.apimodule [1.34]
>   org.netbeans.modules.usersguide/1 [1.57]
>   org.netbeans.modules.mylyn.util [1.45]
>   org.netbeans.modules.selenium2 [1.14]
>   org.netbeans.libs.felix [2.24]
>   org.netbeans.spi.editor.hints/0 [1.51.0.7.55]
>   org.openide.loaders [7.77]
>   org.openide.util.ui [9.17]
>   org.netbeans.modules.uihandler [2.44]
>   org.openide.filesystems.compat8 [9.18]
>   org.netbeans.modules.ide.branding/1 [1.41]
>   org.netbeans.modules.terminal.nb [1.9]
>   org.netbeans.modules.parsing.lucene/2 [2.44.0.1]
>   

[jira] [Resolved] (NETBEANS-4672) Java lang exception

2020-12-12 Thread Jira


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

Matthias Bläsing resolved NETBEANS-4672.

Resolution: Incomplete

> Java lang exception
> ---
>
> Key: NETBEANS-4672
> URL: https://issues.apache.org/jira/browse/NETBEANS-4672
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Other
>Affects Versions: Next
>Reporter: Owen Savill
>Priority: Major
>
> ---
> >Log Session: Monday, August 3, 2020 at 12:51:33 PM British Summer Time
> >System Info: 
>  Product Version = Apache NetBeans IDE DEV (Build 
> dev-08d65f163be3bb1232098cc66b558438e90ddc01)
>  Operating System = Linux version 5.8.0-050800-generic running on amd64
>  Java; VM; Vendor = 11.0.8; OpenJDK 64-Bit Server VM 
> 11.0.8+10-post-Ubuntu-0ubuntu120.04; Ubuntu
>  Runtime = OpenJDK Runtime Environment 11.0.8+10-post-Ubuntu-0ubuntu120.04
>  Java Home = /usr/lib/jvm/java-11-openjdk-amd64
>  System Locale; Encoding = en_GB (nb); UTF-8
>  Home Directory = /home/owen
>  Current Directory = /home/owen
>  User Directory = /home/owen/.netbeans/dev
>  Cache Directory = /home/owen/.cache/netbeans/dev
>  Installation = /opt/netbeans-dev-build/nb
>  /opt/netbeans-dev-build/ergonomics
>  /opt/netbeans-dev-build/ide
>  /opt/netbeans-dev-build/extide
>  /opt/netbeans-dev-build/java
>  /opt/netbeans-dev-build/apisupport
>  /opt/netbeans-dev-build/webcommon
>  /opt/netbeans-dev-build/websvccommon
>  /opt/netbeans-dev-build/enterprise
>  /opt/netbeans-dev-build/profiler
>  /opt/netbeans-dev-build/php
>  /opt/netbeans-dev-build/harness
>  /opt/netbeans-dev-build/cpplite
>  /opt/netbeans-dev-build/groovy
>  /opt/netbeans-dev-build/javafx
>  /opt/netbeans-dev-build/platform
>  Boot & Ext. Classpath = 
>  Application Classpath = 
> /opt/netbeans-dev-build/platform/lib/boot.jar:/opt/netbeans-dev-build/platform/lib/org-openide-modules.jar:/opt/netbeans-dev-build/platform/lib/org-openide-util.jar:/opt/netbeans-dev-build/platform/lib/org-openide-util-lookup.jar:/opt/netbeans-dev-build/platform/lib/org-openide-util-ui.jar
>  Startup Classpath = 
> /opt/netbeans-dev-build/platform/core/org-openide-filesystems.jar:/opt/netbeans-dev-build/platform/core/asm-8.0.1.jar:/opt/netbeans-dev-build/platform/core/core-base.jar:/opt/netbeans-dev-build/platform/core/asm-tree-8.0.1.jar:/opt/netbeans-dev-build/platform/core/core.jar:/opt/netbeans-dev-build/platform/core/asm-commons-8.0.1.jar:/opt/netbeans-dev-build/platform/core/org-netbeans-libs-asm.jar:/opt/netbeans-dev-build/platform/core/org-openide-filesystems-compat8.jar:/opt/netbeans-dev-build/nb/core/org-netbeans-upgrader.jar:/opt/netbeans-dev-build/nb/core/locale/core_nb.jar
> ---
> WARNING [org.netbeans.core.startup.NbEvents]: The extension 
> /opt/netbeans-dev-build/ide/modules/ext/jcodings-1.0.18.jar may be multiply 
> loaded by modules: 
> [/opt/netbeans-dev-build/ide/modules/org-netbeans-modules-textmate-lexer.jar, 
> /opt/netbeans-dev-build/ide/modules/org-netbeans-libs-bytelist.jar]; see: 
> http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#class-path
> INFO [org.netbeans.modules.netbinox]: Install area set to 
> file:/opt/netbeans-dev-build/
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is deprecated.
> WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ant.hints, org.netbeans.modules.java.hints, 
> org.netbeans.modules.jshell.support, org.netbeans.modules.maven.hints] use 
> org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java 
> Hints SPI (org.netbeans.spi.java.hints) instead.
> WARNING [org.openide.filesystems.Ordering]: Found same position 1,000,000 for 
> both 
> Services/MIMEResolver/org-netbeans-modules-cpplite-editor-file-CDataObject-Extension.xml
>  and 
> Services/MIMEResolver/org-netbeans-modules-cpplite-editor-file-CPPDataObject-Extension.xml
> WARNING [org.openide.filesystems.Ordering]: Not all children in 
> Services/MIMEResolver/ marked with the position attribute: 
> [org-netbeans-modules-cpplite-editor-file-HDataObject-Extension.xml, 
> com-github-alexfalappa-nbspringboot-cfgprops-filetype-CfgPropsDataObject-Registration.xml,
>  org-netbeans-modules-cpplite-editor-file-HPPDataObject-Extension.xml, 
> draganbjedov-netbeans-csv-dataobject-CSVDataObject-Extension.xml], but some 
> are: 

[jira] [Resolved] (NETBEANS-4956) Default folder not found

2020-12-12 Thread Jira


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

Matthias Bläsing resolved NETBEANS-4956.

Resolution: Incomplete

> Default folder not found
> 
>
> Key: NETBEANS-4956
> URL: https://issues.apache.org/jira/browse/NETBEANS-4956
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 12.0
>Reporter: Antoine
>Priority: Major
>
> Hello,
>  
> I have a bug, N: folder is configure somewhere in netbean , impossible to 
> found where it's configured to be able to change it.
> Several issues occurs from this configuration issue
> git : impossible to record ssh key prints
> error when launching netbean
> ---
>  >Log Session: Tuesday, October 27, 2020 8:30:49 AM CET
>  >System Info: 
>  Product Version = Apache NetBeans IDE 12.1
>  Operating System = Windows 10 version 10.0 running on amd64
>  Java; VM; Vendor = 1.8.0_261; Java HotSpot(TM) 64-Bit Server VM 25.261-b12; 
> Oracle Corporation
>  Runtime = Java(TM) SE Runtime Environment 1.8.0_261-b12
>  Java Home = C:\Program Files\Java\jre1.8.0_261
>  System Locale; Encoding = fr_FR (nb); Cp1252
>  Home Directory = C:\Users\abonnefoy
>  Current Directory = C:\Program Files\NetBeans-12.1
>  User Directory = C:\Users\abonnefoy\AppData\Roaming\NetBeans\12.1
>  Cache Directory = C:\Users\abonnefoy\AppData\Local\NetBeans\Cache\12.1
>  Installation = C:\Program Files\NetBeans-12.1\netbeans\nb
>  C:\Program Files\NetBeans-12.1\netbeans\ide
>  C:\Program Files\NetBeans-12.1\netbeans\extide
>  C:\Program Files\NetBeans-12.1\netbeans\webcommon
>  C:\Program Files\NetBeans-12.1\netbeans\websvccommon
>  C:\Program Files\NetBeans-12.1\netbeans\php
>  C:\Program Files\NetBeans-12.1\netbeans\harness
>  C:\Program Files\NetBeans-12.1\netbeans\cpplite
>  C:\Program Files\NetBeans-12.1\netbeans\platform
>  Boot & Ext. Classpath = C:\Program 
> Files\Java\jre1.8.0_261\lib\resources.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\rt.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\sunrsasign.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\jsse.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\jce.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\charsets.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\jfr.jar;C:\Program 
> Files\Java\jre1.8.0_261\classes;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\access-bridge-64.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\cldrdata.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\dnsns.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\jaccess.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\jfxrt.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\localedata.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\nashorn.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\sunec.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\sunjce_provider.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\sunmscapi.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\sunpkcs11.jar;C:\Program 
> Files\Java\jre1.8.0_261\lib\ext\zipfs.jar
>  Application Classpath = C:\Program 
> Files\NetBeans-12.1\netbeans\platform\lib\boot.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\lib\org-openide-modules.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program
>  Files\NetBeans-12.1\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\lib\org-openide-util.jar
>  Startup Classpath = C:\Program 
> Files\NetBeans-12.1\netbeans\platform\core\asm-8.0.1.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\core\asm-commons-8.0.1.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\core\asm-tree-8.0.1.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\core\core-base.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\core\core.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Program
>  
> Files\NetBeans-12.1\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Program
>  
> Files\NetBeans-12.1\netbeans\platform\core\org-openide-filesystems.jar;C:\Program
>  Files\NetBeans-12.1\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Program 
> Files\NetBeans-12.1\netbeans\nb\core\locale\core_nb.jar
>  
> ---
>  INFO [org.netbeans.modules.netbinox]: Install area set to 
> [file:/C:/Program|file:///C:/Program] Files/NetBeans-12.1/netbeans/
>  WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated.
>  WARNING [org.netbeans.core.modules]: the modules 
> [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use 
> org.netbeans.modules.editor.structure which is