[jira] [Resolved] (NETBEANS-6011) ctrl + click to go to definition freezes the UI

2021-09-20 Thread Jan Lahoda (Jira)


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

Jan Lahoda resolved NETBEANS-6011.
--
Resolution: Duplicate

I believe this was fixed as NETBEANS-5740 in NetBeans 12.5. Thanks for the 
report anyway!

> ctrl + click to go to definition freezes the UI
> ---
>
> Key: NETBEANS-6011
> URL: https://issues.apache.org/jira/browse/NETBEANS-6011
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 12.4
>Reporter: B Mathur
>Priority: Major
> Attachments: ProductManagerGoogleLogin.zip, bandicam 2021-09-17 
> 20-13-19-790.mp4, messages.log, nbjavacerror.png, nbstackdump.txt, test1.png, 
> test2.png
>
>
> I have opened a Java Spring project. Then open a few java source files. 
> While editing a Java source file, I do Ctrl+Click on a variable type to 
> navigate to the definition of that type.
> The type definition is opened but the UI is frozen. Nothing can be done. It 
> is completely unresponsive. The ide has to be killed from task manager.
> Happening every time. Not random. See screen shots.
> Can send the video also if required but the file is too large.



--
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-6034) Consistently get this error with Java 17

2021-09-20 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-6034:
-

12.4 does not support 17.

> Consistently get this error with Java 17
> 
>
> Key: NETBEANS-6034
> URL: https://issues.apache.org/jira/browse/NETBEANS-6034
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Abraham Tehrani
>Priority: Major
>
> java.lang.NoSuchMethodError: 'void 
> com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, 
> java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)'
>   at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55)
>   at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40)
>   at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73)
>   at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70)
>   at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149)
>   at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234)
>   at 
> jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120)
>   at 
> jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112)
>   at 
> jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839)
>   at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428)
>   at 
> org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:410)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:510)
>   at 
> org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:139)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
> [catch] at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
>   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)



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

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

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



[jira] [Created] (NETBEANS-6034) Consistently get this error with Java 17

2021-09-20 Thread Abraham Tehrani (Jira)
Abraham Tehrani created NETBEANS-6034:
-

 Summary: Consistently get this error with Java 17
 Key: NETBEANS-6034
 URL: https://issues.apache.org/jira/browse/NETBEANS-6034
 Project: NetBeans
  Issue Type: Bug
Reporter: Abraham Tehrani


java.lang.NoSuchMethodError: 'void 
com.sun.tools.javac.util.Log.(com.sun.tools.javac.util.Context, 
java.io.PrintWriter, java.io.PrintWriter, java.io.PrintWriter)'
at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:55)
at org.netbeans.lib.nbjavac.services.NBLog.(NBLog.java:40)
at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:73)
at org.netbeans.lib.nbjavac.services.NBLog$1.make(NBLog.java:70)
at jdk.compiler/com.sun.tools.javac.util.Context.get(Context.java:149)
at jdk.compiler/com.sun.tools.javac.util.Log.instance(Log.java:234)
at 
jdk.compiler/com.sun.tools.javac.main.Arguments.(Arguments.java:120)
at 
jdk.compiler/com.sun.tools.javac.main.Arguments.instance(Arguments.java:112)
at 
jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:190)
at 
org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:992)
at 
org.netbeans.modules.java.source.parsing.JavacParser.createJavacTask(JavacParser.java:839)
at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:428)
at 
org.netbeans.modules.java.source.parsing.CompilationInfoImpl.getJavacTask(CompilationInfoImpl.java:410)
at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:510)
at 
org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:139)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:239)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
[catch] at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)




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

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

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



[netbeans] branch master updated: Switch typescript and cpplite editors to multiviews

2021-09-20 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing 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 46208bb  Switch typescript and cpplite editors to multiviews
 new fe0d54a  Merge pull request #3155 from 
matthiasblaesing/typescript_multiview
46208bb is described below

commit 46208bb9ea48bf8e1e0ae413be01fe056defc20c
Author: Matthias Bläsing 
AuthorDate: Sat Sep 4 18:38:22 2021 +0200

Switch typescript and cpplite editors to multiviews
---
 cpplite/cpplite.editor/nbproject/project.xml   | 18 ++
 .../modules/cpplite/editor/file/Bundle.properties  | 18 ++
 .../modules/cpplite/editor/file/CDataObject.java   | 23 +++--
 .../modules/cpplite/editor/file/CPPDataObject.java | 23 +++--
 .../modules/cpplite/editor/file/HDataObject.java   | 23 +++--
 .../modules/cpplite/editor/file/HPPDataObject.java | 23 +++--
 .../modules/cpplite/editor/file/package-info.java  |  8 +++---
 webcommon/typescript.editor/nbproject/project.xml  | 18 ++
 .../editor/TypeScriptDataObjectDataObject.java | 29 ++
 .../typescript/editor/TypeScriptEditorKit.java |  3 +++
 .../modules/typescript/editor/TypeScriptLSP.java   | 11 +---
 11 files changed, 176 insertions(+), 21 deletions(-)

diff --git a/cpplite/cpplite.editor/nbproject/project.xml 
b/cpplite/cpplite.editor/nbproject/project.xml
index 58f824f..658ae5d 100644
--- a/cpplite/cpplite.editor/nbproject/project.xml
+++ b/cpplite/cpplite.editor/nbproject/project.xml
@@ -26,6 +26,15 @@
 
org.netbeans.modules.cpplite.editor
 
 
+
org.netbeans.api.annotations.common
+
+
+
+1
+1.41
+
+
+
 
org.netbeans.api.java.classpath
 
 
@@ -43,6 +52,15 @@
 
 
 
+
org.netbeans.core.multiview
+
+
+
+1
+1.57
+
+
+
 
org.netbeans.modules.editor
 
 
diff --git 
a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/Bundle.properties
 
b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/Bundle.properties
new file mode 100644
index 000..a327b58
--- /dev/null
+++ 
b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/Bundle.properties
@@ -0,0 +1,18 @@
+# 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
+#
+#   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.
+
+Source=
diff --git 
a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java
 
b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java
index eb6c211..654d223 100644
--- 
a/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java
+++ 
b/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/CDataObject.java
@@ -19,6 +19,9 @@
 package org.netbeans.modules.cpplite.editor.file;
 
 import java.io.IOException;
+import org.netbeans.api.annotations.common.StaticResource;
+import org.netbeans.core.spi.multiview.MultiViewElement;
+import org.netbeans.core.spi.multiview.text.MultiViewEditorElement;
 import org.netbeans.modules.textmate.lexer.api.GrammarRegistration;
 import org.openide.awt.ActionID;
 import org.openide.awt.ActionReference;
@@ -29,7 +32,9 @@ import org.openide.loaders.DataObject;
 import org.openide.loaders.DataObjectExistsException;
 import org.openide.loaders.MultiDataObject;
 import org.openide.loaders.MultiFileLoader;
+import org.openide.util.Lookup;
 import org.openide.util.NbBundle.Messages;
+import org.openide.windows.TopComponent;
 
 @Messages({
 "LBL_C_LOADER=Files of C"
@@ -42,7 +47,7 @@ import org.openide.util.NbBundle.Messages;
 )
 @DataObject.Registration(
  

[netbeans] branch master updated: [NETBEANS-6023] - cleanup SQLParser.java warning errors (#3177)

2021-09-20 Thread bwalker
This is an automated email from the ASF dual-hosted git repository.

bwalker 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 6fea7b8  [NETBEANS-6023] - cleanup SQLParser.java warning errors 
(#3177)
6fea7b8 is described below

commit 6fea7b8858e9bca9a9a023c93a6c4a56487bbd45
Author: Brad Walker 
AuthorDate: Mon Sep 20 11:29:46 2021 -0600

[NETBEANS-6023] - cleanup SQLParser.java warning errors (#3177)

I wanted to explore the SQL capabilities of Netbeans. As a result, I 
cleaned up some of the
warnings in SQLParser.jj and friends.

   [repeat] 
/home/bwalker/src/netbeans/ide/db.sql.visualeditor/src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.java:75:
 warning: [rawtypes] found raw type: ArrayList
   [repeat] SelectNode SQLSelect() throws ParseException {ArrayList 
selctItemList=new ArrayList();
   [repeat]   ^
   [repeat]   missing type arguments for generic class ArrayList
   [repeat]   where E is a type-variable:
   [repeat] E extends Object declared in class ArrayList
---
 .../org-netbeans-modules-db-sql-visualeditor.sig |  2 +-
 ide/db.sql.visualeditor/nbproject/project.properties |  3 ++-
 .../modules/db/sql/visualeditor/parser/SQLParser.jj  | 16 
 .../modules/db/sql/visualeditor/querymodel/AndNode.java  |  3 ++-
 .../modules/db/sql/visualeditor/querymodel/FromNode.java |  2 +-
 .../db/sql/visualeditor/querymodel/GroupByNode.java  |  2 +-
 .../modules/db/sql/visualeditor/querymodel/OrNode.java   |  3 ++-
 .../db/sql/visualeditor/querymodel/OrderByNode.java  |  2 +-
 .../db/sql/visualeditor/querymodel/SelectNode.java   |  6 +++---
 9 files changed, 21 insertions(+), 18 deletions(-)

diff --git 
a/ide/db.sql.visualeditor/nbproject/org-netbeans-modules-db-sql-visualeditor.sig
 
b/ide/db.sql.visualeditor/nbproject/org-netbeans-modules-db-sql-visualeditor.sig
index 1cc1543..fd8ffd3 100644
--- 
a/ide/db.sql.visualeditor/nbproject/org-netbeans-modules-db-sql-visualeditor.sig
+++ 
b/ide/db.sql.visualeditor/nbproject/org-netbeans-modules-db-sql-visualeditor.sig
@@ -1,5 +1,5 @@
 #Signature file v4.1
-#Version 2.44.0
+#Version 2.45.0
 
 CLSS public abstract java.awt.Component
 cons protected init()
diff --git a/ide/db.sql.visualeditor/nbproject/project.properties 
b/ide/db.sql.visualeditor/nbproject/project.properties
index a4e4040..339226d 100644
--- a/ide/db.sql.visualeditor/nbproject/project.properties
+++ b/ide/db.sql.visualeditor/nbproject/project.properties
@@ -21,9 +21,10 @@ javac.source=1.8
 javac.compilerargs=-Xlint -Xlint:-serial
 javadoc.arch=${basedir}/arch.xml
 module.javadoc.packages= org.netbeans.modules.db.sql.visualeditor.api
+
 #
 #javadoc.name=Designtime-API
 #javadoc.title=Creator Designtime API
 #javadoc.arch=${basedir}/arch.xml
 #javadoc.arch=${basedir}/arch/arch-designtime.xml
-spec.version.base=2.44.0
+spec.version.base=2.45.0
diff --git 
a/ide/db.sql.visualeditor/src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.jj
 
b/ide/db.sql.visualeditor/src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.jj
index 57a2231..3cfb735 100644
--- 
a/ide/db.sql.visualeditor/src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.jj
+++ 
b/ide/db.sql.visualeditor/src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.jj
@@ -33,6 +33,7 @@ PARSER_BEGIN(SQLParser)
 package org.netbeans.modules.db.sql.visualeditor.parser;
 
 import java.util.ArrayList;
+import java.util.List;
 
 import org.netbeans.modules.db.sql.visualeditor.querymodel.*;
 
@@ -191,9 +192,8 @@ QueryNode SQLQuery() :
 
 // SELECT [ quantifier ] column (, column)*
 
-SelectNode SQLSelect() :
-{
-ArrayList selctItemList=new ArrayList();
+SelectNode SQLSelect() : {
+List selctItemList=new ArrayList<>();
 String q="ALL";
 ColumnItem item = null;
 }
@@ -288,7 +288,7 @@ SetFunction SQLSetFunction(int type) :
 
 FromNode SQLFrom() :
 {
-ArrayList tableList = new ArrayList();
+List tableList = new ArrayList<>();
 JoinTableNode jt=null;
 }
 {
@@ -308,7 +308,7 @@ FromNode SQLFrom() :
 
 GroupByNode SQLGroupBy() :
 {
-ArrayList columnList=new ArrayList();
+List columnList=new ArrayList<>();
 ColumnItem col;
 }
 {
@@ -467,7 +467,7 @@ Expression SQLOr() :
 {
 //System.out.println("SQLOr");
 Expression a;
-ArrayList forms = new ArrayList();
+List forms = new ArrayList<>();
 }
 {
 a=SQLAndExpr()
@@ -513,7 +513,7 @@ Expression SQLAnd() :
 {
 //System.out.println("SQLAnd");
 Expression c;
-ArrayList forms = new ArrayList();
+List forms = new ArrayList<>();
 }
 {
 c=SQLNot()
@@ -625,7 +625,7 @@ Value SQLValue() :
 
 OrderByNode SQLOrderBy() :
 {
-ArrayList sortSpecificationList=new ArrayList();
+List sortSpecificationList = new ArrayList<>();
 SortSpecification 

[jira] [Resolved] (NETBEANS-5449) Failed parsing of SCSS files with namespaced variables through @use "import"

2021-09-20 Thread Jira


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

Matthias Bläsing resolved NETBEANS-5449.

Fix Version/s: 12.6
   Resolution: Fixed

> Failed parsing of SCSS files with namespaced variables through @use "import"
> 
>
> Key: NETBEANS-5449
> URL: https://issues.apache.org/jira/browse/NETBEANS-5449
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0, 12.1, 12.2, 12.3
> Environment: Windows 10 20H2 Build 19042.867 (same issue present with 
> previous versions)
> OpenJDK 15.0.2 (same issue with previous versions)
> Dart Sass 1.32.8 (same issue with previous versions)
>Reporter: Jeroen
>Assignee: Matthias Bläsing
>Priority: Major
> Fix For: 12.6
>
> Attachments: Capture.PNG
>
>
> When parsing an .scss file, after the first line with a namespaced variable 
> has been encountered ("imported" through @use, see: 
> [https://sass-lang.com/documentation/at-rules/use)] syntax highlighting, code 
> completion, etc stop working after that.
> Regarding the attached screenshot.
>  # Tooltip when hovering red dotted line says: "Unexpected token SEMI found"
>  # Tooltip says: "Unexpected token DOT found"
>  # All text black, no green/blue, no more syntax highlighting, code 
> completion, etc
> When re-saving the main scss file, the file does get compiled by dart sass to 
> a valid CSS file without any issues/errors.



--
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-4290) SCSS interpolation is not supported

2021-09-20 Thread Jira


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

Matthias Bläsing resolved NETBEANS-4290.

Fix Version/s: 12.6
   Resolution: Fixed

> SCSS interpolation is not supported
> ---
>
> Key: NETBEANS-4290
> URL: https://issues.apache.org/jira/browse/NETBEANS-4290
> Project: NetBeans
>  Issue Type: Bug
>  Components: web - CSS Preprocessors (SASS, LESS, ...)
>Affects Versions: 12.0, 11.2
> Environment: Win10
>Reporter: Libor
>Assignee: Matthias Bläsing
>Priority: Major
>  Labels: highlighter, sass
> Fix For: 12.6
>
>
> Hello,
> for some time (I've been lazy/busy to report) the following code compiles 
> fine, but marks SCSS files in editor as broken.
> Example code:
> {code:css}
> $i: 1;
> .selector
> {
> &--#{$i}// <-- Unexpected token HASH_SYMBOL found
> {
> ...
> }
> &__#{$i}// <-- Unexpected token IDENT found
> {
> ...
> }
> }
> {code}
> The real problem is, when a file is marked as with errors, compiler does not 
> always detect changes and does not recompile when some of imported files 
> changes.



--
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 (5bbe80c -> a9ad6cb)

2021-09-20 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


from 5bbe80c  Merge pull request #3153 from matthiasblaesing/lsp_client
 new 3a64a84  [NETBEANS-5449] Ensure @forward and @use in SCSS files can be 
parsed
 new 309f84e  [NETBEANS-4290] Enable usage of SCSS string interpolation in 
combination with parent (&) selector
 new caee319  [NETBEANS-4290] Enable usage multiple selectors in @extend
 new a9ad6cb  Merge pull request #3092 from 
matthiasblaesing/scss_improvements

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


Summary of changes:
 .../src/org/netbeans/modules/css/lib/Css3.g|70 +-
 .../org/netbeans/modules/css/lib/Css3Lexer.java|  7016 +--
 .../org/netbeans/modules/css/lib/Css3Parser.java   | 57132 ++-
 .../netbeans/modules/css/lib/api/CssTokenId.java   | 4 +-
 .../org/netbeans/modules/css/lib/api/NodeType.java |17 +
 .../modules/css/lib/Css3ParserScssTest.java|28 +
 6 files changed, 33471 insertions(+), 30796 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



[netbeans] branch master updated (97f2dc3 -> 5bbe80c)

2021-09-20 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


from 97f2dc3  Merge pull request #3167 from ebarboni/apis-nb125a1
 new d1e754a  Prevent background tasks working on LSPBindings to be 
scheduled multiple times
 new a087c6b  Map FoldTypes as possible for NetBeans and prevent duplicate 
fold from being added
 new 5bbe80c  Merge pull request #3153 from matthiasblaesing/lsp_client

The 5881 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:
 .../netbeans/modules/lsp/client/LSPBindings.java   |  4 +-
 .../lsp/client/bindings/FoldManagerImpl.java   | 76 +-
 .../lsp/client/bindings/NavigatorPanelImpl.java| 11 ++--
 3 files changed, 83 insertions(+), 8 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-6033) Lentidão ao abrir arquivos

2021-09-20 Thread Cristiano Manika (Jira)
Cristiano Manika created NETBEANS-6033:
--

 Summary: Lentidão ao abrir arquivos
 Key: NETBEANS-6033
 URL: https://issues.apache.org/jira/browse/NETBEANS-6033
 Project: NetBeans
  Issue Type: Bug
Reporter: Cristiano Manika



 2021-09-17T07:19:44
 1631873984732
 13
 300
 15
 SCREEN SIZE
 1920
 1080
 2


 2021-09-17T07:19:44
 1631873984733
 14
 700
 15
 IDE_STARTUP


 2021-09-17T07:19:49
 1631873989406
 23
 800
 15
 USG_LOOK_AND_FEEL
 Windows
 Windows


 2021-09-17T07:19:57
 1631873997314
 240
 800
 52
 MEMORY
 8455643136


 2021-09-17T07:19:59
 1631873999735
 243
 800
 53
 USG_VCS_CLIENT
 GIT
 JAVALIB


 2021-09-17T07:24:43
 1631874283057
 245
 800
 50
 USG_PROJECT_OPEN_PHP
 USG_PROJECT_OPEN_PHP
 org.netbeans.modules.php.project.Bundle
 


 2021-09-17T07:24:43
 1631874283096
 246
 700
 50
 UI_INIT_PROJECTS
 UI_INIT_PROJECTS
 org.netbeans.modules.project.ui.Bundle
 org.netbeans.modules.php.project.PhpProject
 PhpProject
 1


 2021-09-17T07:24:43
 1631874283097
 247
 800
 50
 USG_PROJECT_OPEN
 org.netbeans.modules.php.project.PhpProject


 2021-09-17T07:24:43
 1631874283132
 248
 800
 52
 INDEXING_STARTED
 INDEXING_STARTED
 org.netbeans.modules.parsing.impl.indexing.Bundle
 0


 2021-09-17T07:33:15
 1631874795795
 278
 800
 52
 INDEXING_FINISHED
 INDEXING_FINISHED
 org.netbeans.modules.parsing.impl.indexing.Bundle
 512661
 TaskListIndexer
 8
 3
 lsp-indexer
 8
 346
 org-netbeans-modules-jumpto-file-FileIndexer
 8
 10


 2021-09-17T11:30:36
 1631889036988
 281
 800
 39
 handleChanges
 
 java.io.IOException: ReadDirectoryChangesW failed on M:\: 59
 
 org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier
 handleChanges
 406
 ${netbeans.home}modules/org-netbeans-modules-masterfs-windows.jar
 
 
 org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier
 access$200
 56
 ${netbeans.home}modules/org-netbeans-modules-masterfs-windows.jar
 
 
 org.netbeans.modules.masterfs.watcher.windows.WindowsNotifier$1
 run
 350
 ${netbeans.home}modules/org-netbeans-modules-masterfs-windows.jar
 
 


 2021-09-17T13:07:08
 1631894828822
 282
 500
 21
 LOG_WINDOW_DEACTIVATED
 LOG_WINDOW_DEACTIVATED
 org.netbeans.core.ui.warmup.Bundle


 2021-09-17T13:07:14
 1631894834122
 283
 500
 80
 LOG_WINDOW_ACTIVATED
 LOG_WINDOW_ACTIVATED
 org.netbeans.core.ui.warmup.Bundle
 102


 2021-09-17T13:07:29
 1631894849702
 284
 500
 21
 LOG_WINDOW_DEACTIVATED
 LOG_WINDOW_DEACTIVATED
 org.netbeans.core.ui.warmup.Bundle


 2021-09-17T13:32:25
 1631896345553
 285
 500
 21
 LOG_WINDOW_DEACTIVATED
 LOG_WINDOW_DEACTIVATED
 org.netbeans.core.ui.warmup.Bundle


 2021-09-17T13:32:25
 1631896345825
 286
 500
 83
 LOG_WINDOW_ACTIVATED
 LOG_WINDOW_ACTIVATED
 org.netbeans.core.ui.warmup.Bundle
 166


 2021-09-17T14:17:18
 1631899038628
 287
 500
 85
 LOG_WINDOW_ACTIVATED
 LOG_WINDOW_ACTIVATED
 org.netbeans.core.ui.warmup.Bundle
 18


 2021-09-17T14:17:18
 1631899038682
 288
 500
 21
 LOG_WINDOW_DEACTIVATED
 LOG_WINDOW_DEACTIVATED
 org.netbeans.core.ui.warmup.Bundle


 2021-09-17T14:17:22
 1631899042981
 289
 500
 83
 LOG_WINDOW_ACTIVATED
 LOG_WINDOW_ACTIVATED
 org.netbeans.core.ui.warmup.Bundle
 41


 2021-09-17T14:17:24
 1631899044188
 290
 500
 21
 LOG_WINDOW_DEACTIVATED
 LOG_WINDOW_DEACTIVATED
 org.netbeans.core.ui.warmup.Bundle


 2021-09-17T14:22:57
 1631899377961
 291
 500
 90
 LOG_WINDOW_ACTIVATED
 LOG_WINDOW_ACTIVATED
 org.netbeans.core.ui.warmup.Bundle
 8


 2021-09-17T14:23:02
 1631899382239
 292
 500
 21
 LOG_WINDOW_DEACTIVATED
 LOG_WINDOW_DEACTIVATED
 org.netbeans.core.ui.warmup.Bundle


 2021-09-17T14:25:03
 1631899503844
 293
 500
 95
 LOG_WINDOW_ACTIVATED
 LOG_WINDOW_ACTIVATED
 org.netbeans.core.ui.warmup.Bundle
 17


 2021-09-17T14:25:53
 1631899553317
 299
 500
 21
 LOG_WINDOW_DEACTIVATED
 LOG_WINDOW_DEACTIVATED
 org.netbeans.core.ui.warmup.Bundle


 2021-09-17T14:29:29
 1631899769786
 300
 500
 104
 LOG_WINDOW_ACTIVATED
 LOG_WINDOW_ACTIVATED
 org.netbeans.core.ui.warmup.Bundle
 26


 2021-09-17T14:29:36
 1631899776329
 301
 500
 21
 UI_ACTION_EDITOR
 no-ActionEvent
 no-ActionEvent
 org.netbeans.editor.BaseKit$SelectWordAction[select-word]
 org.netbeans.editor.BaseKit$SelectWordAction@15e8e952
 select-word


 2021-09-17T14:29:37
 1631899777311
 302
 500
 21
 UI_ACTION_EDITOR
 
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=Ctrl+C,when=1631899777310,modifiers=Ctrl]
 on 

[jira] [Updated] (NETBEANS-6032) Possible race condition in renaming PHP classes

2021-09-20 Thread Czukowski (Jira)


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

Czukowski updated NETBEANS-6032:

Description: 
When a class name is renamed using Rename refactoring with 'Rename Also File 
With The Declaration', sometimes there is a message box with an error about the 
renamed file "seems no longer valid".

If this happens, I can find the file has been renamed, but the class name 
within it has not. There is some relevant information in {{messages.log}}, see 
below, it mentions the file name {{ProductSelectionCriterium.php}} which is the 
resulting file name (the one that it was supposed to be named after the 
rename). If I had to guess, it would seem that the changes are committed with a 
delay to the file system. Could be a Windows-specific issue.

It also seems that the rename process is interrupted when this happens, because 
sometimes (though again, not always) I can see some of the class occurrences in 
other files not renamed as well.

 
{noformat}
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2
msg
Caused: org.openide.filesystems.FileStateInvalidException: 
C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid]
 at org.openide.loaders.DataObject.find(DataObject.java:587)
Caused: org.openide.loaders.DataObjectNotFoundException: 
C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid]
 at org.openide.loaders.DataObject.find(DataObject.java:610)
 at 
org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:113)
 at 
org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:105)
 at 
org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:128)
Caused: java.lang.RuntimeException
 at 
org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:140)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:141)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession.access$100(RefactoringSession.java:54)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95)
 at 
org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68)
 at 
org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1635)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95)
 at 
org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2.run(RefactoringPanel.java:550)
 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)
ALL [null]: The file 
C:/Workspace/Org/org/app/services/Product/Selection/ProductSelectionCriterium.php
 seems no longer valid!
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150665748\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150674225\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150682920\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150683037\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150712914\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150721106\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150753484\ProductSelectionCriterium.php
{noformat}
 

 

  was:
When a class name is renamed using Rename refactoring with 'Rename Also File 
With The Declaration', sometimes there is a message box with an error about the 
renamed file "seems no longer valid".


[jira] [Created] (NETBEANS-6032) Possible race condition in renaming PHP classes

2021-09-20 Thread Czukowski (Jira)
Czukowski created NETBEANS-6032:
---

 Summary: Possible race condition in renaming PHP classes
 Key: NETBEANS-6032
 URL: https://issues.apache.org/jira/browse/NETBEANS-6032
 Project: NetBeans
  Issue Type: Bug
  Components: php - Editor
Affects Versions: 12.5
 Environment: *Product Version:* Apache NetBeans IDE 12.5

*Java:* 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27

*Runtime:* OpenJDK Runtime Environment 15.0.2+7-27
Reporter: Czukowski


When a class name is renamed using Rename refactoring with 'Rename Also File 
With The Declaration', sometimes there is a message box with an error about the 
renamed file "seems no longer valid".

If this happens, I can find the file has been renamed, but the class name has 
not. There is some relevant information in {{messages.log}}, see below, it 
mentions the file name {{ProductSelectionCriterium.php}} which is the resulting 
file name (the one that it was supposed to be named after the rename). If I had 
to guess, it would seem that the changes are committed with a delay to the file 
system. Could be a Windows-specific issue.

It also seems that the rename process is interrupted when this happens, because 
sometimes (though again, not always) I can see some of the class occurrences in 
other files not renamed as well.

 
{noformat}
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor 
org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2
msg
Caused: org.openide.filesystems.FileStateInvalidException: 
C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid]
 at org.openide.loaders.DataObject.find(DataObject.java:587)
Caused: org.openide.loaders.DataObjectNotFoundException: 
C:\Workspace\Org\org\app\services\Product\Selection\ProductSelectionCriterium.php@cc7bc6a:4878bb09[invalid]
 at org.openide.loaders.DataObject.find(DataObject.java:610)
 at 
org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:113)
 at 
org.netbeans.modules.csl.spi.support.ModificationResult.commit(ModificationResult.java:105)
 at 
org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:128)
Caused: java.lang.RuntimeException
 at 
org.netbeans.modules.refactoring.spi.RefactoringCommit.commit(RefactoringCommit.java:140)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:141)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession.access$100(RefactoringSession.java:54)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95)
 at 
org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68)
 at 
org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1635)
 at 
org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95)
 at 
org.netbeans.modules.refactoring.spi.impl.RefactoringPanel$2.run(RefactoringPanel.java:550)
 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)
ALL [null]: The file 
C:/Workspace/Org/org/app/services/Product/Selection/ProductSelectionCriterium.php
 seems no longer valid!
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150665748\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150674225\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150682920\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150683037\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150712914\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file object available for 
C:\Users\czukowski\AppData\Local\Temp\vcs-1632144195553\vcs-1632150721106\ProductSelectionCriterium.php
WARNING [org.netbeans.modules.versioning.util.Utils]: associateEncoding() no 
file 

[jira] [Created] (NETBEANS-6031) Decision of class name resolved to SourceUnit not cached

2021-09-20 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-6031:
-

 Summary: Decision of class name resolved to SourceUnit not cached
 Key: NETBEANS-6031
 URL: https://issues.apache.org/jira/browse/NETBEANS-6031
 Project: NetBeans
  Issue Type: Bug
  Components: groovy - Editor
Affects Versions: 12.5
Reporter: Svatopluk Dedic


A type name is repeatedly resolved through *ClassNodeResolver* 
(NbClassNodeResolver) to LookupResult with SourceUnit; the decision can be 
cached, which saves some resource lookups + timestamp checks.

The improvement will not be high, but we cache everything else, so we could 
this as well.



--
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-6030) Unable to add Jakarta Persistence Provider

2021-09-20 Thread Claudia Pastor Ramirez (Jira)


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

Claudia Pastor Ramirez updated NETBEANS-6030:
-
Description: 
Hello everyone,

First of all, thank you for your work on the IDE and your support on this 
concrete matter.

The problem I currently have is that I am trying to add a new persistence 
provider for the 3.0 Persistence API, but the IDE seems to be unable to 
recognise the libraries as valid. I have tried both with Eclipselink and with 
Hibernate. Attached is the image of one of the attempts with Eclipselink (I 
have done several changing the included jars trying to find the problem). 

I am able to work with my projects despite of that, because I use Maven and the 
libraries are included anyway, but the IDE keeps telling me that my 
persistence.xml is wrong because it is declared as version 3.0 and giving me 
annoying warning and error messages right and left (see second image).

I suspect that the problem is because the wizard does not find the 
EntityManager under the Jakarta namespace, so it does not allow to carry on (it 
fails with other Jakarta jars, with lower versions too), but I have not way of 
verifying it.

Thank you again for your help. Regards,

 

NOTE: There seems to be also problems because I am using a 5.0 servlet version 
and it does not recognise it as you can see in the errors, but this one affects 
less to my work, so I have not opened an issue for it. Should I?

  was:
Hello everyone,

First of all, thank you for your work on the IDE and your support on this 
concrete matter.

The problem I currently have is that I am trying to add a new persistence 
provider for the 3.0 Persistence API, but the IDE seems to be unable to 
recognise the libraries as valid. I have tried both with Eclipselink and with 
Hibernate. Attached is the image of one of the attempts with Eclipselink (I 
have done several changing the included jars trying to find the problem).

I am able to work with my projects despite of that, because I use Maven and the 
libraries are included anyway, but the IDE keeps telling me that my 
persistence.xml is wrong because it is declared as version 3.0 and giving me 
annoying warning and error messages right and left.

I suspect that the problem is because the wizard does not find the 
EntityManager under the Jakarta namespace, so it does not allow to carry on (it 
fails with other Jakarta jars, with lower versions too), but I have not way of 
verifying it.

Thank you again for your help. Regards,


> Unable to add Jakarta Persistence Provider
> --
>
> Key: NETBEANS-6030
> URL: https://issues.apache.org/jira/browse/NETBEANS-6030
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Persistence
>Affects Versions: 12.4
> Environment: Netbeans 12.4 both on Windows 10 and Ubuntu 20.04.
> API versions tested: Jakarta 2.2.3 and 3.0.0
> Persistence providers: Eclipselink-3.0.2 and Hibernate-5.5.3
>Reporter: Claudia Pastor Ramirez
>Priority: Minor
> Attachments: Captura de pantalla 2021-08-27 151310.png, 
> ErrorMessage.png
>
>
> Hello everyone,
> First of all, thank you for your work on the IDE and your support on this 
> concrete matter.
> The problem I currently have is that I am trying to add a new persistence 
> provider for the 3.0 Persistence API, but the IDE seems to be unable to 
> recognise the libraries as valid. I have tried both with Eclipselink and with 
> Hibernate. Attached is the image of one of the attempts with Eclipselink (I 
> have done several changing the included jars trying to find the problem). 
> I am able to work with my projects despite of that, because I use Maven and 
> the libraries are included anyway, but the IDE keeps telling me that my 
> persistence.xml is wrong because it is declared as version 3.0 and giving me 
> annoying warning and error messages right and left (see second image).
> I suspect that the problem is because the wizard does not find the 
> EntityManager under the Jakarta namespace, so it does not allow to carry on 
> (it fails with other Jakarta jars, with lower versions too), but I have not 
> way of verifying it.
> Thank you again for your help. Regards,
>  
> NOTE: There seems to be also problems because I am using a 5.0 servlet 
> version and it does not recognise it as you can see in the errors, but this 
> one affects less to my work, so I have not opened an issue for it. Should I?



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

[jira] [Updated] (NETBEANS-6030) Unable to add Jakarta Persistence Provider

2021-09-20 Thread Claudia Pastor Ramirez (Jira)


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

Claudia Pastor Ramirez updated NETBEANS-6030:
-
Attachment: ErrorMessage.png

> Unable to add Jakarta Persistence Provider
> --
>
> Key: NETBEANS-6030
> URL: https://issues.apache.org/jira/browse/NETBEANS-6030
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Persistence
>Affects Versions: 12.4
> Environment: Netbeans 12.4 both on Windows 10 and Ubuntu 20.04.
> API versions tested: Jakarta 2.2.3 and 3.0.0
> Persistence providers: Eclipselink-3.0.2 and Hibernate-5.5.3
>Reporter: Claudia Pastor Ramirez
>Priority: Minor
> Attachments: Captura de pantalla 2021-08-27 151310.png, 
> ErrorMessage.png
>
>
> Hello everyone,
> First of all, thank you for your work on the IDE and your support on this 
> concrete matter.
> The problem I currently have is that I am trying to add a new persistence 
> provider for the 3.0 Persistence API, but the IDE seems to be unable to 
> recognise the libraries as valid. I have tried both with Eclipselink and with 
> Hibernate. Attached is the image of one of the attempts with Eclipselink (I 
> have done several changing the included jars trying to find the problem).
> I am able to work with my projects despite of that, because I use Maven and 
> the libraries are included anyway, but the IDE keeps telling me that my 
> persistence.xml is wrong because it is declared as version 3.0 and giving me 
> annoying warning and error messages right and left.
> I suspect that the problem is because the wizard does not find the 
> EntityManager under the Jakarta namespace, so it does not allow to carry on 
> (it fails with other Jakarta jars, with lower versions too), but I have not 
> way of verifying it.
> Thank you again for your help. Regards,



--
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-6030) Unable to add Jakarta Persistence Provider

2021-09-20 Thread Claudia Pastor Ramirez (Jira)


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

Claudia Pastor Ramirez updated NETBEANS-6030:
-
Summary: Unable to add Jakarta Persistence Provider  (was: Unable to add 
Persistence 3.0 provider)

> Unable to add Jakarta Persistence Provider
> --
>
> Key: NETBEANS-6030
> URL: https://issues.apache.org/jira/browse/NETBEANS-6030
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Persistence
>Affects Versions: 12.4
> Environment: Netbeans 12.4 both on Windows 10 and Ubuntu 20.04.
> API versions tested: Jakarta 2.2.3 and 3.0.0
> Persistence providers: Eclipselink-3.0.2 and Hibernate-5.5.3
>Reporter: Claudia Pastor Ramirez
>Priority: Minor
> Attachments: Captura de pantalla 2021-08-27 151310.png
>
>
> Hello everyone,
> First of all, thank you for your work on the IDE and your support on this 
> concrete matter.
> The problem I currently have is that I am trying to add a new persistence 
> provider for the 3.0 Persistence API, but the IDE seems to be unable to 
> recognise the libraries as valid. I have tried both with Eclipselink and with 
> Hibernate. Attached is the image of one of the attempts with Eclipselink (I 
> have done several changing the included jars trying to find the problem).
> I am able to work with my projects despite of that, because I use Maven and 
> the libraries are included anyway, but the IDE keeps telling me that my 
> persistence.xml is wrong because it is declared as version 3.0 and giving me 
> annoying warning and error messages right and left.
> I suspect that the problem is because the wizard does not find the 
> EntityManager under the Jakarta namespace, so it does not allow to carry on 
> (it fails with other Jakarta jars, with lower versions too), but I have not 
> way of verifying it.
> Thank you again for your help. Regards,



--
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-6030) Unable to add Persistence 3.0 provider

2021-09-20 Thread Claudia Pastor Ramirez (Jira)
Claudia Pastor Ramirez created NETBEANS-6030:


 Summary: Unable to add Persistence 3.0 provider
 Key: NETBEANS-6030
 URL: https://issues.apache.org/jira/browse/NETBEANS-6030
 Project: NetBeans
  Issue Type: Bug
  Components: javaee - Persistence
Affects Versions: 12.4
 Environment: Netbeans 12.4 both on Windows 10 and Ubuntu 20.04.

API versions tested: Jakarta 2.2.3 and 3.0.0

Persistence providers: Eclipselink-3.0.2 and Hibernate-5.5.3
Reporter: Claudia Pastor Ramirez
 Attachments: Captura de pantalla 2021-08-27 151310.png

Hello everyone,

First of all, thank you for your work on the IDE and your support on this 
concrete matter.

The problem I currently have is that I am trying to add a new persistence 
provider for the 3.0 Persistence API, but the IDE seems to be unable to 
recognise the libraries as valid. I have tried both with Eclipselink and with 
Hibernate. Attached is the image of one of the attempts with Eclipselink (I 
have done several changing the included jars trying to find the problem).

I am able to work with my projects despite of that, because I use Maven and the 
libraries are included anyway, but the IDE keeps telling me that my 
persistence.xml is wrong because it is declared as version 3.0 and giving me 
annoying warning and error messages right and left.

I suspect that the problem is because the wizard does not find the 
EntityManager under the Jakarta namespace, so it does not allow to carry on (it 
fails with other Jakarta jars, with lower versions too), but I have not way of 
verifying it.

Thank you again for your help. Regards,



--
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-6029) Renaming property with constructor argument promotion and PHPDoc param hint

2021-09-20 Thread Czukowski (Jira)
Czukowski created NETBEANS-6029:
---

 Summary: Renaming property with constructor argument promotion and 
PHPDoc param hint
 Key: NETBEANS-6029
 URL: https://issues.apache.org/jira/browse/NETBEANS-6029
 Project: NetBeans
  Issue Type: Bug
  Components: php - Editor
Affects Versions: 12.5
 Environment: Product Version: Apache NetBeans IDE 12.5
Java: 15.0.2; OpenJDK 64-Bit Server VM 15.0.2+7-27
Runtime: OpenJDK Runtime Environment 15.0.2+7-27
Reporter: Czukowski


Please see an example class below. If I want to use the Rename refactoring on 
the {{$value}} property using Ctrl+R, the outcome will be different depending 
on where the cursor was placed and occurrences currently marked:
 # at PHPDoc param hint: occurrences (1) and (2) will be marked
 # at the property definition that is promoted from the constructor argument: 
all three will be marked, except when marking (1) or (3) first and then 
clicking the property definition, then the highlighting will not change and 
only two occurrences will be renamed
 # at the property usage in {{doSomething}} method: occurrences (2) and (3) 
will be marked

The desired effect is that all three occurrences are marked and renamed at the 
same time, regardless of where did the user click first.

 
{code:php}
values as $value) {
continue;
}
}
}
{code}

Thanks.



--
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-6028) Javac is unnecessary inited & queried for Groovy class

2021-09-20 Thread Svatopluk Dedic (Jira)
Svatopluk Dedic created NETBEANS-6028:
-

 Summary: Javac is unnecessary inited & queried for Groovy class
 Key: NETBEANS-6028
 URL: https://issues.apache.org/jira/browse/NETBEANS-6028
 Project: NetBeans
  Issue Type: Bug
  Components: groovy - Editor
Affects Versions: 12.5
Reporter: Svatopluk Dedic


If a Groovy class references another Groovy class (not yet compiled). the name 
is first resolved to LookupResult with sourceUnit (= it's a groovy source), but 
still our CompileUnit.getClass() gets called and attempts to resolve the name 
using Javac - completely useless in this case.

Each javac invocation gives a small performance penalty and in this case, it is 
done for each such type, not sure about overall impac though

 



--
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-6027) IDE freezes when using Maven + "Xlint:strictfp"

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Summary: IDE freezes when using Maven + "Xlint:strictfp"  (was: IDE freezes 
when using Maven + "Xlint:all")

> IDE freezes when using Maven + "Xlint:strictfp"
> ---
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I edit any Java source file, the IDE freezes completely. I've to 
> kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block 
> partially loses its highlighting and becomes white. Please, check the 
> attached screenshots.
> h4. UPDATE #1.
> I've continued making tests, and I've realized that the value {{all}} in 
> {{-Xlint:all}} is equivalent to more values than I thought:
> {noformat}
> auxiliaryclass
> cast
> classfile
> deprecation
> dep-ann
> divzero
> empty
> exports
> fallthrough
> finally
> missing-explicit-ctor
> module
> opens
> options
> overloads
> overrides
> path
> processing
> rawtypes
> removal
> requires-automatic
> requires-transitive-automatic
> serial
> static
> strictfp
> synchronization
> text-blocks
> try
> unchecked
> varargs
> preview
> {noformat}
> By removing one by one, I've found which one causes the freeze: {{strictfp}} .



--
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-6027) IDE freezes when using Maven + "Xlint:all"

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Description: 
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}

And then, I edit any Java source file, the IDE freezes completely. I've to kill 
the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}

It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block partially 
loses its highlighting and becomes white. Please, check the attached 
screenshots.

h4. UPDATE #1.

I've continued making tests, and I've realized that the value {{all}} in 
{{-Xlint:all}} is equivalent to more values than I thought:

{noformat}
auxiliaryclass
cast
classfile
deprecation
dep-ann
divzero
empty
exports
fallthrough
finally
missing-explicit-ctor
module
opens
options
overloads
overrides
path
processing
rawtypes
removal
requires-automatic
requires-transitive-automatic
serial
static
strictfp
synchronization
text-blocks
try
unchecked
varargs
preview
{noformat}

By removing one by one, I've found which one causes the freeze: {{strictfp}} .




  was:
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block partially 
loses its highlighting and becomes white. Please, check the attached 
screenshots.

h4. UPDATE #1.

I've continued making tests, and I've realized that the value {{all}} in 
{{-Xlint:all}} is equivalent to more values than I thought:

{noformat}
auxiliaryclass
cast
classfile
deprecation
dep-ann
divzero
empty
exports
fallthrough
finally
missing-explicit-ctor
module
opens
options
overloads
overrides
path
processing
rawtypes
removal
requires-automatic
requires-transitive-automatic
serial
static
strictfp
synchronization
text-blocks
try
unchecked
varargs
preview
{noformat}

Removing one by one, I think that I've find which is the guilty one: 
{{strictfp}} .







> IDE freezes when using Maven + "Xlint:all"
> --
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I edit any Java source file, the IDE freezes completely. I've to 
> kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   

[jira] [Updated] (NETBEANS-6027) IDE freezes when using Maven + "Xlint:all"

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Summary: IDE freezes when using Maven + "Xlint:all"  (was: Frozen IDE when 
using Maven + "Xlint:all")

> IDE freezes when using Maven + "Xlint:all"
> --
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block 
> partially loses its highlighting and becomes white. Please, check the 
> attached screenshots.
> h4. UPDATE #1.
> I've continued making tests, and I've realized that the value {{all}} in 
> {{-Xlint:all}} is equivalent to more values than I thought:
> {noformat}
> auxiliaryclass
> cast
> classfile
> deprecation
> dep-ann
> divzero
> empty
> exports
> fallthrough
> finally
> missing-explicit-ctor
> module
> opens
> options
> overloads
> overrides
> path
> processing
> rawtypes
> removal
> requires-automatic
> requires-transitive-automatic
> serial
> static
> strictfp
> synchronization
> text-blocks
> try
> unchecked
> varargs
> preview
> {noformat}
> Removing one by one, I think that I've find which is the guilty one: 
> {{strictfp}} .



--
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-6027) Frozen IDE when using Maven + "Xlint:all"

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Summary: Frozen IDE when using Maven + "Xlint:all"  (was: Frozen IDE when 
using Maven + "Xlint:all" + text blocks)

> Frozen IDE when using Maven + "Xlint:all"
> -
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block 
> partially loses its highlighting and becomes white. Please, check the 
> attached screenshots.
> h4. UPDATE #1.
> I've continued making tests, and I've realized that the value {{all}} in 
> {{-Xlint:all}} is equivalent to more values than I thought:
> {noformat}
> auxiliaryclass
> cast
> classfile
> deprecation
> dep-ann
> divzero
> empty
> exports
> fallthrough
> finally
> missing-explicit-ctor
> module
> opens
> options
> overloads
> overrides
> path
> processing
> rawtypes
> removal
> requires-automatic
> requires-transitive-automatic
> serial
> static
> strictfp
> synchronization
> text-blocks
> try
> unchecked
> varargs
> preview
> {noformat}
> Removing one by one, I think that I've find which is the guilty one: 
> {{strictfp}} .



--
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-6027) Frozen IDE when using Maven + "Xlint:all" + text blocks

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Description: 
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block partially 
loses its highlighting and becomes white. Please, check the attached 
screenshots.

h4. UPDATE #1.

I've continued making tests, and I've realized that the value {{all}} in 
{{-Xlint:all}} is equivalent to more values than I thought:

{noformat}
auxiliaryclass
cast
classfile
deprecation
dep-ann
divzero
empty
exports
fallthrough
finally
missing-explicit-ctor
module
opens
options
overloads
overrides
path
processing
rawtypes
removal
requires-automatic
requires-transitive-automatic
serial
static
strictfp
synchronization
text-blocks
try
unchecked
varargs
preview
{noformat}

Removing one by one, I think that I've find which is the guilty one: 
{{strictfp}} .






  was:
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block partially 
loses its highlighting and becomes white. Please, check the attached 
screenshots.

h4. UPDATE #1.

I've continued making test, and I've realized that the value {{all}} in 
{{-Xlint:all}} is equivalent to this:

{{

}}


> Frozen IDE when using Maven + "Xlint:all" + text blocks
> ---
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It 

[jira] [Updated] (NETBEANS-6027) Frozen IDE when using Maven + "Xlint:all" + text blocks

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Description: 
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block partially 
loses its highlighting and becomes white. Please, check the attached 
screenshots.

h4. UPDATE #1.

I've continued making test, and I've realized that the value {{all}} in 
{{-Xlint:all}} is equivalent to this:

{{

}}

  was:
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block partially 
loses its highlighting and becomes white. Please, check the attached 
screenshots.

 


> Frozen IDE when using Maven + "Xlint:all" + text blocks
> ---
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block 
> partially loses its highlighting and becomes white. Please, check the 
> attached screenshots.
> h4. UPDATE #1.
> I've continued making test, and I've realized that the value {{all}} in 
> {{-Xlint:all}} is equivalent to this:
> {{
> }}



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


[jira] [Updated] (NETBEANS-6027) Frozen IDE when using Maven + "Xlint:all" + text blocks

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Description: 
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block partially 
loses its highlighting and becomes white. Please, check the attached 
screenshots.

 

  was:
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white. Please, check the attached screenshots.

 


> Frozen IDE when using Maven + "Xlint:all" + text blocks
> ---
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block 
> partially loses its highlighting and becomes white. Please, check the 
> attached screenshots.
>  



--
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-6027) Frozen IDE when using Maven + "Xlint:all" + text blocks

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Description: 
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white. Please, check the attached screenshots.

 

  was:
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white. Please, check the screenshots.

 


> Frozen IDE when using Maven + "Xlint:all" + text blocks
> ---
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block loses 
> its highlighting and becomes white. Please, check the attached screenshots.
>  



--
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-6027) Frozen IDE when using Maven + "Xlint:all" + text blocks

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Description: 
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white. Please, check the screenshots.

 

  was:
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white.

 


> Frozen IDE when using Maven + "Xlint:all" + text blocks
> ---
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block loses 
> its highlighting and becomes white. Please, check the screenshots.
>  



--
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-6027) Frozen IDE when using Maven + "Xlint:all" + text blocks

2021-09-20 Thread negora (Jira)


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

negora updated NETBEANS-6027:
-
Description: 
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well. 

It also works well if I remove the compiler arguments all together.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white.

 

  was:
Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white.

 


> Frozen IDE when using Maven + "Xlint:all" + text blocks
> ---
>
> Key: NETBEANS-6027
> URL: https://issues.apache.org/jira/browse/NETBEANS-6027
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4, 12.5
> Environment: These are the versions of my software:
>  * OS: Debian GNU/Linux 10.10 (Buster).
>  * Java platform:
> {noformat}
>   openjdk version "17" 2021-09-14
>   OpenJDK Runtime Environment (build 17+35-2724)
>   OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
> {noformat}
> The JDK build has been downloaded directly from java.net.
> I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
> But the result has been the same.
>Reporter: negora
>Priority: Major
> Attachments: 01-before-writing-text-block.png, 
> 02-after-writing-text-block.png
>
>
> Hello:
> I'm developing a Java project using Maven. If I write this configuration in 
> the {{pom.xml}} file:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:all
> 
>true
>  
> {code}
> And then, I write this text block in a Java source file and save it:
> {code:java}
> String sample = """
> """;{code}
> The IDE freezes completely. I've to kill the process.
> However, if I replace the "-Xlint:all" argument with this equivalent value:
> {code:java}
> 
>   org.apache.maven.plugins
>   maven-compiler-plugin
>   3.8.1
>   
> 17
> 
>   -Xlint:cast,classfile,deprecation,
> dep-ann,divzero,empty,fallthrough,finally,options,
> overrides,path,processing,rawtypes,static,
> try,unchecked,varargs
> 
>true
>  
> {code}
> It works well. 
> It also works well if I remove the compiler arguments all together.
> There is a visual defect that indicates me whether the IDE is going to freeze 
> or not before saving the file: The code that is after the text block loses 
> its highlighting and becomes white.
>  



--
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-6027) Frozen IDE when using Maven + "Xlint:all" + text blocks

2021-09-20 Thread negora (Jira)
negora created NETBEANS-6027:


 Summary: Frozen IDE when using Maven + "Xlint:all" + text blocks
 Key: NETBEANS-6027
 URL: https://issues.apache.org/jira/browse/NETBEANS-6027
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.4, 12.5
 Environment: These are the versions of my software:
 * OS: Debian GNU/Linux 10.10 (Buster).
 * Java platform:
{noformat}
  openjdk version "17" 2021-09-14
  OpenJDK Runtime Environment (build 17+35-2724)
  OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing)
{noformat}

The JDK build has been downloaded directly from java.net.

I've also tested the IDE with JDK 16, using a build downloaded from Adoptium. 
But the result has been the same.

Reporter: negora
 Attachments: 01-before-writing-text-block.png, 
02-after-writing-text-block.png

Hello:

I'm developing a Java project using Maven. If I write this configuration in the 
{{pom.xml}} file:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:all

   true
 
{code}
And then, I write this text block in a Java source file and save it:
{code:java}
String sample = """
""";{code}
The IDE freezes completely. I've to kill the process.

However, if I replace the "-Xlint:all" argument with this equivalent value:
{code:java}

  org.apache.maven.plugins
  maven-compiler-plugin
  3.8.1
  
17

  -Xlint:cast,classfile,deprecation,
dep-ann,divzero,empty,fallthrough,finally,options,
overrides,path,processing,rawtypes,static,
try,unchecked,varargs

   true
 
{code}
It works well.

There is a visual defect that indicates me whether the IDE is going to freeze 
or not before saving the file: The code that is after the text block loses its 
highlighting and becomes white.

 



--
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-6026) Java heap space

2021-09-20 Thread Nikita (Jira)


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

Nikita updated NETBEANS-6026:
-
Affects Version/s: 12.2
   12.4

> Java heap space
> ---
>
> Key: NETBEANS-6026
> URL: https://issues.apache.org/jira/browse/NETBEANS-6026
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2, 12.4
>Reporter: Nikita
>Priority: Major
>
> Аn error is thrown when scanning a project.
> heapdump.hprof is several gigabytes in size.
>  
> UI log
> {code:java}
> 
>   2021-09-20T11:54:35
>   1632128075237
>   284
>   
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater
>   900
>   60
>   /home/www/.netbeans/12.4/var/log/heapdump.hprof
>   
> java.lang.OutOfMemoryError: Java heap space
> 
>   java.util.Arrays
>   copyOf
>   3689
>   jrt:/java.base/java/util/Arrays.class
> 
> 
>   java.util.ArrayList
>   grow
>   238
>   jrt:/java.base/java/util/ArrayList.class
> 
> 
>   java.util.ArrayList
>   grow
>   243
>   jrt:/java.base/java/util/ArrayList.class
> 
> 
>   java.util.ArrayList
>   add
>   486
>   jrt:/java.base/java/util/ArrayList.class
> 
> 
>   java.util.ArrayList
>   add
>   499
>   jrt:/java.base/java/util/ArrayList.class
> 
> 
>   org.netbeans.modules.languages.yaml.YamlParser$2$1
>   parserException
>   285
>   
> ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar
> 
> 
>   org.jvyamlb.ParserImpl$ProductionEnvironment
>   produce
>   407
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   
> org.jvyamlb.PositioningParserImpl$PositioningProductionEnvironment
>   produce
>   143
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ParserImpl
>   parseStreamNext
>   834
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ParserImpl
>   peekEvent
>   781
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ComposerImpl
>   composeNode
>   161
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ComposerImpl
>   composeNode
>   148
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ComposerImpl
>   composeNode
>   167
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ComposerImpl
>   composeNode
>   167
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ComposerImpl
>   composeDocument
>   78
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ComposerImpl
>   getNode
>   54
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.jvyamlb.ComposerImpl$NodeIterator
>   next
>   59
>   ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar
> 
> 
>   org.netbeans.modules.languages.yaml.YamlParser
>   parse
>   308
>   
> ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar
> 
> 
>   org.netbeans.modules.languages.yaml.YamlParser
>   parse
>   404
>   
> ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar
> 
> 
>   org.netbeans.modules.parsing.impl.TaskProcessor
>   callParse
>   598
>   ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
> 
> 
>   org.netbeans.modules.parsing.impl.SourceCache
>   getResult
>   228
>   ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
> 
> 
>   org.netbeans.modules.parsing.api.ResultIterator
>   getParserResult
>   115
>   ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
> 
> 
>   
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2
>   run
>   3171
>   
> ${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar
> 
> 
>   org.netbeans.modules.parsing.impl.TaskProcessor
>   callUserTask
>   586
>   ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
> 
> 
>   
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction
>   run
>   130
>   ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
> 
> 
>   
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction
>   run
>   114
>   ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
> 
> 
>   org.netbeans.modules.parsing.impl.TaskProcessor$2
>   call
>   181
>   ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar
> 
> 
>   org.netbeans.modules.parsing.impl.TaskProcessor$2
>   call
>   178
>   

[jira] [Created] (NETBEANS-6026) Java heap space

2021-09-20 Thread Nikita (Jira)
Nikita created NETBEANS-6026:


 Summary: Java heap space
 Key: NETBEANS-6026
 URL: https://issues.apache.org/jira/browse/NETBEANS-6026
 Project: NetBeans
  Issue Type: Bug
Reporter: Nikita


Аn error is thrown when scanning a project.

heapdump.hprof is several gigabytes in size.

 

UI log
{code:java}

  2021-09-20T11:54:35
  1632128075237
  284
  org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater
  900
  60
  /home/www/.netbeans/12.4/var/log/heapdump.hprof
  
java.lang.OutOfMemoryError: Java heap space

  java.util.Arrays
  copyOf
  3689
  jrt:/java.base/java/util/Arrays.class


  java.util.ArrayList
  grow
  238
  jrt:/java.base/java/util/ArrayList.class


  java.util.ArrayList
  grow
  243
  jrt:/java.base/java/util/ArrayList.class


  java.util.ArrayList
  add
  486
  jrt:/java.base/java/util/ArrayList.class


  java.util.ArrayList
  add
  499
  jrt:/java.base/java/util/ArrayList.class


  org.netbeans.modules.languages.yaml.YamlParser$2$1
  parserException
  285
  ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar


  org.jvyamlb.ParserImpl$ProductionEnvironment
  produce
  407
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  
org.jvyamlb.PositioningParserImpl$PositioningProductionEnvironment
  produce
  143
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ParserImpl
  parseStreamNext
  834
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ParserImpl
  peekEvent
  781
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ComposerImpl
  composeNode
  161
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ComposerImpl
  composeNode
  148
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ComposerImpl
  composeNode
  167
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ComposerImpl
  composeNode
  167
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ComposerImpl
  composeDocument
  78
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ComposerImpl
  getNode
  54
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.jvyamlb.ComposerImpl$NodeIterator
  next
  59
  ${netBeansDir}modules/ext/jvyamlb-0.2.6.jar


  org.netbeans.modules.languages.yaml.YamlParser
  parse
  308
  ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar


  org.netbeans.modules.languages.yaml.YamlParser
  parse
  404
  ${netBeansDir}modules/org-netbeans-modules-languages-yaml.jar


  org.netbeans.modules.parsing.impl.TaskProcessor
  callParse
  598
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  org.netbeans.modules.parsing.impl.SourceCache
  getResult
  228
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  org.netbeans.modules.parsing.api.ResultIterator
  getParserResult
  115
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2
  run
  3171
  
${netBeansDir}modules/org-netbeans-modules-parsing-indexing.jar


  org.netbeans.modules.parsing.impl.TaskProcessor
  callUserTask
  586
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction
  run
  130
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction
  run
  114
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  org.netbeans.modules.parsing.impl.TaskProcessor$2
  call
  181
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  org.netbeans.modules.parsing.impl.TaskProcessor$2
  call
  178
  ${netBeansDir}modules/org-netbeans-modules-parsing-api.jar


  
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager
  priorityIO
  153
  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar


  org.netbeans.modules.masterfs.providers.ProvidedExtensions
  priorityIO
  335
  ${netbeans.home}modules/org-netbeans-modules-masterfs.jar


  org.netbeans.modules.parsing.nb.DataObjectEnvFactory
  runPriorityIO
  118
  ${netBeansDir}modules/org-netbeans-modules-parsing-nb.jar


  org.netbeans.modules.parsing.impl.Utilities
  

[jira] [Created] (NETBEANS-6025) Jackpot has trouble with lambdas

2021-09-20 Thread Michael Bien (Jira)
Michael Bien created NETBEANS-6025:
--

 Summary: Jackpot has trouble with lambdas
 Key: NETBEANS-6025
 URL: https://issues.apache.org/jira/browse/NETBEANS-6025
 Project: NetBeans
  Issue Type: Bug
  Components: java - Hints
Affects Versions: 12.5
 Environment: JDK 17 (both for NB and the test project), no nb-javac 
used.
Reporter: Michael Bien


The first rule works. The second rule never captures anything, the third causes 
a class cast exception.
{code:java}
$stream.mapToObj($lambda) :: $stream instanceof java.util.stream.IntStream =>
$stream.boxed()
;;

$stream.mapToObj($x -> $x) :: $stream instanceof java.util.stream.IntStream =>
$stream.boxed()
;;

$stream.mapToObj(($x) -> $x) :: $stream instanceof java.util.stream.IntStream =>
$stream.boxed()
;;{code}
 
{code:java}
// test snippet:
IntStream.of(1,2,3).mapToObj(x -> x);{code}
exception of third rule:
{code:java}
java.lang.ClassCastException: class 
org.netbeans.modules.java.hints.spiimpl.JackpotTrees$com$sun$tools$javac$tree$JCTree$JCVariableDecl
 cannot be cast to class com.sun.tools.javac.tree.JCTree$JCIdent 
(org.netbeans.modules.java.hints.spiimpl.JackpotTrees$com$sun$tools$javac$tree$JCTree$JCVariableDecl
 is in unnamed module of loader 
org.netbeans.StandardModule$OneModuleClassLoader @6c880b02; 
com.sun.tools.javac.tree.JCTree$JCIdent is in module jdk.compiler of loader 
'app')
 at 
jdk.compiler/com.sun.tools.javac.tree.TreeCopier.visitIdentifier(TreeCopier.java:244)
 at 
jdk.compiler/com.sun.tools.javac.tree.TreeCopier.visitIdentifier(TreeCopier.java:44)
 at 
org.netbeans.modules.java.hints.spiimpl.JackpotTrees$com$sun$tools$javac$tree$JCTree$JCVariableDecl.accept(Unknown
 Source)
 at jdk.compiler/com.sun.tools.javac.tree.TreeCopier.copy(TreeCopier.java:60)
 at jdk.compiler/com.sun.tools.javac.tree.TreeCopier.copy(TreeCopier.java:72)
 at 
jdk.compiler/com.sun.tools.javac.tree.TreeCopier.visitBlock(TreeCopier.java:135)
 at 
jdk.compiler/com.sun.tools.javac.tree.TreeCopier.visitBlock(TreeCopier.java:44)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1103)
 at jdk.compiler/com.sun.tools.javac.tree.TreeCopier.copy(TreeCopier.java:60)
 at jdk.compiler/com.sun.tools.javac.tree.TreeCopier.copy(TreeCopier.java:53)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr.attribSpeculative(DeferredAttr.java:479)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr.attribSpeculative(DeferredAttr.java:467)
 at 
jdk.compiler/com.sun.tools.javac.comp.DeferredAttr.attribSpeculativeLambda(DeferredAttr.java:442)
 at 
jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr.lambda$visitLambda$4(ArgumentAttr.java:301)
 at 
jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr.processArg(ArgumentAttr.java:242)
 at 
jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr.visitLambda(ArgumentAttr.java:299)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1974)
 at 
jdk.compiler/com.sun.tools.javac.comp.ArgumentAttr.attribArg(ArgumentAttr.java:197)
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:775)
 at jdk.compiler/com.sun.tools.javac.comp.Attr.visitApply(Attr.java:2554)
 at 
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1797)
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674)
 at jdk.compiler/com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:720)
 at 
org.netbeans.modules.java.hints.spiimpl.Utilities.attributeTree(Utilities.java:656)
 at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:436)
 at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:350)
 at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:330)
 at 
org.netbeans.modules.java.hints.spiimpl.Utilities.parseAndAttribute(Utilities.java:326)
 at 
org.netbeans.modules.java.hints.spiimpl.pm.PatternCompiler.compile(PatternCompiler.java:44)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:535)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
 at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
[catch] at