svn commit: r45217 - in /release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1: ./ netbeans-html4j-1.7.1.zip netbeans-html4j-1.7.1.zip.asc netbeans-html4j-1.7.1.zip.sha256 netbeans-html4j-1.7.1.zip.s

2021-01-07 Thread monacotoni
Author: monacotoni
Date: Fri Jan  8 06:02:31 2021
New Revision: 45217

Log:
release of 1.7.1

Added:
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/

release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip
   (with props)

release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.asc

release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha256

release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha512

Added: 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip
==
Binary file - no diff available.

Propchange: 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip
--
svn:mime-type = application/octet-stream

Added: 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.asc
==
--- 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.asc
 (added)
+++ 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.asc
 Fri Jan  8 06:02:31 2021
@@ -0,0 +1,12 @@
+-BEGIN PGP SIGNATURE-
+Comment: GPGTools - https://gpgtools.org
+
+iQEzBAABCgAdFiEE/fHgZ/8+q+h2A4CXXNqY+XzTekIFAl/tgvQACgkQXNqY+XzT
+ekIHqwgAwnYMxQStZkwhLDtrBCt9vBJTn0L7K0stDDVNOdePpokrQS0IWYGuv7tO
+I+URQ4JIxPzRrVQpYW3iSJHahhj22UK8I9/fQARi4luUmu+3yxveBZTz/AvJ7lv3
+tJOtAQxYE0AA/mKPTrQ0LKdPKMP+PrtYt9PTwAv+8o3Chk8g8fWAmLy8wHBWmuwH
+P9dW5wT1l0hQYvGkEt1TvK8qiQEcPiID69AznbnIwlqHzjUxn3l8IufFeL6+MklB
+Ia/1hG0PyAd8bC7WTWHQo3xswqO2iKLSD8x+6n1ZxZDk1D5ZfSJuKfeMGHvcsR09
+LVI8Jj5LHM9eC2VXHmpS+ZuglDEnoQ==
+=uJLL
+-END PGP SIGNATURE-

Added: 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha256
==
--- 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha256
 (added)
+++ 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha256
 Fri Jan  8 06:02:31 2021
@@ -0,0 +1 @@
+3abc536e5db3cdd9c691ee247225d56a2eee534fbce45b1a33f24b6a7b66cace  
netbeans-html4j-1.7.1.zip

Added: 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha512
==
--- 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha512
 (added)
+++ 
release/netbeans/netbeans-html4j/netbeans-html4j-1.7.1/netbeans-html4j-1.7.1.zip.sha512
 Fri Jan  8 06:02:31 2021
@@ -0,0 +1 @@
+d2e6f5de8c961c67187e2c72caf851bd3e6063d08f5928698e55077b618dbf4ce3e588c16aea3919bda12cbcca21d37290795576d962a57e0e22d75a74d32154
  netbeans-html4j-1.7.1.zip



-
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-4996) Hints in VSCode editor aren't refreshed after successful build

2021-01-07 Thread Jaroslav Tulach (Jira)


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

Jaroslav Tulach commented on NETBEANS-4996:
---

Martin Entlicher has created 
[PR-2648|https://github.com/apache/netbeans/pull/2648/].

> Hints in VSCode editor aren't refreshed after successful build
> --
>
> Key: NETBEANS-4996
> URL: https://issues.apache.org/jira/browse/NETBEANS-4996
> Project: NetBeans
>  Issue Type: Bug
>  Components: vscode
>Affects Versions: 12.2
>Reporter: Jaroslav Tulach
>Assignee: Jan Lahoda
>Priority: Minor
>
> After successful Gradle build the hint on {{package}} statement should 
> disappear. It doesn't right now. One needs to perform edit (press Enter?) in 
> the editor to refresh the hints. To reproduce:
> Create new Gradle project with some (not downloaded) dependencies. Open it in 
> VSCode Apache NetBeans Language Server 12.2. There should be hint "Missing 
> mandatory classpath entries" on {{package}} statement. Select fix, the build 
> is started and finishes successfully. However the hint still remains.



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

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

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



[netbeans] branch master updated: [NETBEANS-377] Add PSR-4 hints

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 7efb4f8  [NETBEANS-377] Add PSR-4 hints
 new e481dad  Merge pull request #2630 from KacerCZ/netbeans-377-psr4-hints
7efb4f8 is described below

commit 7efb4f842d36f512f9d9cb391d23f815daf2ed3e
Author: Tomas Prochazka 
AuthorDate: Fri Jan 1 14:45:55 2021 +0100

[NETBEANS-377] Add PSR-4 hints

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

- Added hints for [PSR-4 Autoloader](https://www.php-fig.org/psr/psr-4/) 
standard.
- Checks that class/interface/trait declaration matches file name.
- Checks that namespace matches directory structure.
- Highlights only non-matching part of namespace.
---
 .../modules/php/editor/resources/layer.xml |   5 +
 .../php/editor/verification/Bundle.properties  |   1 +
 .../modules/php/editor/verification/PSR4Hint.java  | 262 +
 .../Vendor/App/ClassName.php   |   7 +
 .../App/ClassName.php.testClassNameDifferent.hints |   4 +
 .../Vendor/App/ClassName.php   |   7 +
 .../ClassName.php.testClassNameDifferentCase.hints |   4 +
 .../PSR4/testClassNameOk/Vendor/App/ClassName.php  |   7 +
 .../Vendor/App/ClassName.php.testClassNameOk.hints |   0
 .../Vendor/App/InterfaceName.php   |   7 +
 ...erfaceName.php.testInterfaceNameDifferent.hints |   4 +
 .../Vendor/App/InterfaceName.php   |   7 +
 ...ceName.php.testInterfaceNameDifferentCase.hints |   4 +
 .../Vendor/App/InterfaceName.php   |   7 +
 .../InterfaceName.php.testInterfaceNameOk.hints|   0
 .../Vendor/App/ClassName.php   |   7 +
 .../App/ClassName.php.testNamespaceDifferent.hints |   4 +
 .../Vendor/App/ClassName.php   |   7 +
 .../ClassName.php.testNamespaceDifferentCase.hints |   4 +
 .../PSR4/testNamespaceOk/Vendor/App/ClassName.php  |   7 +
 .../Vendor/App/ClassName.php.testNamespaceOk.hints |   0
 .../PSR4/testSubNamespaceOk/App/ClassName.php  |   7 +
 .../App/ClassName.php.testSubNamespaceOk.hints |   4 +
 .../Vendor/App/TraitName.php   |   7 +
 .../App/TraitName.php.testTraitNameDifferent.hints |   4 +
 .../Vendor/App/TraitName.php   |   7 +
 .../TraitName.php.testTraitNameDifferentCase.hints |   4 +
 .../PSR4/testTraitNameOk/Vendor/App/TraitName.php  |   7 +
 .../Vendor/App/TraitName.php.testTraitNameOk.hints |   0
 .../php/editor/verification/PSR4HintTest.java  | 108 +
 30 files changed, 503 insertions(+)

diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/resources/layer.xml 
b/php/php.editor/src/org/netbeans/modules/php/editor/resources/layer.xml
index c6dd17d..f20f420 100644
--- a/php/php.editor/src/org/netbeans/modules/php/editor/resources/layer.xml
+++ b/php/php.editor/src/org/netbeans/modules/php/editor/resources/layer.xml
@@ -362,6 +362,11 @@
 
 
 
+
+
+
+
+
 
 
 
diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/verification/Bundle.properties
 
b/php/php.editor/src/org/netbeans/modules/php/editor/verification/Bundle.properties
index 55ab59f..9272196 100644
--- 
a/php/php.editor/src/org/netbeans/modules/php/editor/verification/Bundle.properties
+++ 
b/php/php.editor/src/org/netbeans/modules/php/editor/verification/Bundle.properties
@@ -31,6 +31,7 @@ ImmutableVariablesCustomizer.jLabel1.text=Number of Allowed 
Assignments per Vari
 csl-hints/text/x-php5/hints/braces=Braces
 csl-hints/text/x-php5/hints/psr0=PSR-0: Autoloading Standard
 csl-hints/text/x-php5/hints/psr1=PSR-1: Basic Coding Standard
+csl-hints/text/x-php5/hints/psr4=PSR-4: Autoloader
 csl-hints/text/x-php5/hints/superglobals=Superglobals
 csl-hints/text/x-php5/hints/toomanylines=Too Many Lines
 NestedHintsCustomizer.jLabel1.text=Number of Allowed Nested Blocks:
diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/verification/PSR4Hint.java 
b/php/php.editor/src/org/netbeans/modules/php/editor/verification/PSR4Hint.java
new file mode 100644
index 000..7a44166
--- /dev/null
+++ 
b/php/php.editor/src/org/netbeans/modules/php/editor/verification/PSR4Hint.java
@@ -0,0 +1,262 @@
+/*
+ * 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 Licen

[jira] [Created] (NETBEANS-5224) Despues de ejecutar mi aplicacion en java despues de cambiar de netbeasns 8.2 a netbeans 12 una ventana indica que se ha encontrado un bag en la aplicacion

2021-01-07 Thread Miguel Angel Manzano Portillo (Jira)
Miguel Angel Manzano Portillo created NETBEANS-5224:
---

 Summary: Despues de ejecutar mi aplicacion en java despues de 
cambiar de netbeasns 8.2 a netbeans 12 una ventana indica que se ha encontrado 
un bag en la aplicacion
 Key: NETBEANS-5224
 URL: https://issues.apache.org/jira/browse/NETBEANS-5224
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2
 Environment: Product Version = Apache NetBeans IDE 12.2
  Operating System= Windows 7 version 6.1 running on amd64
  Java; VM; Vendor= 1.8.0_181; Java HotSpot(TM) 64-Bit Server VM 
25.181-b13; Oracle Corporation
  Runtime = Java(TM) SE Runtime Environment 1.8.0_181-b13
  Java Home   = C:\Program Files\Java\jdk1.8.0_181\jre
  System Locale; Encoding = es_ES (nb); Cp1252
  Home Directory  = C:\Users\USUARIO2016
  Current Directory   = C:\Program Files\NetBeans-12.2
Reporter: Miguel Angel Manzano Portillo
 Fix For: 12.3


>Log Session: Thursday, January 7, 2021 2:40:45 PM GMT-04:00
>System Info: 
 Product Version = Apache NetBeans IDE 12.2
 Operating System = Windows 7 version 6.1 running on amd64
 Java; VM; Vendor = 1.8.0_181; Java HotSpot(TM) 64-Bit Server VM 25.181-b13; 
Oracle Corporation
 Runtime = Java(TM) SE Runtime Environment 1.8.0_181-b13
 Java Home = C:\Program Files\Java\jdk1.8.0_181\jre
 System Locale; Encoding = es_ES (nb); Cp1252
 Home Directory = C:\Users\USUARIO2016
 Current Directory = C:\Program Files\NetBeans-12.2
 User Directory = C:\Users\USUARIO2016\AppData\Roaming\NetBeans\12.2
 Cache Directory = C:\Users\USUARIO2016\AppData\Local\NetBeans\Cache\12.2
 Installation = C:\Program Files\NetBeans-12.2\netbeans\nb
 C:\Program Files\NetBeans-12.2\netbeans\ergonomics
 C:\Program Files\NetBeans-12.2\netbeans\ide
 C:\Program Files\NetBeans-12.2\netbeans\extide
 C:\Program Files\NetBeans-12.2\netbeans\java
 C:\Program Files\NetBeans-12.2\netbeans\apisupport
 C:\Program Files\NetBeans-12.2\netbeans\webcommon
 C:\Program Files\NetBeans-12.2\netbeans\websvccommon
 C:\Program Files\NetBeans-12.2\netbeans\enterprise
 C:\Program Files\NetBeans-12.2\netbeans\profiler
 C:\Program Files\NetBeans-12.2\netbeans\php
 C:\Program Files\NetBeans-12.2\netbeans\harness
 C:\Program Files\NetBeans-12.2\netbeans\cpplite
 C:\Program Files\NetBeans-12.2\netbeans\groovy
 C:\Program Files\NetBeans-12.2\netbeans\javafx
 C:\Program Files\NetBeans-12.2\netbeans\platform
 Boot & Ext. Classpath = C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\resources.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\rt.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\sunrsasign.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\jsse.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\jfr.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\classes;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\access-bridge-64.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\cldrdata.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\dnsns.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\jaccess.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\jfxrt.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\localedata.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\nashorn.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\sunec.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\sunjce_provider.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\sunmscapi.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\sunpkcs11.jar;C:\Program 
Files\Java\jdk1.8.0_181\jre\lib\ext\zipfs.jar
 Application Classpath = C:\Program 
Files\NetBeans-12.2\netbeans\platform\lib\boot.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\lib\org-openide-modules.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\lib\org-openide-util-lookup.jar;C:\Program
 Files\NetBeans-12.2\netbeans\platform\lib\org-openide-util-ui.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\lib\org-openide-util.jar;C:\Program 
Files\Java\jdk1.8.0_181\lib\dt.jar;C:\Program 
Files\Java\jdk1.8.0_181\lib\tools.jar
 Startup Classpath = C:\Program 
Files\NetBeans-12.2\netbeans\platform\core\asm-8.0.1.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\core\asm-commons-8.0.1.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\core\asm-tree-8.0.1.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\core\core-base.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\core\core.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\core\org-netbeans-libs-asm.jar;C:\Program 
Files\NetBeans-12.2\netbeans\platform\core\org-openide-filesystems-compat8.jar;C:\Program
 
Files\NetBeans-12.2\netbeans\platform\core\org-openide-filesystems.jar;C:\Program
 Files\NetBeans-12.2\netbeans\nb\core\org-netbeans-upgrader.jar;C:\Program 
Files\NetBeans-12.2\net

[netbeans] branch master updated (8aecfea -> 80db78a)

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

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


from 8aecfea  Make IntroduceElement fixes available as LSP CodeActions. 
(#2647)
 new a2ea8bc  [NETBEANS-4443] PHP 8.0 Support: Attribute Syntax (Part 1)
 new 5cc7204  [NETBEANS-4443] PHP 8.0 Support: Attribute Syntax (Part 2)
 new a83a281  [NETBEANS-4443] PHP 8.0 Support: Attribute Syntax (Part 3)
 new 80db78a  Merge pull request #2640 from junichi11/php80-attribute-syntax

The 4824 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:
 .../modules/php/editor/PHPBracesMatcher.java   |   15 +-
 .../modules/php/editor/indent/CodeStyle.java   |   14 +-
 .../modules/php/editor/indent/FmtOptions.java  |   10 +-
 .../modules/php/editor/indent/FormatToken.java |8 +-
 .../modules/php/editor/indent/FormatVisitor.java   |   93 +-
 .../php/editor/indent/IndentationCounter.java  |  132 +
 .../modules/php/editor/indent/TokenFormatter.java  |   91 +-
 .../modules/php/editor/indent/ui/BlankLines.php|2 +
 .../modules/php/editor/indent/ui/Bundle.properties |5 +-
 .../php/editor/indent/ui/FmtBlankLines.form|4 +-
 .../php/editor/indent/ui/FmtBlankLines.java|  556 +-
 .../modules/php/editor/indent/ui/FmtSpaces.java|7 +-
 .../modules/php/editor/indent/ui/Spaces.php|2 +-
 .../modules/php/editor/lexer/LexUtilities.java |6 +-
 .../php/editor/lexer/PHP5ColoringLexer.java| 2818 +++
 .../modules/php/editor/lexer/PHPTokenId.java   |1 +
 .../modules/php/editor/parser/ASTPHP5Parser.java   | 6310 
 .../modules/php/editor/parser/ASTPHP5Scanner.java  | 2945 
 .../modules/php/editor/parser/ASTPHP5Symbols.java  |3 +-
 .../php/editor/parser/EncodedActionTable1.java | 7718 ++--
 .../php/editor/parser/EncodedActionTable10.java| 6302 
 .../php/editor/parser/EncodedActionTable11.java| 5854 +++
 .../php/editor/parser/EncodedActionTable12.java| 6630 -
 .../php/editor/parser/EncodedActionTable13.java| 6978 +-
 .../php/editor/parser/EncodedActionTable14.java| 5544 +++---
 .../php/editor/parser/EncodedActionTable15.java| 5583 --
 .../php/editor/parser/EncodedActionTable16.java|  699 ++
 .../php/editor/parser/EncodedActionTable2.java | 5212 ++---
 .../php/editor/parser/EncodedActionTable3.java | 5618 +++---
 .../php/editor/parser/EncodedActionTable4.java | 5932 +++
 .../php/editor/parser/EncodedActionTable5.java | 7154 +-
 .../php/editor/parser/EncodedActionTable6.java | 6274 
 .../php/editor/parser/EncodedActionTable7.java | 5900 +++
 .../php/editor/parser/EncodedActionTable8.java | 6210 
 .../php/editor/parser/EncodedActionTable9.java | 5890 +++
 .../netbeans/modules/php/editor/parser/Utils.java  |3 +
 .../parser/astnodes/ArrowFunctionDeclaration.java  |   46 +-
 .../php/editor/parser/astnodes/Attribute.java  |   78 +
 .../parser/astnodes/AttributeDeclaration.java  |   97 +
 .../{TraitDeclaration.java => Attributed.java} |   33 +-
 .../editor/parser/astnodes/BodyDeclaration.java|   63 +-
 .../editor/parser/astnodes/ClassDeclaration.java   |   41 +-
 .../parser/astnodes/ClassInstanceCreation.java |   39 +-
 .../parser/astnodes/ConstantDeclaration.java   |   27 +-
 .../editor/parser/astnodes/FieldsDeclaration.java  |   23 +-
 .../editor/parser/astnodes/FormalParameter.java|   61 +-
 .../parser/astnodes/FunctionDeclaration.java   |   59 +-
 .../parser/astnodes/InterfaceDeclaration.java  |   35 +-
 .../parser/astnodes/LambdaFunctionDeclaration.java |   68 +-
 .../editor/parser/astnodes/MethodDeclaration.java  |   37 +-
 .../editor/parser/astnodes/TraitDeclaration.java   |   33 +-
 .../editor/parser/astnodes/TypeDeclaration.java|   55 +-
 .../php/editor/parser/astnodes/Visitor.java|4 +
 .../astnodes/visitors/DefaultTreePathVisitor.java  |   16 +
 .../parser/astnodes/visitors/DefaultVisitor.java   |   25 +
 .../typinghooks/PhpTypedBreakInterceptor.java  |2 +
 .../typinghooks/PhpTypedTextInterceptor.java   |3 +-
 .../editor/verification/PHP80UnhandledError.java   |   14 +
 .../lexer/php80/attributeSyntax_01.pass|  737 ++
 .../lexer/php80/attributeSyntax_02.pass|   90 +
 .../parser/php80/attributeSyntaxError_01.pass  |   75 +
 .../parser/php80/attributeSyntaxError_02.pass  |   82 +
 .../parser/php80/attributeSyntax_01.pass   | 2800 +++
 .../parser/php80/attributeSyntax_02.pas

[jira] [Commented] (NETBEANS-5190) MultiPassCompileWorker throws NullPonterException

2021-01-07 Thread modest (Jira)


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

modest commented on NETBEANS-5190:
--

[~morvael], did the same and so far, smooth sailing.

Thanks!!

> MultiPassCompileWorker throws NullPonterException
> -
>
> Key: NETBEANS-5190
> URL: https://issues.apache.org/jira/browse/NETBEANS-5190
> Project: NetBeans
>  Issue Type: Bug
> Environment: Linux: 5.8.0-7630-generic
> Distr:
> DISTRIB_ID=Pop
> DISTRIB_RELEASE=20.10
> DISTRIB_CODENAME=groovy
> DISTRIB_DESCRIPTION="Pop!_OS 20.10"
> NAME="Pop!_OS"
> VERSION="20.10"
> ID=pop
> ID_LIKE="ubuntu debian"
> PRETTY_NAME="Pop!_OS 20.10"
> VERSION_ID="20.10"
> HOME_URL="https://pop.system76.com";
> SUPPORT_URL="https://support.system76.com";
> BUG_REPORT_URL="https://github.com/pop-os/pop/issues";
> PRIVACY_POLICY_URL="https://system76.com/privacy";
> VERSION_CODENAME=groovy
> UBUNTU_CODENAME=groovy
> LOGO=distributor-logo-pop-os
> Netbeans: 12.2
> Gradle: 6.7.1
>Reporter: modest
>Priority: Major
> Attachments: Netbeans_Error.txt, Netbeans_error_meta.xml
>
>
> Had issues with background scanning.  Deleted cache and re-opened gradle 
> spring boot projects.  Background scanning threw out errors:
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914)
>  at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113)
>  at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298)
>  at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380)
>  at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350)
>  at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:404) at 
> com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:451)[catch]
>  at 
> org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
>  at 
> org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>  at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
>  

[netbeans] branch master updated (a88a3de -> 8aecfea)

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

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


from a88a3de  Merge pull request #2641 from sdedic/sdedic/lsp_progress
 add 8aecfea  Make IntroduceElement fixes available as LSP CodeActions. 
(#2647)

No new revisions were added by this update.

Summary of changes:
 .../IntroduceExpressionBasedMethodFix.java |  29 +-
 .../java/hints/introduce/IntroduceFieldFix.java|  17 +-
 .../java/hints/introduce/IntroduceFixBase.java |  12 +-
 .../java/hints/introduce/IntroduceMethodFix.java   |  17 +-
 .../java/hints/introduce/IntroduceVariableFix.java |  39 +-
 .../server/protocol/TextDocumentServiceImpl.java   |  57 ++-
 .../java/lsp/server/protocol/ServerTest.java   | 438 -
 java/java.lsp.server/vscode/src/extension.ts   |   9 +
 8 files changed, 569 insertions(+), 49 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] [Created] (NETBEANS-5223) NullPointerException during startup synchronization

2021-01-07 Thread Rich Patterson (Jira)
Rich Patterson created NETBEANS-5223:


 Summary: NullPointerException during startup synchronization
 Key: NETBEANS-5223
 URL: https://issues.apache.org/jira/browse/NETBEANS-5223
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Code
Affects Versions: 12.1
 Environment: Windows 10, 10.0, amd64
Reporter: Rich Patterson


NullPointerException reported during startup synchronization.  Log follows:


 2021-01-07T11:38:25
 1610037505380
 721
 900
 27
 
 org.netbeans.modules.parsing.spi.ParseException
 
 org.netbeans.modules.parsing.impl.TaskProcessor
 runUserTask
 186
 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
 
 
 org.netbeans.modules.parsing.api.ParserManager
 parse
 81
 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
 
 
 org.netbeans.modules.csl.navigation.ElementScanningTask
 computeStructureRoot
 137
 ${netBeansDir}modules/org-netbeans-modules-csl-api.jar
 
 
 org.netbeans.modules.csl.navigation.ClassMemberPanelUI$1$1
 run
 203
 ${netBeansDir}modules/org-netbeans-modules-csl-api.jar
 
 
 org.netbeans.modules.csl.navigation.ElementScanningTask
 runWithCancelService
 254
 ${netBeansDir}modules/org-netbeans-modules-csl-api.jar
 
 
 org.netbeans.modules.csl.navigation.ClassMemberPanelUI$1
 run
 199
 ${netBeansDir}modules/org-netbeans-modules-csl-api.jar
 
 
 org.netbeans.modules.csl.navigation.ClassMemberPanelUI$1
 run
 191
 ${netBeansDir}modules/org-netbeans-modules-csl-api.jar
 
 
 
org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask
 run
 120
 ${netBeansDir}modules/org-netbeans-modules-csl-api.jar
 
 
 
org.netbeans.modules.csl.navigation.ClassMemberNavigatorSourceFactory$ProxyElementScanningTask
 run
 88
 ${netBeansDir}modules/org-netbeans-modules-csl-api.jar
 
 
 org.netbeans.modules.parsing.impl.TaskProcessor
 callParserResultTask
 561
 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
 
 
 org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer
 run
 786
 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
 
 
 org.openide.util.lookup.Lookups
 executeWith
 279
 ${netbeans.home}lib/org-openide-util-lookup.jar
 
 
 org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer
 execute
 702
 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
 
 
 org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob
 run
 663
 ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
 
 
 java.util.concurrent.Executors$RunnableAdapter
 call
 515
 
jrt:/java.base/java/util/concurrent/Executors$RunnableAdapter.class
 
 
 java.util.concurrent.FutureTask
 run
 264
 jrt:/java.base/java/util/concurrent/FutureTask.class
 
 
 org.openide.util.RequestProcessor$Task
 run
 1418
 ${netbeans.home}lib/org-openide-util.jar
 
 
 org.netbeans.modules.openide.util.GlobalLookup
 execute
 45
 ${netbeans.home}lib/org-openide-util-lookup.jar
 
 
 org.openide.util.lookup.Lookups
 executeWith
 278
 ${netbeans.home}lib/org-openide-util-lookup.jar
 
 
 org.openide.util.RequestProcessor$Processor
 run
 2033
 ${netbeans.home}lib/org-openide-util.jar
 
 
 
 java.lang.NullPointerException: The content parameter cannot be 
null
 
 org.openide.util.Parameters
 notNull
 64
 ${netbeans.home}lib/org-openide-util.jar
 
 
 org.netbeans.modules.csl.api.Documentation
 create
 52
 ${netBeansDir}modules/org-netbeans-modules-csl-types.jar
 
 
 
org.netbeans.modules.javascript2.nodejs.editor.NodeJsDataProvider
 createProperty
 473
 ${netBeansDir}modules/org-netbeans-modules-javascript2-nodejs.jar
 
 
 
org.netbeans.modules.javascript2.nodejs.editor.NodeJsDataProvider
 addProperties
 485
 ${netBeansDir}modules/org-netbeans-modules-javascript2-nodejs.jar
 
 
 
org.netbeans.modules.javascript2.nodejs.editor.NodeJsDataProvider
 getGlobalObjects
 402
 ${netBeansDir}modules/org-netbeans-modules-javascript2-nodejs.jar
 
 
 
org.netbeans.modules.javascript2.nodejs.editor.model.NodeJsModelInterceptor
 getGlobalObjects
 47
 ${netBeansDir}modules/org-netbeans-modules-javascript2-nodejs.jar
 
 
 
org.netbeans.modules.javascript2.nodejs.editor.model.NodeJsModelInterceptor
 interceptGlobal
 41
 ${netBeansDir}modules/org-netbeans-modules-javascript2-nodejs.jar
 
 
 org.netbeans.modules.javascript2.model.ModelExtender
 getExtendingGlobalObjects
 114
 ${netBeansDir}modules/org-netbeans-modules-javascript2-model.jar
 
 
 org.netbeans.modules.javascript2.model.api.ModelUtils
 resolveTypeFromExpression
 856
 ${netBeansDir}modules/org-netbeans-modules-javascript2-model.jar
 
 
 org.netbeans.modules.javascript2.model.api.ModelUtils
 resolveTypes
 1353
 ${netBeansDir}modules/org-netbeans-modules-javascript2-model.jar
 
 
 
org.netbeans.modules.javascript2.editor.JsStructureScanner$JsSimpleStructureItem
 
 740
 ${netBeansDir}modules/org-netbeans-modules-javascript2-editor.jar
 
 
 
org.netbeans.modules.javascript2.editor.JsSt

[jira] [Updated] (NETBEANS-5222) Netbeans 12.2: NullpointerException while trying to format the code.

2021-01-07 Thread AKSHAY KUMAR (Jira)


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

AKSHAY KUMAR updated NETBEANS-5222:
---
Priority: Critical  (was: Blocker)

> Netbeans 12.2: NullpointerException while trying to format the code.
> 
>
> Key: NETBEANS-5222
> URL: https://issues.apache.org/jira/browse/NETBEANS-5222
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
> Environment: Windows 10
> JDK 11
> Hardware: i3 10th gen, 12 GB RAM
>Reporter: AKSHAY KUMAR
>Priority: Critical
> Attachments: IDE_log.txt, UI_log.txt, messages.log
>
>
> Code formatting is not working in Netbeans 12.2. 
> Please check the following Stack.
>  
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) 
> at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032) 
> at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1559)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1052)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:648)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309) 
> at 
> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349) 
> at 
> org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129) 
> at 
> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854)
>  at 
> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333) 
> at 
> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833) 
> at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) 
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at 
> org.netbeans.modules.openide.util.GlobalLoo

[jira] [Updated] (NETBEANS-5222) Netbeans 12.2: NullpointerException while trying to format the code.

2021-01-07 Thread AKSHAY KUMAR (Jira)


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

AKSHAY KUMAR updated NETBEANS-5222:
---
Attachment: UI_log.txt
IDE_log.txt

> Netbeans 12.2: NullpointerException while trying to format the code.
> 
>
> Key: NETBEANS-5222
> URL: https://issues.apache.org/jira/browse/NETBEANS-5222
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
> Environment: Windows 10
> JDK 11
> Hardware: i3 10th gen, 12 GB RAM
>Reporter: AKSHAY KUMAR
>Priority: Blocker
> Attachments: IDE_log.txt, UI_log.txt, messages.log
>
>
> Code formatting is not working in Netbeans 12.2. 
> Please check the following Stack.
>  
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) 
> at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032) 
> at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1559)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1052)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:648)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:397)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56)
>  at 
> org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228)
>  at 
> org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
>  at 
> org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309) 
> at 
> org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349) 
> at 
> org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129) 
> at 
> org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854)
>  at 
> org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333) 
> at 
> org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833) 
> at 
> org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) 
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at 
> org.netbeans.modules.openide

[jira] [Created] (NETBEANS-5222) Netbeans 12.2: NullpointerException while trying to format the code.

2021-01-07 Thread AKSHAY KUMAR (Jira)
AKSHAY KUMAR created NETBEANS-5222:
--

 Summary: Netbeans 12.2: NullpointerException while trying to 
format the code.
 Key: NETBEANS-5222
 URL: https://issues.apache.org/jira/browse/NETBEANS-5222
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2
 Environment: Windows 10
JDK 11
Hardware: i3 10th gen, 12 GB RAM
Reporter: AKSHAY KUMAR
 Attachments: messages.log

Code formatting is not working in Netbeans 12.2. 

Please check the following Stack.

 

java.lang.NullPointerExceptionjava.lang.NullPointerException at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229) 
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032) 
at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:1559)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitMethod(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:1052)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitClass(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:648)
 at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCompilationUnit(Reformatter.java:397)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
 at 
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56) 
at 
org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514)
 at 
org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228)
 at 
org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101)
 at 
org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550)
 at 
org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309) 
at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349) 
at org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129) 
at 
org.netbeans.editor.ActionFactory$FormatAction$1$1.run(ActionFactory.java:1854) 
at 
org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333) 
at 
org.netbeans.editor.ActionFactory$FormatAction$1.run(ActionFactory.java:1833) 
at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146) 
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)



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

[jira] [Created] (NETBEANS-5221) Excessive notifications: node.js not found, TypeScript support disabled

2021-01-07 Thread Michal Koscielny (Jira)
Michal Koscielny created NETBEANS-5221:
--

 Summary: Excessive notifications: node.js not found, TypeScript 
support disabled
 Key: NETBEANS-5221
 URL: https://issues.apache.org/jira/browse/NETBEANS-5221
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Notifications
Affects Versions: Next
 Environment: Windows 10 64-bit, OpenJDK 11.0.6
Reporter: Michal Koscielny
 Attachments: netbeans-node1.png, netbeans-node2.png

In some of my PHP projects I have package.json and package-lock.json files in 
the root directory but I don't have node.js installed. In this scenario I get 
bombarded with baloon notifications saying "node.js not found, TypeScript 
support disabled" every time I open the project or save any file. After a while 
my notification log is filled with lots of such notifications and they distract 
me needlessly:

!netbeans-node1.png!

!netbeans-node2.png!

This didn't happen in Netbeans 12.2 but started happening in the dev builds so 
this change must be recent. I'm now using 
Build dev-1198c6642612764150ad3d0911bf8f437eef6601 dated at 2021-01-04.

There should be a way to silence or get rid of such notifications entirely 
since they are useless in such scenarios. Because there are node.js config 
files present in the project doesn't mean I have to install node.js on my 
computer just to not be nagged by Netbeans notifications - for example, other 
developers might be responsible for node.js stuff while I'm working with other 
technologies in the same project.

I know I can hide info notifications with the filter but it is not ideal 
because I don't want to miss other notifications which may be important to me.



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

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

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



[jira] [Commented] (NETBEANS-5125) NullPointerException in MultiPassCompileWorker

2021-01-07 Thread Jira


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

Stefan Röper commented on NETBEANS-5125:


Same Problem here but also without generating new sources with "Compile on 
Save" Option on. After modifying a test file a Background scan starts and 
throws multiple NullPointerExceptions. After that a bunch of Types can't be 
found any longer which can only be repaired by deleting the Netbeans cache.

java.lang.NullPointerExceptionava.lang.NullPointerException at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914)
 at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113)
 at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298)
 at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380)
 at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350)
 at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240)
 at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:404) at 
com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:451)

[catch] at 
org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
 at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
 at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
 at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
 at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3255)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at 
org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095)
 at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091)
 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.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6091)
 at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at 
org.openide.u

[netbeans] branch master updated (d80a1dc -> a88a3de)

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

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


from d80a1dc  Merge pull request #2635 from 
KacerCZ/netbeans-5210-export-inspection-settings
 new 2da8145  Support for default Progress action moved to non-UI.
 new e66e616  Upgrade client library to 0.10; support ProgressHandles as 
WorkDoneProgress.
 new 7ecdf4c  Retrofitted some modules to use now-base ProgressHandle.
 new 998d3d4  Run action will terminate LSP client exec session on process 
exit.
 new 13992e2  Added handler for workDone cancel notifications.
 new 2f6ca95  DAP piggybacks on LSP progress support; disabled cancel for 
debug/run.
 new da30cc6  Allow to temporarily substitute different ProgressEnv for 
tests.
 new a88a3de  Merge pull request #2641 from sdedic/sdedic/lsp_progress

The 4819 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:
 extide/gradle/nbproject/project.xml|  10 +-
 .../api/execute/GradleDistributionManager.java |   3 +-
 .../gradle/execute/GradleDaemonExecutor.java   |   3 +-
 ide/extexecution/nbproject/project.xml |  10 +-
 .../api/extexecution/ExecutionService.java |   3 +-
 ide/projectui/nbproject/project.xml|  10 +-
 .../modules/project/ui/OpenProjectList.java|   5 +-
 .../netbeans/modules/project/ui/groups/Group.java  |   3 +-
 .../netbeans/modules/project/ui/zip/ExportZIP.java |   4 +-
 .../netbeans/modules/project/ui/zip/ImportZIP.java |   3 +-
 java/java.lsp.server/external/binaries-list|  10 +-
 ...-0.9.0-license.txt => lsp4j-0.10.0-license.txt} |   4 +-
 .../nbcode/integration/nbproject/project.xml   |   9 +
 .../nbcode/integration/LspProgressEnvironment.java |  14 +-
 java/java.lsp.server/nbproject/project.properties  |  10 +-
 java/java.lsp.server/nbproject/project.xml |  29 ++-
 .../java/lsp/server/debugging/Debugger.java|  51 +++-
 .../server/debugging/launch/NbLaunchDelegate.java  |   5 +
 .../launch/NbLaunchWithoutDebuggingDelegate.java   |   6 +
 .../lsp/server/progress/LspInternalHandle.java | 204 
 .../lsp/server/progress/LspProgressUIWorker.java   |  91 +++
 .../java/lsp/server/progress/OperationContext.java | 269 +
 .../server/protocol/NbCodeClientCapabilities.java  |  20 +-
 .../lsp/server/protocol/NbCodeClientWrapper.java   |  12 +
 .../modules/java/lsp/server/protocol/Server.java   |  80 +-
 .../lsp/server/ui/AbstractProgressEnvironment.java | 135 +++
 java/java.lsp.server/vscode/src/extension.ts   |   2 +
 java/maven/nbproject/project.xml   |  10 +-
 .../modules/maven/actions/CreateLibraryAction.java |   3 +-
 .../netbeans/modules/maven/api/NbMavenProject.java |  11 +-
 .../maven/execute/AbstractMavenExecutor.java   |   3 +-
 .../maven/execute/MavenCommandLineExecutor.java|   4 +-
 .../maven/execute/ui/DebugPluginSourceAction.java  |   2 +-
 .../maven/execute/ui/GotoPluginSourceAction.java   |   8 +-
 .../modules/maven/newproject/BasicPanelVisual.java |   6 +-
 .../modules/maven/nodes/DependenciesNode.java  |   6 +-
 .../modules/maven/nodes/DependencyNode.java|   8 +-
 .../maven/operations/RenameProjectPanel.java   |   4 +-
 .../maven/queries/MavenSourceJavadocAttacher.java  |   6 +-
 platform/api.progress.nb/apichanges.xml|  14 ++
 platform/api.progress.nb/manifest.mf   |   2 +-
 .../api.progress.nb/nbproject/project.properties   |   2 +-
 platform/api.progress.nb/nbproject/project.xml |  15 +-
 .../api/progress/ProgressHandleFactory.java| 189 ++-
 .../aggregate/AggregateProgressFactory.java|  13 +-
 .../progress/spi/ProgressUIWorkerProvider.java |  10 +
 .../modules/progress/spi/UIInternalHandle.java |  34 ++-
 .../progress/module/UIInternalHandleAccessor.java} |  41 ++--
 .../api/progress/ProgressHandleFactoryTest.java|  59 +
 .../api/progress/TestProgressEnvironment.java} |  42 +++-
 platform/api.progress/apichanges.xml   |  16 ++
 platform/api.progress/manifest.mf  |   2 +-
 .../org/netbeans/api/progress/ProgressHandle.java  |  63 -
 .../aggregate/BasicAggregateProgressFactory.java   |  37 +++
 .../netbeans/modules/progress/spi/Controller.java  |  16 +-
 .../modules/progress/spi/InternalHandle.java   |  57 -
 .../modules/progress/spi/ProgressEvent.java|  23 ++
 platform/autoupdate.services/nbproject/project.xml |  10 +-
 .../autoupdate/services/OperationSupportImpl.java  |  11 +-
 platform/openide.loaders/nbproject/project.xml |   2 +-
 .../src/org/openide/loaders/DataObject.java|   2 +-
 .../org/openide/loaders/Data

[jira] [Commented] (NETBEANS-5177) Crash: cannot get exclusive access to uihandler.properties

2021-01-07 Thread Ulrich Mayring (Jira)


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

Ulrich Mayring commented on NETBEANS-5177:
--

SELinux is disabled on my machine.

> Crash: cannot get exclusive access to uihandler.properties
> --
>
> Key: NETBEANS-5177
> URL: https://issues.apache.org/jira/browse/NETBEANS-5177
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
>Reporter: Ulrich Mayring
>Priority: Blocker
> Attachments: sc.png
>
>
> I experienced a number of total freezes after installing NB 12.2 (have been 
> using 12.0 before), but could not get an error message of any sort, since NB 
> was completely unresponsive to keystrokes or mouse. This changed today, I got 
> an error popup, which I attach. NB was again totally unresponsive, but I 
> could make a screenshot of the popup message.
> The black shadow around the error dialog actually is tens or hundreds of the 
> same popup windows behind the first one. They keep piling up at CPU speed 
> until the app runs out of memory or is killed. For a while I could close a 
> few of them, but they kept coming up faster than I could click.
> The file in question (see screenshot) looks normal to me. It has the correct 
> owner and permissions and its content is this:
> count=1000
>  MTTF=71985
>  uihandler.preferences.writable.check=1608633016127
> The crash happened directly after starting the IDE, while it was reading in 
> the last project I worked on. No user interaction was involved.
> Fedora 29 / KDE.



--
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-mavenutils-nbm-maven-plugin] branch master updated: [NETBEANSINFRA-235] fix branding after changes from NETBEANSINFRA-187

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

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


The following commit(s) were added to refs/heads/master by this push:
 new 4b1b4ff  [NETBEANSINFRA-235] fix branding after changes from 
NETBEANSINFRA-187
 new 61b6ebf  Merge pull request #14 from oyarzun/NETBEANSINFRA-235
4b1b4ff is described below

commit 4b1b4ffe510314f0bec1d05785ded568d21b6b16
Author: Christian Oyarzun 
AuthorDate: Wed Jan 6 15:43:43 2021 -0500

[NETBEANSINFRA-235] fix branding after changes from NETBEANSINFRA-187
---
 src/main/java/org/apache/netbeans/nbm/BrandingMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/netbeans/nbm/BrandingMojo.java 
b/src/main/java/org/apache/netbeans/nbm/BrandingMojo.java
index d92b25f..949cff8 100644
--- a/src/main/java/org/apache/netbeans/nbm/BrandingMojo.java
+++ b/src/main/java/org/apache/netbeans/nbm/BrandingMojo.java
@@ -125,7 +125,7 @@ public class BrandingMojo
 scanner.setBasedir( brandingSources );
 scanner.scan();
 
-final String clusterPathPart = "netbeans" + File.separator + 
cluster;
+final String clusterPathPart = "clusters" + File.separator + 
cluster;
 File outputDir = new File( outputDirectory, "branding_and_locales" 
);
 outputDir.mkdirs();
 File clusterDir = new File( nbmBuildDir, clusterPathPart );


-
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-mavenutils-nbm-maven-plugin] branch master updated: manually back to 4.6 snapshot

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

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


The following commit(s) were added to refs/heads/master by this push:
 new a1281d7  manually back to 4.6 snapshot
a1281d7 is described below

commit a1281d7e68cfbaa3becc6b2bfc35e9c1f681acc3
Author: Eric Barboni 
AuthorDate: Thu Jan 7 11:41:11 2021 +0100

manually back to 4.6 snapshot
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 8c52352..d017e69 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,7 @@ under the License.
 4.0.0
 
 nbm-maven-plugin
-4.7-SNAPSHOT
+4.6-SNAPSHOT
 maven-plugin
 
 Apache NetBeans Maven Utilities - NBM Maven Plugin


-
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 release122 updated: Disabling canClose dialog

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

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


The following commit(s) were added to refs/heads/release122 by this push:
 new af78d2e  Disabling canClose dialog
 new fab5283  Merge pull request #2646 from 
JaroslavTulach/jtulach/DisableCanCloseDialog
af78d2e is described below

commit af78d2eec37911adb590ca26ff9e2786cb98ba1e
Author: Jaroslav Tulach 
AuthorDate: Thu Jan 7 08:00:01 2021 +0100

Disabling canClose dialog
---
 .../java/lsp/server/ui/AbstractDialogDisplayer.java  | 16 
 1 file changed, 16 insertions(+)

diff --git 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
index 35e05a0..a35ba88 100644
--- 
a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
+++ 
b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractDialogDisplayer.java
@@ -46,6 +46,22 @@ public class AbstractDialogDisplayer extends DialogDisplayer 
{
 @Override
 public Object notify(NotifyDescriptor descriptor) {
 LspServerUtils.avoidClientMessageThread(context);
+
+// XXX: Subject to better fix
+// XXX: Possibly use 3.16 protocol's willRename/didRename
+// XXX: when available
+StackTraceElement[] stack = new Exception().getStackTrace();
+if (stack.length > 2 && stack[1] != null) {
+if (
+
"org.openide.text.DataEditorSupport".equals(stack[1].getClassName()) &&
+"canClose".equals(stack[1].getMethodName())
+) {
+// when VSCode renames modified file, don't try to save the
+// original
+return NotifyDescriptor.CLOSED_OPTION;
+}
+}
+
 UIContext ctx = UIContext.find(context);
 NotifyDescriptorAdapter adapter = new 
NotifyDescriptorAdapter(descriptor, ctx);
 return adapter.clientNotify();


-
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-5190) MultiPassCompileWorker throws NullPonterException

2021-01-07 Thread Jira


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

Dominik Derwiński commented on NETBEANS-5190:
-

I have uninstalled (disabling doesn't help) nb-javac, and the problem is gone.

> MultiPassCompileWorker throws NullPonterException
> -
>
> Key: NETBEANS-5190
> URL: https://issues.apache.org/jira/browse/NETBEANS-5190
> Project: NetBeans
>  Issue Type: Bug
> Environment: Linux: 5.8.0-7630-generic
> Distr:
> DISTRIB_ID=Pop
> DISTRIB_RELEASE=20.10
> DISTRIB_CODENAME=groovy
> DISTRIB_DESCRIPTION="Pop!_OS 20.10"
> NAME="Pop!_OS"
> VERSION="20.10"
> ID=pop
> ID_LIKE="ubuntu debian"
> PRETTY_NAME="Pop!_OS 20.10"
> VERSION_ID="20.10"
> HOME_URL="https://pop.system76.com";
> SUPPORT_URL="https://support.system76.com";
> BUG_REPORT_URL="https://github.com/pop-os/pop/issues";
> PRIVACY_POLICY_URL="https://system76.com/privacy";
> VERSION_CODENAME=groovy
> UBUNTU_CODENAME=groovy
> LOGO=distributor-logo-pop-os
> Netbeans: 12.2
> Gradle: 6.7.1
>Reporter: modest
>Priority: Major
> Attachments: Netbeans_Error.txt, Netbeans_error_meta.xml
>
>
> Had issues with background scanning.  Deleted cache and re-opened gradle 
> spring boot projects.  Background scanning threw out errors:
> java.lang.NullPointerExceptionjava.lang.NullPointerException at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914)
>  at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113)
>  at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298)
>  at 
> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380)
>  at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350)
>  at 
> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240)
>  at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:404) at 
> com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:451)[catch]
>  at 
> org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204)
>  at 
> org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
>  at 
> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>  at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>  at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
>  at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task

[jira] [Created] (NETBEANS-5220) Opening a terminal on a directory probably has wrong ENV set

2021-01-07 Thread Heinz Schweitzer (Jira)
Heinz Schweitzer created NETBEANS-5220:
--

 Summary: Opening a terminal on a directory probably has wrong ENV 
set
 Key: NETBEANS-5220
 URL: https://issues.apache.org/jira/browse/NETBEANS-5220
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2
 Environment: Edition   Windows 10 Pro
Version 20H2
Installiert am  ‎13.‎07.‎2020
Betriebssystembuild 19042.685
LeistungWindows Feature Experience Pack 120.2212.551.0

Reporter: Heinz Schweitzer


When opening a terminal on a directory I can't start php . I get this error 
message.

F:\xampp-htdocs\phpWebSocketServer\server>php
PHP Warning: 'C:\Program Files\Java\jdk1.8.0_171\jre\bin\VCRUNTIME140.dll' 
14.10 is not compatible with this PHP build linked with 14.28 in Unknown on 
line 0

I have PHP 8.0 installed but this problem existed with 7.4 also.



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