[jira] [Resolved] (NETBEANS-4159) Internal hint engine for EE feature resolves class version to JDK6

2020-04-30 Thread Benjamin Graf (Jira)


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

Benjamin Graf resolved NETBEANS-4159.
-
Resolution: Fixed

> Internal hint engine for EE feature resolves class version to JDK6
> --
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Simple test class using JDK14 feature (e.g. record) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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] [Assigned] (NETBEANS-4159) Internal hint engine for EE feature resolves class version to JDK6

2020-04-24 Thread Benjamin Graf (Jira)


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

Benjamin Graf reassigned NETBEANS-4159:
---

Assignee: Benjamin Graf

> Internal hint engine for EE feature resolves class version to JDK6
> --
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Simple test class using JDK14 feature (e.g. record) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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-4177) IOOBE when editing Java file with temporarily missing comma in method parameter list

2020-04-23 Thread Benjamin Graf (Jira)


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

Benjamin Graf resolved NETBEANS-4177.
-
Resolution: Fixed

> IOOBE when editing Java file with temporarily missing comma in method 
> parameter list
> 
>
> Key: NETBEANS-4177
> URL: https://issues.apache.org/jira/browse/NETBEANS-4177
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: NetBeans 11.3 with nbjavac plugin installed
>Reporter: Eirik Bakke
>Assignee: Benjamin Graf
>Priority: Major
>  Labels: nbjavac, pull-request-available
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> If, during editing, a comma is momentarily deleted in the parameter list of a 
> method (in certain cases), an error dialog shows up showing an 
> IndexOutOfBoundsException in 
> SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint. A minimized 
> example exhibiting this behavior is as follows:
> {code:java}
> public class BugSemanticHighlighterBase {
>   private Object testMethod(final String arg1 final String arg2) {
> return new String("");
>   }
> }
> {code}
> This example causes the IDE to throw the following exception:
> {noformat}
> java.lang.IndexOutOfBoundsException: -1
>   at com.sun.tools.javac.util.List.get(List.java:482)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1241)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:1180)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2410)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:1085)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495)
>   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> 

[jira] [Assigned] (NETBEANS-4177) IOOBE when editing Java file with temporarily missing comma in method parameter list

2020-04-23 Thread Benjamin Graf (Jira)


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

Benjamin Graf reassigned NETBEANS-4177:
---

Assignee: Benjamin Graf

> IOOBE when editing Java file with temporarily missing comma in method 
> parameter list
> 
>
> Key: NETBEANS-4177
> URL: https://issues.apache.org/jira/browse/NETBEANS-4177
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.3
> Environment: NetBeans 11.3 with nbjavac plugin installed
>Reporter: Eirik Bakke
>Assignee: Benjamin Graf
>Priority: Major
>  Labels: nbjavac, pull-request-available
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> If, during editing, a comma is momentarily deleted in the parameter list of a 
> method (in certain cases), an error dialog shows up showing an 
> IndexOutOfBoundsException in 
> SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint. A minimized 
> example exhibiting this behavior is as follows:
> {code:java}
> public class BugSemanticHighlighterBase {
>   private Object testMethod(final String arg1 final String arg2) {
> return new String("");
>   }
> }
> {code}
> This example causes the IDE to throw the following exception:
> {noformat}
> java.lang.IndexOutOfBoundsException: -1
>   at com.sun.tools.javac.util.List.get(List.java:482)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.addParameterInlineHint(SemanticHighlighterBase.java:1241)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:1180)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitLiteral(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2410)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:1085)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitNewClass(SemanticHighlighterBase.java:424)
>   at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1820)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.visitReturn(TreeScanner.java:495)
>   at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1663)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:424)
>   at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>   at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1048)
>   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>   at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>   at 
> org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1199)
>   at 
> 

[jira] [Commented] (NETBEANS-4159) Internal hint engine for EE feature resolves class version to JDK6

2020-04-15 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-4159:
-

Hi [~geertjan],

any chance to get this into 12? Main error scenario will be if using JDK14 
records. Quite a big gap between JDK 6 and 14 for new introduced model 
elements. IMHO needed for "really" full JDK14 support. ;)

Regards
Benjamin

> Internal hint engine for EE feature resolves class version to JDK6
> --
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Simple test class using JDK14 feature (e.g. record) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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-4159) Internal hint engine for EE feature resolves class version to JDK6

2020-04-12 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-4159:
-

Root cause is usage of {{ElementKindVisitor6}} as base class of 
{{org.netbeans.modules.websvc.editor.hints.common.RulesEngine}} in module 
websvc.editor.hints.

> Internal hint engine for EE feature resolves class version to JDK6
> --
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Priority: Major
>
> Simple test class using JDK14 feature (e.g. record) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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-4159) Internal hint engine for EE feature resolves class version to JDK6

2020-04-12 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-4159:

Summary: Internal hint engine for EE feature resolves class version to JDK6 
 (was: Internal hint engine for EE feature resolves class version always to 
JDK6)

> Internal hint engine for EE feature resolves class version to JDK6
> --
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Priority: Major
>
> Simple test class using JDK14 feature (e.g. record) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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-4159) Internal hint engine for EE feature resolves class version always to JDK6

2020-04-12 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-4159:

Description: 
Simple test class using JDK14 feature (e.g. record) always throws Exception 
while resolving hints.
{noformat}
javax.lang.model.element.UnknownElementException: Unknown element: 
"javaapplication1.JavaApplication1.Point"
at 
java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
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)
{noformat}

Reproduce:
1. Create Java Application (tested with and and maven based project)
2. Write some simple JDK14 record class
3. Activate EE feature if not activated yet

  was:
Simple test class using JDK14 feature (e.g. records) always throws Exception 
while resolving hints.
{noformat}
javax.lang.model.element.UnknownElementException: Unknown element: 
"javaapplication1.JavaApplication1.Point"
at 
java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at 

[jira] [Updated] (NETBEANS-4159) Internal hint engine for EE feature resolves class version always to JDK6

2020-04-12 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-4159:

Environment: 
Product Version: Apache NetBeans IDE DEV (Build 
dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
Java: 14; OpenJDK 64-Bit Server VM 14+36
Runtime: OpenJDK Runtime Environment 14+36
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)

> Internal hint engine for EE feature resolves class version always to JDK6
> -
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Priority: Major
>
> Simple test class using JDK14 feature (e.g. records) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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-4159) Internal hint engine for EE feature resolves class version always to JDK6

2020-04-12 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-4159:

Summary: Internal hint engine for EE feature resolves class version always 
to JDK6  (was: Internal hint engine for EE module resolves class version always 
to JDK6)

> Internal hint engine for EE feature resolves class version always to JDK6
> -
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
>Reporter: Benjamin Graf
>Priority: Major
>
> Simple test class using JDK14 feature (e.g. records) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   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)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



--
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-4159) Internal hint engine for EE module resolves class version always to JDK6

2020-04-12 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-4159:

Description: 
Simple test class using JDK14 feature (e.g. records) always throws Exception 
while resolving hints.
{noformat}
javax.lang.model.element.UnknownElementException: Unknown element: 
"javaapplication1.JavaApplication1.Point"
at 
java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
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)
{noformat}

Reproduce:
1. Create Java Application (tested with and and maven based project)
2. Write some simple JDK14 record class
3. Activate EE feature if not activated yet

  was:
Simple test class using JDK14 feature (e.g. records) always throws Exception 
while resolving hints.
{noformat}
javax.lang.model.element.UnknownElementException: Unknown element: 
"javaapplication1.JavaApplication1.Point"
at 
java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at 

[jira] [Created] (NETBEANS-4159) Internal hint engine for EE module resolves class version always to JDK6

2020-04-12 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-4159:
---

 Summary: Internal hint engine for EE module resolves class version 
always to JDK6
 Key: NETBEANS-4159
 URL: https://issues.apache.org/jira/browse/NETBEANS-4159
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Hints  Annotations
Affects Versions: 12.0
Reporter: Benjamin Graf


Simple test class using JDK14 feature (e.g. records) always throws Exception 
while resolving hints.
{noformat}
javax.lang.model.element.UnknownElementException: Unknown element: 
"javaapplication1.JavaApplication1.Point"
at 
java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
at 
org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
at 
java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
at 
jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
at 
org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
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)

{noformat}



--
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-2842) Using of deprecated pack200 tool in nbm packaging

2020-03-04 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-2842:
-

https://github.com/pfirmstone/Pack200-ex-openjdk

But license (GPL) might be a problem

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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-2842) Using of deprecated pack200 tool in nbm packaging

2020-03-01 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-2842:

Affects Version/s: 11.3

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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-2842) Using of deprecated pack200 tool in nbm packaging

2020-02-29 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-2842:
-

Maybe replace external call of pack200 with Apache commons compress which still 
does support pack200.

> Using of deprecated pack200 tool in nbm packaging
> -
>
> Key: NETBEANS-2842
> URL: https://issues.apache.org/jira/browse/NETBEANS-2842
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Reporter: Benjamin Graf
>Priority: Critical
>
> Netbeans plugins are mostly compressed in size by the JDK internal pack200 
> tool which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). 
> It should be thought about an alternative as it might get removed in next JDK 
> releases.



--
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-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-02-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3876:
-

Hi [~paulk],

I did a quick test with latest 2.5.10 SNAPSHOT. Actually seeing no incident 
anymore. (y)

Regards
Benjamin

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Priority: Major
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> 

[jira] [Commented] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-02-13 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3876:
-

Might be linked to https://issues.apache.org/jira/browse/GROOVY-9211

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Priority: Major
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> 

[jira] [Updated] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-02-13 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3876:

Environment: 
Windows 10
openjdk version "14" 2020-03-17
OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
sharing)

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
> Environment: Windows 10
> openjdk version "14" 2020-03-17
> OpenJDK Runtime Environment AdoptOpenJDK (build 14+34-202002111235)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14+34-202002111235, mixed mode, 
> sharing)
>Reporter: Benjamin Graf
>Priority: Major
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> 

[jira] [Updated] (NETBEANS-3876) Using Groovy in projects is causing

2020-02-13 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3876:

Summary: Using Groovy in projects is causing   (was: Using Groovy in 
projects causing error)

> Using Groovy in projects is causing 
> 
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Major
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
>   at 
> 

[jira] [Updated] (NETBEANS-3876) Using Groovy in projects is causing java.lang.NoClassDefFoundError

2020-02-13 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3876:

Summary: Using Groovy in projects is causing java.lang.NoClassDefFoundError 
 (was: Using Groovy in projects is causing )

> Using Groovy in projects is causing java.lang.NoClassDefFoundError
> --
>
> Key: NETBEANS-3876
> URL: https://issues.apache.org/jira/browse/NETBEANS-3876
> Project: NetBeans
>  Issue Type: Bug
>  Components: groovy - Editor
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Major
>
> Following Exception is throws in several use cases for projects using groovy 
> files. I can recognize it for following use cases:
> * internal code parsing of editor
> * while "Clean and Build" ant project
> {noformat}
> java.lang.NoClassDefFoundError: Could not initialize class 
> org.codehaus.groovy.vmplugin.v7.Java7
>   at 
> org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
>   at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
>   at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
>   at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
>   at 
> org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
>   at 
> org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
>   at 
> org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
>   at 
> org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
>   at 
> org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>   at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>   at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
>   at 
> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
>   at 
> 

[jira] [Updated] (NETBEANS-3876) Using Groovy in projects causing error

2020-02-13 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3876:

Description: 
Following Exception is throws in several use cases for projects using groovy 
files. I can recognize it for following use cases:
* internal code parsing of editor
* while "Clean and Build" ant project

{noformat}
java.lang.NoClassDefFoundError: Could not initialize class 
org.codehaus.groovy.vmplugin.v7.Java7
at 
org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
at 
org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
at 
org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
at 
org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
at 
org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
at 
org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821)
[catch] at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
at 

[jira] [Created] (NETBEANS-3876) Using Groovy in projects causing error

2020-02-13 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3876:
---

 Summary: Using Groovy in projects causing error
 Key: NETBEANS-3876
 URL: https://issues.apache.org/jira/browse/NETBEANS-3876
 Project: NetBeans
  Issue Type: Bug
  Components: groovy - Editor
Affects Versions: 11.3
Reporter: Benjamin Graf


Following Exception is throws in several use cases for projects using groovy 
files. I can recognize it for following use cases:
* internal code parsing of editor
* while "Clean and Build" ant project

{noformat}
java.lang.NoClassDefFoundError: Could not initialize class 
org.codehaus.groovy.vmplugin.v7.Java7
at 
org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:43)
at org.codehaus.groovy.ast.ClassHelper.makeCached(ClassHelper.java:141)
at org.codehaus.groovy.ast.ClassHelper.(ClassHelper.java:77)
at org.codehaus.groovy.classgen.Verifier.(Verifier.java:133)
at 
org.codehaus.groovy.control.CompilationUnit.(CompilationUnit.java:170)
at 
org.netbeans.modules.groovy.editor.compiler.CompilationUnit.(CompilationUnit.java:64)
at 
org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parseBuffer(GroovyParser.java:441)
at 
org.netbeans.modules.groovy.editor.api.parser.GroovyParser.parse(GroovyParser.java:137)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
at 
org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821)

[jira] [Closed] (NETBEANS-3778) Plugins using unpack200 are not installable with JDK14

2020-02-12 Thread Benjamin Graf (Jira)


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

Benjamin Graf closed NETBEANS-3778.
---
Resolution: Duplicate

Accidentally open topic twice

> Plugins using unpack200 are not installable with JDK14
> --
>
> Key: NETBEANS-3778
> URL: https://issues.apache.org/jira/browse/NETBEANS-3778
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
> Environment: Windows 10
> OpenJDK 14+33 EA
>Reporter: Benjamin Graf
>Priority: Major
>
> Some plugins do need unpack200 for installation. JDK 14+ does not include 
> unpack200 anymore ([https://openjdk.java.net/jeps/367]). This results in 
> installation errors like this.
> {noformat}
> Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200
> WARNUNG: null
> java.io.IOException: Cannot run program 
> "c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory 
> "C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess 
> error=2, Das System kann die angegebene Datei nicht finden
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
>   at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
>   at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
>   at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
> Caused by: java.io.IOException: CreateProcess error=2, Das System kann die 
> angegebene Datei nicht finden
>   at java.base/java.lang.ProcessImpl.create(Native Method)
>   at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
>   at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
>   ... 4 more
> {noformat}



--
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-3778) Plugins using unpack200 are not installable with JDK14

2020-02-02 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3778:

Summary: Plugins using unpack200 are not installable with JDK14  (was: 
Several plugins are not installable)

> Plugins using unpack200 are not installable with JDK14
> --
>
> Key: NETBEANS-3778
> URL: https://issues.apache.org/jira/browse/NETBEANS-3778
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
> Environment: Windows 10
> OpenJDK 14+33 EA
>Reporter: Benjamin Graf
>Priority: Major
>
> Some plugins do need unpack200 for installation. JDK 14+ does not include 
> unpack200 anymore ([https://openjdk.java.net/jeps/367]). This results in 
> installation errors like this.
> {noformat}
> Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200
> WARNUNG: null
> java.io.IOException: Cannot run program 
> "c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory 
> "C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess 
> error=2, Das System kann die angegebene Datei nicht finden
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
>   at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
>   at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
>   at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
> Caused by: java.io.IOException: CreateProcess error=2, Das System kann die 
> angegebene Datei nicht finden
>   at java.base/java.lang.ProcessImpl.create(Native Method)
>   at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
>   at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
>   ... 4 more
> {noformat}



--
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-3778) Several plugins are not installable

2020-01-31 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3778:

Description: 
Some plugins do need unpack200 for installation. JDK 14+ does not include 
unpack200 anymore ([https://openjdk.java.net/jeps/367]). This results in 
installation errors like this.
{noformat}
Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200
WARNUNG: null
java.io.IOException: Cannot run program 
"c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory 
"C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess 
error=2, Das System kann die angegebene Datei nicht finden
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
Caused by: java.io.IOException: CreateProcess error=2, Das System kann die 
angegebene Datei nicht finden
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 4 more

{noformat}

  was:
Some plugins do need unpack200 for installation. JDK 14+ does not include 
unpack200 anymore. This results in installation errors like this.

{noformat}
Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200
WARNUNG: null
java.io.IOException: Cannot run program 
"c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory 
"C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess 
error=2, Das System kann die angegebene Datei nicht finden
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
Caused by: java.io.IOException: CreateProcess error=2, Das System kann die 
angegebene Datei nicht finden
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 4 more

{noformat}



> Several plugins are not installable
> ---
>
> Key: NETBEANS-3778
> URL: https://issues.apache.org/jira/browse/NETBEANS-3778
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
> Environment: Windows 10
> OpenJDK 14+33 EA
>Reporter: Benjamin Graf
>Priority: Major
>
> Some plugins do need unpack200 for installation. JDK 14+ does not include 
> unpack200 anymore ([https://openjdk.java.net/jeps/367]). This results in 
> installation errors like this.
> {noformat}
> Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200
> WARNUNG: null
> java.io.IOException: Cannot run program 
> "c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory 
> "C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess 
> error=2, Das System kann die angegebene Datei nicht finden
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
>   at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
>   at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
>   at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
> Caused by: java.io.IOException: CreateProcess error=2, Das System kann die 
> angegebene Datei nicht finden
>   at java.base/java.lang.ProcessImpl.create(Native Method)
>   at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
>   at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
>   ... 4 more
> {noformat}



--
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-3778) Several plugins are not installable

2020-01-31 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3778:

Environment: 
Windows 10
OpenJDK 14+33 EA
Summary: Several plugins are not installable  (was: Several plugins not 
installable)

> Several plugins are not installable
> ---
>
> Key: NETBEANS-3778
> URL: https://issues.apache.org/jira/browse/NETBEANS-3778
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Plugin Manager
>Affects Versions: 11.3
> Environment: Windows 10
> OpenJDK 14+33 EA
>Reporter: Benjamin Graf
>Priority: Major
>
> Some plugins do need unpack200 for installation. JDK 14+ does not include 
> unpack200 anymore. This results in installation errors like this.
> {noformat}
> Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200
> WARNUNG: null
> java.io.IOException: Cannot run program 
> "c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory 
> "C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess 
> error=2, Das System kann die angegebene Datei nicht finden
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
>   at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
>   at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
>   at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
> Caused by: java.io.IOException: CreateProcess error=2, Das System kann die 
> angegebene Datei nicht finden
>   at java.base/java.lang.ProcessImpl.create(Native Method)
>   at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
>   at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
>   at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
>   ... 4 more
> {noformat}



--
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-3778) Several plugins not installable

2020-01-31 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3778:
---

 Summary: Several plugins not installable
 Key: NETBEANS-3778
 URL: https://issues.apache.org/jira/browse/NETBEANS-3778
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Plugin Manager
Affects Versions: 11.3
Reporter: Benjamin Graf


Some plugins do need unpack200 for installation. JDK 14+ does not include 
unpack200 anymore. This results in installation errors like this.

{noformat}
Jan. 31, 2020 9:29:12 PM org.netbeans.updater.ModuleUpdater unpack200
WARNUNG: null
java.io.IOException: Cannot run program 
"c:\Users\grafbe\Downloads\jdk-14+33\bin\unpack200.exe" (in directory 
"C:\Users\grafbe\AppData\Roaming\NetBeans\11.3-beta2\modules"): CreateProcess 
error=2, Das System kann die angegebene Datei nicht finden
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
Caused by: java.io.IOException: CreateProcess error=2, Das System kann die 
angegebene Datei nicht finden
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 4 more

{noformat}




--
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-3737) FlatLaf: Toolbar icons feel cramped

2020-01-23 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3737:

Description: 
Toolbar icons in FlatLaf themes are feeling cramped especially if small icons 
are chosen. The theme should add some padding around them like the other themes 
already are doing. 

 

!image-2020-01-23-16-40-39-512.png!

  was:Toolbar icons in FlatLaf themes are feeling cramped especially if small 
icons are chosen. The theme should add some padding around them like the other 
themes already are doing. 


> FlatLaf: Toolbar icons feel cramped
> ---
>
> Key: NETBEANS-3737
> URL: https://issues.apache.org/jira/browse/NETBEANS-3737
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Minor
> Attachments: image-2020-01-23-16-40-39-512.png
>
>
> Toolbar icons in FlatLaf themes are feeling cramped especially if small icons 
> are chosen. The theme should add some padding around them like the other 
> themes already are doing. 
>  
> !image-2020-01-23-16-40-39-512.png!



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

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

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



[jira] [Updated] (NETBEANS-3737) FlatLaf: Toolbar icons feel cramped

2020-01-23 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3737:

Attachment: image-2020-01-23-16-40-39-512.png

> FlatLaf: Toolbar icons feel cramped
> ---
>
> Key: NETBEANS-3737
> URL: https://issues.apache.org/jira/browse/NETBEANS-3737
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - UI
>Affects Versions: 11.3
>Reporter: Benjamin Graf
>Priority: Minor
> Attachments: image-2020-01-23-16-40-39-512.png
>
>
> Toolbar icons in FlatLaf themes are feeling cramped especially if small icons 
> are chosen. The theme should add some padding around them like the other 
> themes already are doing. 



--
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-3737) FlatLaf: Toolbar icons feel cramped

2020-01-23 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3737:
---

 Summary: FlatLaf: Toolbar icons feel cramped
 Key: NETBEANS-3737
 URL: https://issues.apache.org/jira/browse/NETBEANS-3737
 Project: NetBeans
  Issue Type: Bug
  Components: ide - UI
Affects Versions: 11.3
Reporter: Benjamin Graf


Toolbar icons in FlatLaf themes are feeling cramped especially if small icons 
are chosen. The theme should add some padding around them like the other themes 
already are doing. 



--
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-3204) Default formater behavior on switch expression

2020-01-14 Thread Benjamin Graf (Jira)


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

Benjamin Graf resolved NETBEANS-3204.
-
Resolution: Fixed

> Default formater behavior on switch expression 
> ---
>
> Key: NETBEANS-3204
> URL: https://issues.apache.org/jira/browse/NETBEANS-3204
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Using JDK 13 latest switch expression preview feature works very well but 
> using default formatter option seems not works as I would expect by deleting 
> all spaces between case value and expression arrow. One space would look 
> nicer IMHO.
> Expected:
> {code:java}
> switch (i) {
> case 1 ->
> System.out.println("");
> }
> {code}
> As is:
> {code:java}
> switch (i) {
> case 1->
> System.out.println("");
> }
> {code}



--
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-3268) Extend inline hints support to variables and method return

2020-01-14 Thread Benjamin Graf (Jira)


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

Benjamin Graf resolved NETBEANS-3268.
-
Resolution: Fixed

> Extend inline hints support to variables and method return
> --
>
> Key: NETBEANS-3268
> URL: https://issues.apache.org/jira/browse/NETBEANS-3268
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.3
>
> Attachments: example.png
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Inline hints actually supports only literals for method and constructor 
> calls. (NETBEANS-3218)
> The support should be extended to also support the usage of variables and 
> method returns. It is intended to skip variables that has the same name as 
> the name of the corresponding method parameter to avoid occurrences like:
> {code:java}
> public String doSomething(param1:param1, param2:param2)
> {code}
> Example:
>  !example.png! 



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

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

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



[jira] [Updated] (NETBEANS-3204) Default formater behavior on switch expression

2020-01-07 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3204:

Fix Version/s: 11.3

> Default formater behavior on switch expression 
> ---
>
> Key: NETBEANS-3204
> URL: https://issues.apache.org/jira/browse/NETBEANS-3204
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Using JDK 13 latest switch expression preview feature works very well but 
> using default formatter option seems not works as I would expect by deleting 
> all spaces between case value and expression arrow. One space would look 
> nicer IMHO.
> Expected:
> {code:java}
> switch (i) {
> case 1 ->
> System.out.println("");
> }
> {code}
> As is:
> {code:java}
> switch (i) {
> case 1->
> System.out.println("");
> }
> {code}



--
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] [Assigned] (NETBEANS-3204) Default formater behavior on switch expression

2020-01-07 Thread Benjamin Graf (Jira)


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

Benjamin Graf reassigned NETBEANS-3204:
---

Assignee: Benjamin Graf

> Default formater behavior on switch expression 
> ---
>
> Key: NETBEANS-3204
> URL: https://issues.apache.org/jira/browse/NETBEANS-3204
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Formatting  Indentation
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Using JDK 13 latest switch expression preview feature works very well but 
> using default formatter option seems not works as I would expect by deleting 
> all spaces between case value and expression arrow. One space would look 
> nicer IMHO.
> Expected:
> {code:java}
> switch (i) {
> case 1 ->
> System.out.println("");
> }
> {code}
> As is:
> {code:java}
> switch (i) {
> case 1->
> System.out.println("");
> }
> {code}



--
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-3218) Add inline hint support for literals used in constructors

2019-12-15 Thread Benjamin Graf (Jira)


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

Benjamin Graf resolved NETBEANS-3218.
-
Resolution: Fixed

> Add inline hint support for literals used in constructors
> -
>
> Key: NETBEANS-3218
> URL: https://issues.apache.org/jira/browse/NETBEANS-3218
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 11.1
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 4h
>  Remaining Estimate: 0h
>
> Implementation of inline hints for literals used in constructors seams 
> actually only partly completed.



--
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-3341) Upgrade asm-all jar

2019-11-05 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3341:
-

What's the reason to not update to an actual version like 7.2?

> Upgrade asm-all jar
> ---
>
> Key: NETBEANS-3341
> URL: https://issues.apache.org/jira/browse/NETBEANS-3341
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Platform
>Affects Versions: 11.1
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>  Labels: pull-request-available
>   Original Estimate: 48h
>  Time Spent: 10m
>  Remaining Estimate: 47h 50m
>
> This will update the asm-all-5.0.1.jar to asm-all-5.1.jar



--
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-3268) Extend inline hints support to variables and method return

2019-10-21 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3268:

Attachment: example.png

> Extend inline hints support to variables and method return
> --
>
> Key: NETBEANS-3268
> URL: https://issues.apache.org/jira/browse/NETBEANS-3268
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
> Fix For: 11.3
>
> Attachments: example.png
>
>
> Inline hints actually supports only literals for method and constructor 
> calls. (NETBEANS-3218)
> The support should be extended to also support the usage of variables and 
> method returns. It is intended to skip variables that has the same name as 
> the name of the corresponding method parameter to avoid occurrences like:
> {code:java}
> public String doSomething(param1:param1, param2:param2)
> {code}



--
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-3268) Extend inline hints support to variables and method return

2019-10-21 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3268:

Description: 
Inline hints actually supports only literals for method and constructor calls. 
(NETBEANS-3218)

The support should be extended to also support the usage of variables and 
method returns. It is intended to skip variables that has the same name as the 
name of the corresponding method parameter to avoid occurrences like:

{code:java}
public String doSomething(param1:param1, param2:param2)
{code}

Example:
 !example.png! 


  was:
Inline hints actually supports only literals for method and constructor calls. 
(NETBEANS-3218)

The support should be extended to also support the usage of variables and 
method returns. It is intended to skip variables that has the same name as the 
name of the corresponding method parameter to avoid occurrences like:

{code:java}
public String doSomething(param1:param1, param2:param2)
{code}



> Extend inline hints support to variables and method return
> --
>
> Key: NETBEANS-3268
> URL: https://issues.apache.org/jira/browse/NETBEANS-3268
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
> Fix For: 11.3
>
> Attachments: example.png
>
>
> Inline hints actually supports only literals for method and constructor 
> calls. (NETBEANS-3218)
> The support should be extended to also support the usage of variables and 
> method returns. It is intended to skip variables that has the same name as 
> the name of the corresponding method parameter to avoid occurrences like:
> {code:java}
> public String doSomething(param1:param1, param2:param2)
> {code}
> Example:
>  !example.png! 



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

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

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



[jira] [Commented] (NETBEANS-3268) Extend inline hints support to variables and method return

2019-10-21 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3268:
-

Patch actually in development. PR will be submitted after patch from 
NETBEANS-3218 has been merged.

> Extend inline hints support to variables and method return
> --
>
> Key: NETBEANS-3268
> URL: https://issues.apache.org/jira/browse/NETBEANS-3268
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
> Fix For: 11.3
>
>
> Inline hints actually supports only literals for method and constructor 
> calls. (NETBEANS-3218)
> The support should be extended to also support the usage of variables and 
> method returns. It is intended to skip variables that has the same name as 
> the name of the corresponding method parameter to avoid occurrences like:
> {code:java}
> public String doSomething(param1:param1, param2:param2)
> {code}



--
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-3268) Extend inline hints support to variables and method return

2019-10-21 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3268:

Description: 
Inline hints actually supports only literals for method and constructor calls. 
(NETBEANS-3218)

The support should be extended to also support the usage of variables and 
method returns. It is intended to skip variables that has the same name as the 
name of the corresponding method parameter to avoid occurrences like:

{code:java}
public String doSomething(param1:param1, param2:param2)
{code}


> Extend inline hints support to variables and method return
> --
>
> Key: NETBEANS-3268
> URL: https://issues.apache.org/jira/browse/NETBEANS-3268
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
> Fix For: 11.3
>
>
> Inline hints actually supports only literals for method and constructor 
> calls. (NETBEANS-3218)
> The support should be extended to also support the usage of variables and 
> method returns. It is intended to skip variables that has the same name as 
> the name of the corresponding method parameter to avoid occurrences like:
> {code:java}
> public String doSomething(param1:param1, param2:param2)
> {code}



--
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-3268) Extend inline hints support to variables and method return

2019-10-21 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3268:

Component/s: (was: cnd - Editor)
 editor - Hints & Annotations

> Extend inline hints support to variables and method return
> --
>
> Key: NETBEANS-3268
> URL: https://issues.apache.org/jira/browse/NETBEANS-3268
> Project: NetBeans
>  Issue Type: Improvement
>  Components: editor - Hints  Annotations
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
> Fix For: 11.3
>
>




--
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-3268) Extend inline hints support to variables and method return

2019-10-21 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3268:
---

 Summary: Extend inline hints support to variables and method return
 Key: NETBEANS-3268
 URL: https://issues.apache.org/jira/browse/NETBEANS-3268
 Project: NetBeans
  Issue Type: Improvement
  Components: cnd - Editor
Reporter: Benjamin Graf
Assignee: Benjamin Graf
 Fix For: 11.3






--
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-3251) Netbeans 11.1 on JDK 11.0.5

2019-10-19 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3251:
-

Latest 11.2 build (release112/29) works for me on 11.0.5 and 8u232 on Win10 
with Maven. (y)

> Netbeans 11.1 on JDK 11.0.5
> ---
>
> Key: NETBEANS-3251
> URL: https://issues.apache.org/jira/browse/NETBEANS-3251
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
>Reporter: Alexander Mitchell
>Priority: Critical
> Fix For: 11.2
>
>
> A fresh installation of Netbeans 11.1 and JDK 11.0.5 on Windows 10. Creating 
> a maven project and attempting to run gives error:
>  
> Execution:
> cd C:\Users\Alexander.Mitchell\Workspace\patterns; "JAVA_HOME=C:\\Program 
> Files\\Java\\jdk-11.0.5" cmd /c "\"\"C:\\Program 
> Files\\NetBeans\\NetBeans-11.1\\netbeans\\java\\maven\\bin\\mvn.cmd\" 
> -Dmaven.ext.class.path=\"C:\\Program 
> Files\\NetBeans\\NetBeans-11.1\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\"
>  -Dfile.encoding=UTF-8 clean install\""
>  
> Error:
> Cannot run program "cmd" (in directory 
> "C:\Users\Alexander.Mitchell\Workspace\patterns"): Malformed argument has 
> embedded quote: "C:\Program 
> Files\NetBeans\NetBeans-11.1\netbeans\java\maven\bin\mvn.cmd" 
> -Dmaven.ext.class.path="C:\Program 
> Files\NetBeans\NetBeans-11.1\netbeans\java\maven-nblib\netbeans-eventspy.jar" 
> -Dfile.encoding=UTF-8 clean install



--
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-3218) Add inline hint support for literals used in constructors

2019-10-08 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3218:

Fix Version/s: 11.3

> Add inline hint support for literals used in constructors
> -
>
> Key: NETBEANS-3218
> URL: https://issues.apache.org/jira/browse/NETBEANS-3218
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 11.1
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Implementation of inline hints for literals used in constructors seams 
> actually only partly completed.



--
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-3218) Add inline hint support for literals used in constructors

2019-10-08 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3218:
---

 Summary: Add inline hint support for literals used in constructors
 Key: NETBEANS-3218
 URL: https://issues.apache.org/jira/browse/NETBEANS-3218
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Hints  Annotations
Affects Versions: 11.1
Reporter: Benjamin Graf
Assignee: Benjamin Graf


Implementation of inline hints for literals used in constructors seams actually 
only partly completed.



--
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-3202) Strange behaviour with new text block feature in editor

2019-10-08 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3202:
-

I know it's invalid. But it might be the way people are writing code. And the 
behavior of the editor while writing and correcting this issue is quite odd. :-)

> Strange behaviour with new text block feature in editor
> ---
>
> Key: NETBEANS-3202
> URL: https://issues.apache.org/jira/browse/NETBEANS-3202
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Assignee: Arunava Sinha
>Priority: Minor
>
> Write a buggy text block and trying to solve in editor ends up in strange 
> behavior: 
> Reproduce:
> Write new class variable:
> {code:java}
> public static String x = """test""";
> {code}
> trying to correct with line break after the first three double quotes tries 
> to and just another double quote
> {code:java}
> public static String x = 
> + "test""";
> {code}
> Could only be fixed in editor by writing it from scratch (correct JDK 13 
> syntax!).



--
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-3204) Default formater behavior on switch expression

2019-10-06 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3204:
---

 Summary: Default formater behavior on switch expression 
 Key: NETBEANS-3204
 URL: https://issues.apache.org/jira/browse/NETBEANS-3204
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Formatting  Indentation
Affects Versions: 11.2
Reporter: Benjamin Graf


Using JDK 13 latest switch expression preview feature works very well but using 
default formatter option seems not works as I would expect by deleting all 
spaces between case value and expression arrow. One space would look nicer IMHO.

Expected:
{code:java}
switch (i) {
case 1 ->
System.out.println("");
}
{code}

As is:
{code:java}
switch (i) {
case 1->
System.out.println("");
}
{code}




--
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-3202) Strange behaviour with new text block feature in editor

2019-10-05 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3202:
---

 Summary: Strange behaviour with new text block feature in editor
 Key: NETBEANS-3202
 URL: https://issues.apache.org/jira/browse/NETBEANS-3202
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Other
Affects Versions: 11.2
Reporter: Benjamin Graf


Write a buggy text block and trying to solve in editor ends up in strange 
behavior: 

Reproduce:
Write new class variable:

{code:java}
public static String x = """test""";
{code}

trying to correct with line break after the first three double quotes tries to 
and just another double quote

{code:java}
public static String x = 
+ "test""";
{code}

Could only be fixed in editor by writing it from scratch (correct JDK 13 
syntax!).




--
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-3096) NB-Javac Upgrade to JDK-13

2019-09-26 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3096:
-

Do I understand right version 1.7 is based on JDK 13 and 1.71 on JDK12? Quite 
odd to downgrade in a version upgrade, IMHO

> NB-Javac Upgrade to JDK-13
> --
>
> Key: NETBEANS-3096
> URL: https://issues.apache.org/jira/browse/NETBEANS-3096
> Project: NetBeans
>  Issue Type: Task
>Affects Versions: 11.2
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> NB-11.2 will Support JDK-13. Need to upgrade nb-javac  to make it in sync 
> with JDK-13
> nb-javac link: [https://hg.netbeans.org/main/nb-java-x]



--
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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3164:
-

Well, that's a pity. Quite a big disadvantage compared to competitor IDEs like 
Eclipse or IntelliJ. IMHO NetBeans user will lose flexibility if this kind of 
narrow coupling of runtime IDE and developing project will further grow!

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
> Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11
> Runtime: OpenJDK Runtime Environment 11.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\grafbe\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\grafbe\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



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

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

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



[jira] [Comment Edited] (NETBEANS-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf edited comment on NETBEANS-3164 at 9/25/19 6:44 PM:
--

This sound a bit odd to me. if NetBeans need to run 13 itself, why should I add 
platform JDK and source/target. The IDE shouldn't be bound to the code it 
develops. Hmm...

@[~arunava.sinha]: What do you think?


was (Author: graben):
This sound a bit odd to me. if Netbeans need to run 13 itself, why should I add 
platform JDK and source/target. The IDE shouldn't be bound to the code it 
develops. Hmm... 

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
> Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11
> Runtime: OpenJDK Runtime Environment 11.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\grafbe\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\grafbe\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3164:
-

This sound a bit odd to me. if Netbeans need to run 13 itself, why should I add 
platform JDK and source/target. The IDE shouldn't be bound to the code it 
develops. Hmm... 

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
> Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11
> Runtime: OpenJDK Runtime Environment 11.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\grafbe\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\grafbe\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3164:

Environment: 
Windows 10
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)

Product Version: Apache NetBeans IDE 11.2-beta1
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11
Runtime: OpenJDK Runtime Environment 11.0.4+11
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\grafbe\AppData\Roaming\NetBeans\11.2-beta1
Cache directory: C:\Users\grafbe\AppData\Local\NetBeans\Cache\11.2-beta1

  was:
Windows 10
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)


> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
> Product Version: Apache NetBeans IDE 11.2-beta1
> Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11
> Runtime: OpenJDK Runtime Environment 11.0.4+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\grafbe\AppData\Roaming\NetBeans\11.2-beta1
> Cache directory: C:\Users\grafbe\AppData\Local\NetBeans\Cache\11.2-beta1
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



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

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

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



[jira] [Comment Edited] (NETBEANS-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf edited comment on NETBEANS-3164 at 9/25/19 6:36 PM:
--

Found the root cause. NetBeans itself must run under 13 as well. Was 11 before. 
Now it works. Can you try to reproduce this as well? 


was (Author: graben):
Found the root. NetBeans itself must run under 13 as well. Was 11 before. Now 
it works. Can you try to reproduce this as well? 

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3164:
-

Found the root. NetBeans itself must run under 13 as well. Was 11 before. Now 
it works. Can you try to reproduce this as well? 

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3164:

Environment: 
Windows 10
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13+33, mixed mode, sharing)
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3164:
-

Well, Platform and Source set to JDK 13 and both javac.compilerargs and 
run.jvmargs has --enable-preview set.

As seen in the screenshot even the editor does not recognize the JDK13 feature.

 

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Assignee: ARUNAVA SINHA
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly in 11.2beta1

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3164:

Summary: JDK 13 preview feature not working correctly in 11.2beta1  (was: 
JDK 13 preview feature not working correctly )

> JDK 13 preview feature not working correctly in 11.2beta1
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3164:

Description: 
Try to build a simple ant based project with a multiline String.

!image-2019-09-25-20-13-45-510.png|width=500!

 

Reproduce:

Install beta1 from zip with fresh profile

Install latest nb-javac 1.7

Create new ant based Java project

Add multiline String and enable preview via hint (--enable-preview)

  was:
Try to build a simple ant based project with a multiline String.

 

Reproduce:

Install beta1 from zip with fresh profile

Install latest nb-javac 1.7

Create new ant based Java project

Add multiline String and enable preview via hint (--enable-preview)


> JDK 13 preview feature not working correctly 
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
> Install beta1 from zip with fresh profile
> Install latest nb-javac 1.7
> Create new ant based Java project
> Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3164:

Description: 
Try to build a simple ant based project with a multiline String.

!image-2019-09-25-20-13-45-510.png|width=500!

 

Reproduce:
 * Install beta1 from zip with fresh profile
 * Install latest nb-javac 1.7
 * Create new ant based Java project
 * Add multiline String and enable preview via hint (--enable-preview)

  was:
Try to build a simple ant based project with a multiline String.

!image-2019-09-25-20-13-45-510.png|width=500!

 

Reproduce:

Install beta1 from zip with fresh profile

Install latest nb-javac 1.7

Create new ant based Java project

Add multiline String and enable preview via hint (--enable-preview)


> JDK 13 preview feature not working correctly 
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
> !image-2019-09-25-20-13-45-510.png|width=500!
>  
> Reproduce:
>  * Install beta1 from zip with fresh profile
>  * Install latest nb-javac 1.7
>  * Create new ant based Java project
>  * Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3164:

Attachment: image-2019-09-25-20-13-45-510.png

> JDK 13 preview feature not working correctly 
> -
>
> Key: NETBEANS-3164
> URL: https://issues.apache.org/jira/browse/NETBEANS-3164
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.2
>Reporter: Benjamin Graf
>Priority: Major
> Attachments: image-2019-09-25-20-13-45-510.png
>
>
> Try to build a simple ant based project with a multiline String.
>  
> Reproduce:
> Install beta1 from zip with fresh profile
> Install latest nb-javac 1.7
> Create new ant based Java project
> Add multiline String and enable preview via hint (--enable-preview)



--
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-3164) JDK 13 preview feature not working correctly

2019-09-25 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3164:
---

 Summary: JDK 13 preview feature not working correctly 
 Key: NETBEANS-3164
 URL: https://issues.apache.org/jira/browse/NETBEANS-3164
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
Reporter: Benjamin Graf


Try to build a simple ant based project with a multiline String.

 

Reproduce:

Install beta1 from zip with fresh profile

Install latest nb-javac 1.7

Create new ant based Java project

Add multiline String and enable preview via hint (--enable-preview)



--
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-3100) Ant project not runnable

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3100:
-

No problem with actual 11.2beta1. Will close the issue!

> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows 10
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Nothing in Output window
>  # Add JDK 8 to IDE via Tools/Java Platforms
>  # Switch Java Platform in project properties to JDK 8
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Run in Output visable



--
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] [Closed] (NETBEANS-3100) Ant project not runnable

2019-09-25 Thread Benjamin Graf (Jira)


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

Benjamin Graf closed NETBEANS-3100.
---
Resolution: Cannot Reproduce

> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows 10
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Nothing in Output window
>  # Add JDK 8 to IDE via Tools/Java Platforms
>  # Switch Java Platform in project properties to JDK 8
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Run in Output visable



--
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-3096) NB-Javac Upgrade to JDK-13

2019-09-20 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3096:
-

Will there be an updated nb-javac plugin release, soon?

> NB-Javac Upgrade to JDK-13
> --
>
> Key: NETBEANS-3096
> URL: https://issues.apache.org/jira/browse/NETBEANS-3096
> Project: NetBeans
>  Issue Type: Task
>Affects Versions: 11.2
>Reporter: ARUNAVA SINHA
>Assignee: ARUNAVA SINHA
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> NB-11.2 will Support JDK-13. Need to upgrade nb-javac  to make it in sync 
> with JDK-13
> nb-javac link: [https://hg.netbeans.org/main/nb-java-x]



--
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-3106) Ant based Groovy projects should set javahome for groovyc ant task

2019-09-17 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3106:
---

 Summary: Ant based Groovy projects should set javahome for groovyc 
ant task
 Key: NETBEANS-3106
 URL: https://issues.apache.org/jira/browse/NETBEANS-3106
 Project: NetBeans
  Issue Type: Improvement
  Components: groovy - Code
Affects Versions: 11.1
Reporter: Benjamin Graf


Generation of ant based build script "groovy-build.xml" does not set javahome 
property of groovyc task description. Therefore, the default JDK running the 
whole IDE is used for compilation which might differ to the JDK wished to be 
used and configured in project settings.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3100:
-

@[~GeertjanWielenga]: Just for interest. From where do you get your daily 
snapshots? Build yourself?

> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows 10
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Nothing in Output window
>  # Add JDK 8 to IDE via Tools/Java Platforms
>  # Switch Java Platform in project properties to JDK 8
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Run in Output visable



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3100:

Environment: 
NetBeans-dev-netbeans-linux-1247-on-20190915-release
Windows 10
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)

  was:
NetBeans-dev-netbeans-linux-1247-on-20190915-release
Windows
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)


> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows 10
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Nothing in Output window
>  # Add JDK 8 to IDE via Tools/Java Platforms
>  # Switch Java Platform in project properties to JDK 8
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Run in Output visable



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3100:

Description: 
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.

 

Steps to reproduce:
 # Unpack plain zip distribution for version 11.1+ (actually 
[NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
 ** delete any previous profile files
 # Configure Java 11 as runtime environment in "etc/netbeans.conf"
 ** netbeans_jdkhome= 
 # Create new project "Java with Ant / Java Application"
 # Try to run generated Class "JavaApplication" with generated main method
 # Nothing in Output window
 # Add JDK 8 to IDE via Tools/Java Platforms
 # Switch Java Platform in project properties to JDK 8
 # Try to run generated Class "JavaApplication" with generated main method
 # Run in Output visable

  was:
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.

 

Steps to reproduce:
 # Unpack plain zip distribution for version 11.1+ (actually 
[NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
 ** delete any previous profile files
 # Configure Java 11 as runtime environment in "etc/netbeans.conf"
 ** netbeans_jdkhome= 
 # Create new project "Java with Ant / Java Application"
 # Try to run generated Class "JavaApplication" with generated main method
 # Nothing in Output window


> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Nothing in Output window
>  # Add JDK 8 to IDE via Tools/Java Platforms
>  # Switch Java Platform in project properties to JDK 8
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Run in Output visable



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3100:

Description: 
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.

 

Steps to reproduce:
 # Unpack plain zip distribution for version 11.1+ (actually 
[NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
 ** delete any previous profile files
 # Configure Java 11 as runtime environment in "etc/netbeans.conf"
 ** netbeans_jdkhome= 
 # Create new project "Java with Ant / Java Application"
 # Try to run generated Class "JavaApplication" with generated main method
 # Nothing in Output window

  was:
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.

 

Steps to reproduce:
 # Unpack plain zip distribution for version 11.1+ (actually 
[NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
 ** delete any previous profile files
 # Configure Java 11 as runtime environment in "etc/netbeans.conf"
 ** netbeans_jdkhome= 
 # Create new project "Java with Ant / Java Application"
 # Try to run generated Class "JavaApplication" with generated main method


> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method
>  # Nothing in Output window



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3100:
-

No, I tested several snapshot builds in the last 2/3 days to check for some 
other fixes committed previously.

> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3100:

Description: 
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.

 

Steps to reproduce:
 # Unpack plain zip distribution for version 11.1+ (actually 
[NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
 ** delete any previous profile files
 # Configure Java 11 as runtime environment in "etc/netbeans.conf"
 ** netbeans_jdkhome= 
 # Create new project "Java with Ant / Java Application"
 # Try to run generated Class "JavaApplication" with generated main method

  was:
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.

 

Steps to reproduce:
 # Unpack plain zip distribution (delete any previous profile!)
 # Configure Java 11 as runtime environment in "etc/netbeans.conf"
 ** netbeans_jdkhome= 
 # Create new project "Java with Ant / Java Application"
 # Try to run generated Class "JavaApplication" with generated main method


> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution for version 11.1+ (actually 
> [NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip|https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-linux/1250/artifact/nbbuild/NetBeans-dev-netbeans-linux-1250-on-20190916-release.zip])
>  ** delete any previous profile files
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-3100:

Description: 
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.

 

Steps to reproduce:
 # Unpack plain zip distribution (delete any previous profile!)
 # Configure Java 11 as runtime environment in "etc/netbeans.conf"
 ** netbeans_jdkhome= 
 # Create new project "Java with Ant / Java Application"
 # Try to run generated Class "JavaApplication" with generated main method

  was:
Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.

Seems to be a regression introduced with one of the latest changes between 11.1 
and 11.2.


> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.
> Seems to be a regression introduced with one of the latest changes between 
> 11.1 and 11.2.
>  
> Steps to reproduce:
>  # Unpack plain zip distribution (delete any previous profile!)
>  # Configure Java 11 as runtime environment in "etc/netbeans.conf"
>  ** netbeans_jdkhome= 
>  # Create new project "Java with Ant / Java Application"
>  # Try to run generated Class "JavaApplication" with generated main method



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3100:
-

 It works with 11.1.

> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-16 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-3100:
-

Have a look to environment. I'm talking about current snapshots! ;-)

> Ant project not runnable
> 
>
> Key: NETBEANS-3100
> URL: https://issues.apache.org/jira/browse/NETBEANS-3100
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Ant Project
>Affects Versions: 11.2
> Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
> Windows
> OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Plain Ant based Java Application is not runnable when using Java 11. It does 
> work with Java 8. No error message, no log, total silence.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-3100) Ant project not runnable

2019-09-15 Thread Benjamin Graf (Jira)
Benjamin Graf created NETBEANS-3100:
---

 Summary: Ant project not runnable
 Key: NETBEANS-3100
 URL: https://issues.apache.org/jira/browse/NETBEANS-3100
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Ant Project
Affects Versions: 11.2
 Environment: NetBeans-dev-netbeans-linux-1247-on-20190915-release
Windows
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
Reporter: Benjamin Graf


Plain Ant based Java Application is not runnable when using Java 11. It does 
work with Java 8. No error message, no log, total silence.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
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-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-09-15 Thread Benjamin Graf (Jira)


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

Benjamin Graf resolved NETBEANS-2953.
-
Resolution: Fixed

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schemas" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
>   at 
> 

[jira] [Commented] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-09-15 Thread Benjamin Graf (Jira)


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

Benjamin Graf commented on NETBEANS-2953:
-

Patch works for me thx! :)

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schemas" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
>   at 
> 

[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-09-13 Thread Benjamin Graf (Jira)


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

Benjamin Graf updated NETBEANS-2953:

Fix Version/s: 11.2

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schemas" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
>   at 
> 

[jira] [Commented] (NETBEANS-2922) Can't activate HTML5 and Java EE modules

2019-08-10 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2922:
-

Try install manually:
http://plugins.netbeans.org/plugin/74901/oracle-js-parser-implementation
http://plugins.netbeans.org/plugin/73454/nb-javac-library

Maybe it's a solution in the meantime.


> Can't activate HTML5 and Java EE modules
> 
>
> Key: NETBEANS-2922
> URL: https://issues.apache.org/jira/browse/NETBEANS-2922
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
> Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10
> Runtime: OpenJDK Runtime Environment 12.0.2+10
> System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb)
>Reporter: user124
>Priority: Critical
> Attachments: Screenshot_20190730_220847.png, 
> Screenshot_20190810_175435.png
>
>
> Can't activate HTML5 and Java EE modules, Throws exception: "The plugin named 
> org.netbeans.libs.oracle.jsparser is needed and not found."



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2922) Can't activate HTML5 and Java EE modules

2019-08-10 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2922:
-

This sound like a problem in the network stack. Anything special? Proxy? What 
kind of distribution do you use. From this point the problem is hard to catch.

> Can't activate HTML5 and Java EE modules
> 
>
> Key: NETBEANS-2922
> URL: https://issues.apache.org/jira/browse/NETBEANS-2922
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
> Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10
> Runtime: OpenJDK Runtime Environment 12.0.2+10
> System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb)
>Reporter: user124
>Priority: Critical
> Attachments: Screenshot_20190730_220847.png, 
> Screenshot_20190810_175435.png
>
>
> Can't activate HTML5 and Java EE modules, Throws exception: "The plugin named 
> org.netbeans.libs.oracle.jsparser is needed and not found."



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2922) Can't activate HTML5 and Java EE modules

2019-08-10 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2922:
-

Try with a fresh installation. It looks a bit odd that the download button is 
disabled for you.

> Can't activate HTML5 and Java EE modules
> 
>
> Key: NETBEANS-2922
> URL: https://issues.apache.org/jira/browse/NETBEANS-2922
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
> Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10
> Runtime: OpenJDK Runtime Environment 12.0.2+10
> System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb)
>Reporter: user124
>Priority: Critical
> Attachments: Screenshot_20190730_220847.png, 
> Screenshot_20190810_175435.png
>
>
> Can't activate HTML5 and Java EE modules, Throws exception: "The plugin named 
> org.netbeans.libs.oracle.jsparser is needed and not found."



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2922) Can't activate HTML5 and Java EE modules

2019-08-09 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2922:
-

Try to activate it via creating a "fake" project using ee features. This will 
activate download of oracle-js nbm and activates modules successfully.

> Can't activate HTML5 and Java EE modules
> 
>
> Key: NETBEANS-2922
> URL: https://issues.apache.org/jira/browse/NETBEANS-2922
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
> Environment: Java: 12.0.2; OpenJDK 64-Bit Server VM 12.0.2+10
> Runtime: OpenJDK Runtime Environment 12.0.2+10
> System: Linux version 5.2.2-1-default running on amd64; UTF-8; ru_UA (nb)
>Reporter: user124
>Priority: Critical
> Attachments: Screenshot_20190730_220847.png
>
>
> Can't activate HTML5 and Java EE modules, Throws exception: "The plugin named 
> org.netbeans.libs.oracle.jsparser is needed and not found."



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-08-05 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2953:
-

Additional Information:
Error seems to be in RunTimeDDCatalog which gets initialized without setting 
displayNameKey variable. Might be something wrong with layer.xml.

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schemas" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
>   at 
> 

[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-08-04 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2953:

Description: 
Following stacktrace occurs every time when trying to open  "DTDs and XML 
Schemas" menu entry:
{noformat}
java.lang.NullPointerException
at 
java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java.base/java.util.Properties.get(Properties.java:1311)
at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
at 
org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
at java.base/java.util.TreeMap.put(TreeMap.java:550)
at java.base/java.util.TreeSet.add(TreeSet.java:255)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
at org.openide.nodes.Children.callAddNotify(Children.java:550)
at 
org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
at 
org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
at org.openide.nodes.Children.getNodesCount(Children.java:484)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
at 
org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
at 
java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
at 
org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659)
at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at org.openide.windows.TopComponent.addNotify(TopComponent.java:256)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at 

[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-08-04 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2953:

Environment: 
Windows 10
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.4+11, mixed mode)
>Reporter: Benjamin Graf
>Priority: Major
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schemas" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
>   at 
> org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659)
>   at 

[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-08-04 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2953:

Description: 
Following stacktrace occurs every time when trying to open  "DTDs and XML 
Schemas" menu entry:
{noformat}
java.lang.NullPointerException
at 
java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java.base/java.util.Properties.get(Properties.java:1311)
at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
at 
org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
at java.base/java.util.TreeMap.put(TreeMap.java:550)
at java.base/java.util.TreeSet.add(TreeSet.java:255)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
at org.openide.nodes.Children.callAddNotify(Children.java:550)
at 
org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
at 
org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
at org.openide.nodes.Children.getNodesCount(Children.java:484)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
at 
org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
at 
java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
at 
org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659)
at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at org.openide.windows.TopComponent.addNotify(TopComponent.java:256)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at 

[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-08-04 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2953:

Description: 
Following stacktrace occurs every time when trying to open  "DTDs and XML 
Schemas" menu entry:
{noformat}
java.lang.NullPointerException
at 
java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java.base/java.util.Properties.get(Properties.java:1311)
at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
at 
org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
at java.base/java.util.TreeMap.put(TreeMap.java:550)
at java.base/java.util.TreeSet.add(TreeSet.java:255)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
at org.openide.nodes.Children.callAddNotify(Children.java:550)
at 
org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
at 
org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
at org.openide.nodes.Children.getNodesCount(Children.java:484)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
at 
org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
at 
java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
at 
org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659)
at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at org.openide.windows.TopComponent.addNotify(TopComponent.java:256)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at 

[jira] [Updated] (NETBEANS-2953) NPE after pressing "DTDs and XML Schemas" menu entry

2019-08-04 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2953:

Summary: NPE after pressing "DTDs and XML Schemas" menu entry  (was: NPE 
after pressing "DTDs and XML Schema" menu entry)

> NPE after pressing "DTDs and XML Schemas" menu entry
> 
>
> Key: NETBEANS-2953
> URL: https://issues.apache.org/jira/browse/NETBEANS-2953
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Benjamin Graf
>Priority: Major
>
> Following stacktrace occurs every time when trying to open  "DTDs and XML 
> Schema" menu entry:
> {noformat}
> java.lang.NullPointerException
>   at 
> java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
>   at java.base/java.util.Properties.get(Properties.java:1311)
>   at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
>   at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
>   at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
>   at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
>   at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
>   at 
> org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
>   at java.base/java.util.TreeMap.put(TreeMap.java:550)
>   at java.base/java.util.TreeSet.add(TreeSet.java:255)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
>   at 
> org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
>   at org.openide.nodes.Children.callAddNotify(Children.java:550)
>   at 
> org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
>   at 
> org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
>   at org.openide.nodes.Children.getNodesCount(Children.java:484)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
>   at 
> org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
>   at 
> java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
>   at 
> java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
>   at 
> java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
>   at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
>   at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
>   at 
> org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659)
>   at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639)
>   at 

[jira] [Created] (NETBEANS-2953) NPE after pressing "DTDs and XML Schema" menu entry

2019-08-04 Thread Benjamin Graf (JIRA)
Benjamin Graf created NETBEANS-2953:
---

 Summary: NPE after pressing "DTDs and XML Schema" menu entry
 Key: NETBEANS-2953
 URL: https://issues.apache.org/jira/browse/NETBEANS-2953
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1
Reporter: Benjamin Graf


Following stacktrace occurs every time when trying to open  "DTDs and XML 
Schema" menu entry:
{noformat}
java.lang.NullPointerException
at 
java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at java.base/java.util.Properties.get(Properties.java:1311)
at org.openide.util.NbCollections$CheckedMap.get(NbCollections.java:385)
at org.openide.util.NbBundle$PBundle.handleGetObject(NbBundle.java:880)
at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:555)
at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
at org.openide.util.NbBundle.getMessage(NbBundle.java:617)
at 
org.netbeans.modules.payara.jakartaee.RunTimeDDCatalog.getDisplayName(RunTimeDDCatalog.java:382)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.compare(CatalogRootNode.java:249)
at java.base/java.util.TreeMap.put(TreeMap.java:550)
at java.base/java.util.TreeSet.add(TreeSet.java:255)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.createKeys(CatalogRootNode.java:225)
at 
org.netbeans.modules.xml.catalog.CatalogRootNode$RootChildren.addNotify(CatalogRootNode.java:183)
at org.openide.nodes.Children.callAddNotify(Children.java:550)
at 
org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:627)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:98)
at 
org.openide.nodes.EntrySupportDefault.getNodes(EntrySupportDefault.java:149)
at 
org.openide.nodes.EntrySupportDefault.getNodesCount(EntrySupportDefault.java:153)
at org.openide.nodes.Children.getNodesCount(Children.java:484)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:234)
at 
org.openide.explorer.view.VisualizerNode.getChildren(VisualizerNode.java:224)
at 
org.openide.explorer.view.VisualizerNode.getChildCount(VisualizerNode.java:301)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.getChildCount(DefaultTreeModel.java:192)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.expand(FixedHeightLayoutCache.java:1155)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.rebuild(FixedHeightLayoutCache.java:620)
at 
java.desktop/javax.swing.tree.FixedHeightLayoutCache.treeStructureChanged(FixedHeightLayoutCache.java:492)
at 
java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged(BasicTreeUI.java:4324)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:607)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:391)
at 
java.desktop/javax.swing.tree.DefaultTreeModel.setRoot(DefaultTreeModel.java:141)
at org.openide.explorer.view.NodeTreeModel$1.run(NodeTreeModel.java:98)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.NodeTreeModel.setNode(NodeTreeModel.java:83)
at org.openide.explorer.view.TreeView$4.run(TreeView.java:831)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
at 
org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
at 
org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
at org.openide.util.Mutex.readAccess(Mutex.java:235)
at 
org.openide.explorer.view.TreeView.synchronizeRootContext(TreeView.java:821)
at 
org.openide.explorer.view.TreeView.lookupExplorerManager(TreeView.java:659)
at org.openide.explorer.view.TreeView.addNotify(TreeView.java:639)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at java.desktop/java.awt.Container.addNotify(Container.java:2800)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4783)
at org.openide.windows.TopComponent.addNotify(TopComponent.java:256)
at 

[jira] [Commented] (NETBEANS-2884) JDK 7 and earlier cannot be registered in Java Platform Manager

2019-07-30 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2884:
-

Hi [~kovica],

This issue is a duplicate. Have a look at 
https://issues.apache.org/jira/browse/NETBEANS-2878 which already has a patch 
solving it.

Regards

Benjamin

> JDK 7 and earlier cannot be registered in Java Platform Manager
> ---
>
> Key: NETBEANS-2884
> URL: https://issues.apache.org/jira/browse/NETBEANS-2884
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Geertjan Wielenga
>Priority: Major
> Attachments: Captura de pantalla 2019-07-23 a las 17.55.52.png
>
>
> In 11.1, and not in 11.0, go to Tools | Java Platform Manager and try to 
> register a JDK earlier than JDK 8.
> See the discussion on the users mailing list here:
> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
> Registration will fail: "Cannot detect and install the selected platform. The 
> java or javac may not be executable."



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2878) Netbeans does not add Java Plattform < JDK 8

2019-07-24 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2878:

Description: 
Netbeans checks JDK Installation by executing a probe from 
java/java.j2seplatform/probesrc 
(org-netbeans-modules-java-j2seplatform-probe.jar) This module is build with 
source version set to 1.8 and therefor is not runnable with older versions.

 
h6. Workaround:

Manuell build of org-netbeans-modules-java-j2seplatform-probe.jar with desired 
source version

  was:Netbeans checks JDK Installation by executing a probe from 
java/java.j2seplatform/probesrc 
(org-netbeans-modules-java-j2seplatform-probe.jar) This module is build with 
source version set to 1.8 and therefor is not runnable with older versions.


> Netbeans does not add Java Plattform < JDK 8
> 
>
> Key: NETBEANS-2878
> URL: https://issues.apache.org/jira/browse/NETBEANS-2878
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Netbeans checks JDK Installation by executing a probe from 
> java/java.j2seplatform/probesrc 
> (org-netbeans-modules-java-j2seplatform-probe.jar) This module is build with 
> source version set to 1.8 and therefor is not runnable with older versions.
>  
> h6. Workaround:
> Manuell build of org-netbeans-modules-java-j2seplatform-probe.jar with 
> desired source version



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2878) Netbeans does not add Java Plattform < JDK 8

2019-07-23 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2878:

Affects Version/s: (was: 11.0)
   11.1

> Netbeans does not add Java Plattform < JDK 8
> 
>
> Key: NETBEANS-2878
> URL: https://issues.apache.org/jira/browse/NETBEANS-2878
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Benjamin Graf
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Netbeans checks JDK Installation by executing a probe from 
> java/java.j2seplatform/probesrc 
> (org-netbeans-modules-java-j2seplatform-probe.jar) This module is build with 
> source version set to 1.8 and therefor is not runnable with older versions.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2884) JDK 7 and earlier cannot be registered in Java Platform Manager

2019-07-23 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2884:
-

NETBEANS-2284 brought the change breaking probe. See build.xml change.

> JDK 7 and earlier cannot be registered in Java Platform Manager
> ---
>
> Key: NETBEANS-2884
> URL: https://issues.apache.org/jira/browse/NETBEANS-2884
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Geertjan Wielenga
>Priority: Major
> Attachments: Captura de pantalla 2019-07-23 a las 17.55.52.png
>
>
> In 11.1, and not in 11.0, go to Tools | Java Platform Manager and try to 
> register a JDK earlier than JDK 8.
> See the discussion on the users mailing list here:
> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
> Registration will fail: "Cannot detect and install the selected platform. The 
> java or javac may not be executable."



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2884) JDK 7 and earlier cannot be registered in Java Platform Manager

2019-07-23 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2884:
-

Have a look at NETBEANS-2878. It's a problem with building the probe jar.

> JDK 7 and earlier cannot be registered in Java Platform Manager
> ---
>
> Key: NETBEANS-2884
> URL: https://issues.apache.org/jira/browse/NETBEANS-2884
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Geertjan Wielenga
>Priority: Major
> Attachments: Captura de pantalla 2019-07-23 a las 17.55.52.png
>
>
> In 11.1, and not in 11.0, go to Tools | Java Platform Manager and try to 
> register a JDK earlier than JDK 8.
> See the discussion on the users mailing list here:
> https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
> Registration will fail: "Cannot detect and install the selected platform. The 
> java or javac may not be executable."



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2878) Netbeans does not add Java Plattform < JDK 8

2019-07-22 Thread Benjamin Graf (JIRA)
Benjamin Graf created NETBEANS-2878:
---

 Summary: Netbeans does not add Java Plattform < JDK 8
 Key: NETBEANS-2878
 URL: https://issues.apache.org/jira/browse/NETBEANS-2878
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.0
Reporter: Benjamin Graf


Netbeans checks JDK Installation by executing a probe from 
java/java.j2seplatform/probesrc 
(org-netbeans-modules-java-j2seplatform-probe.jar) This module is build with 
source version set to 1.8 and therefor is not runnable with older versions.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2842) Using of deprecated pack200 tool in nbm packaging

2019-07-13 Thread Benjamin Graf (JIRA)
Benjamin Graf created NETBEANS-2842:
---

 Summary: Using of deprecated pack200 tool in nbm packaging
 Key: NETBEANS-2842
 URL: https://issues.apache.org/jira/browse/NETBEANS-2842
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Plugin Manager
Reporter: Benjamin Graf


Netbeans plugins are mostly compressed in size by the JDK internal pack200 tool 
which is deprecated since JDK 11 ([https://openjdk.java.net/jeps/336]). It 
should be thought about an alternative as it might get removed in next JDK 
releases.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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-2824) No Properties dialog showing in 11.1vc1 for Java Application

2019-07-11 Thread Benjamin Graf (JIRA)


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

Benjamin Graf updated NETBEANS-2824:

Environment: Windows 10, AdoptOpenJDK 11.0.3  (was: Windows 10, 
AdaoptOpenJDK 11.0.3)
Summary: No Properties dialog showing in 11.1vc1 for Java Application  
(was: No preference window showing in 11.1vc1)

> No Properties dialog showing in 11.1vc1 for Java Application
> 
>
> Key: NETBEANS-2824
> URL: https://issues.apache.org/jira/browse/NETBEANS-2824
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Options
>Affects Versions: 11.1
> Environment: Windows 10, AdoptOpenJDK 11.0.3
>Reporter: Benjamin Graf
>Priority: Blocker
>
> mOpen project properties dialog on plain Java Application Maven project ends 
> with:
> {code:java}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.fish.payara.micro.project.MicroApplication.getInstance(MicroApplication.java:149)
>   at 
> org.netbeans.modules.fish.payara.micro.project.MicroPropertiesPanelProvider.createCategory(MicroPropertiesPanelProvider.java:44)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:647)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:608)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:235)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl$1.run(CustomizerProviderImpl.java:155)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:147)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:115)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:110)
>   at 
> org.netbeans.modules.project.ui.actions.CustomizeProject$1$1.run(CustomizeProject.java:135)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> Reproducable with following steps:
>  * Install a fresh installation from scratch by using zip and deleting profile
>  * Start Netbeans Application
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Java Application project
>  *** Download and Activate modules (nb-javac-impl!)
>  *** Finish project creating
>  * Open Properties on created project -> {color:#14892c}*it works!*{color}
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Web Application project
>  ** Cancel dialog after modules have been activated
>  * Open Properties on previously created project -> {color:#ff}*it 
> fails!*{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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] [Commented] (NETBEANS-2824) No preference window showing in 11.1vc1

2019-07-11 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2824:
-

Everything fine with the Payara Micro Application (creating and open Properties 
dialog). But not if creating a plain Java Application after. As seen in the 
StackTrace there is something wrong why Netbeans tries to read something 
affecting Payara in a non Payara project.

> No preference window showing in 11.1vc1
> ---
>
> Key: NETBEANS-2824
> URL: https://issues.apache.org/jira/browse/NETBEANS-2824
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Options
>Affects Versions: 11.1
> Environment: Windows 10, AdaoptOpenJDK 11.0.3
>Reporter: Benjamin Graf
>Priority: Blocker
>
> mOpen project properties dialog on plain Java Application Maven project ends 
> with:
> {code:java}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.fish.payara.micro.project.MicroApplication.getInstance(MicroApplication.java:149)
>   at 
> org.netbeans.modules.fish.payara.micro.project.MicroPropertiesPanelProvider.createCategory(MicroPropertiesPanelProvider.java:44)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:647)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:608)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:235)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl$1.run(CustomizerProviderImpl.java:155)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:147)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:115)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:110)
>   at 
> org.netbeans.modules.project.ui.actions.CustomizeProject$1$1.run(CustomizeProject.java:135)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> Reproducable with following steps:
>  * Install a fresh installation from scratch by using zip and deleting profile
>  * Start Netbeans Application
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Java Application project
>  *** Download and Activate modules (nb-javac-impl!)
>  *** Finish project creating
>  * Open Properties on created project -> {color:#14892c}*it works!*{color}
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Web Application project
>  ** Cancel dialog after modules have been activated
>  * Open Properties on previously created project -> {color:#ff}*it 
> fails!*{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

For further 

[jira] [Commented] (NETBEANS-2824) No preference window showing in 11.1vc1

2019-07-11 Thread Benjamin Graf (JIRA)


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

Benjamin Graf commented on NETBEANS-2824:
-

Added more info in description.

> No preference window showing in 11.1vc1
> ---
>
> Key: NETBEANS-2824
> URL: https://issues.apache.org/jira/browse/NETBEANS-2824
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Options
>Affects Versions: 11.1
> Environment: Windows 10, AdaoptOpenJDK 11.0.3
>Reporter: Benjamin Graf
>Priority: Blocker
>
> mOpen project properties dialog on plain Java Application Maven project ends 
> with:
> {code:java}
> java.lang.NullPointerException
>   at 
> org.netbeans.modules.fish.payara.micro.project.MicroApplication.getInstance(MicroApplication.java:149)
>   at 
> org.netbeans.modules.fish.payara.micro.project.MicroPropertiesPanelProvider.createCategory(MicroPropertiesPanelProvider.java:44)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:647)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:608)
>   at 
> org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:235)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl$1.run(CustomizerProviderImpl.java:155)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
>   at 
> org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
>   at 
> org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
>   at org.openide.util.Mutex.readAccess(Mutex.java:235)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:147)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:115)
>   at 
> org.netbeans.modules.maven.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:110)
>   at 
> org.netbeans.modules.project.ui.actions.CustomizeProject$1$1.run(CustomizeProject.java:135)
>   at 
> java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
>   at 
> java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>   at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>   at java.base/java.security.AccessController.doPrivileged(Native Method)
>   at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>   at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
>   at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
> [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>   at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>   at 
> java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
> Reproducable with following steps:
>  * Install a fresh installation from scratch by using zip and deleting profile
>  * Start Netbeans Application
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Java Application project
>  *** Download and Activate modules (nb-javac-impl!)
>  *** Finish project creating
>  * Open Properties on created project -> {color:#14892c}*it works!*{color}
>  * Start "New project dialog"
>  ** Create a new Java with Maven - Web Application project
>  ** Cancel dialog after modules have been activated
>  * Open Properties on previously created project -> {color:#ff}*it 
> fails!*{color}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
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



  1   2   >