[jira] [Issue Comment Deleted] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is greater than JDK 8

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1097:
--
Comment: was deleted

(was: ... and NetBeans 11...)

> "Copy Dependent Libraries" does not work if "Source/Binary Format" is greater 
> than JDK 8
> 
>
> Key: NETBEANS-1097
> URL: https://issues.apache.org/jira/browse/NETBEANS-1097
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project
>Affects Versions: 9.0, 10.0, 11.0, 11.1
>Reporter: Joonas Pulakka
>Priority: Major
>
> Steps to reproduce:
>  # File -> New Project -> Java Application -> Next -> Finish
>  # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
>  # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
> checked.
>  # Clean and Build project.
>  # Observe contents of dist\ directory.
> When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
> dist\lib\ directory, and the jar added in step 1) is copied into that 
> directory, as expected, when Copy Dependent Libraries is checked.
> But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does 
> not exist.
> The reason seems to be these parts in build-impl.xml:
> {code:java}
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> <-- WHY THIS 
> CONDITION??
> 
> 
> {code}
> I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
> checbox state negated. And do.mkdist controls the library copying.
> But why is this library copying connected to javac.source version in this 
> way? If by design, what should I do in order to get jars copied to dist\lib\ 
> as they used to?
> For now, a workaround seems to be manually deleting the weird
> {code:java}
> 
> 
> {code}
> part from build-impl.xml, but that needs to be re-done every time NetBeans 
> recreates it.



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Attachment: (was: exception.txt)

> Assertion error in code completion in Java code
> ---
>
> Key: NETBEANS-2978
> URL: https://issues.apache.org/jira/browse/NETBEANS-2978
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Petr Miksik
>Priority: Major
>  Labels: code-completion
> Attachments: ide_log.txt
>
>
> The exception occurs after selecting an item from the provided "Code 
> completion" list and nothing is inserted into code. It's thrown quite often, 
> but it's not entirely clear under what conditions this may happen. Source 
> code level does not matter.
> {noformat}
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
>   at 
> com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
>   at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
>   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
>   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
>   at 
> org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
>   at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6409)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2263)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
>   at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
>   at 

[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Attachment: ide_log.txt

> Assertion error in code completion in Java code
> ---
>
> Key: NETBEANS-2978
> URL: https://issues.apache.org/jira/browse/NETBEANS-2978
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Petr Miksik
>Priority: Major
>  Labels: code-completion
> Attachments: ide_log.txt
>
>
> The exception occurs after selecting an item from the provided "Code 
> completion" list and nothing is inserted into code. It's thrown quite often, 
> but it's not entirely clear under what conditions this may happen. Source 
> code level does not matter.
> {noformat}
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
>   at 
> com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
>   at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
>   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
>   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
>   at 
> org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
>   at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6409)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2263)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
>   at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
>   at 
> 

[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Description: 
The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen. Source code 
level does not matter.
{noformat}
java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:155)
at com.sun.tools.javac.util.Assert.check(Assert.java:46)
at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
at 
com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
at 
org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
at 
org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
at 
org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
at 
org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
at 
org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
at 
org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
at 
org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
at 
java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
at 
java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
at java.desktop/java.awt.Component.processEvent(Component.java:6409)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at 
java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at 

[jira] [Updated] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev updated NETBEANS-2940:

Attachment: selfsampler6409512410806567513.npss

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Description: 
The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen. Source code 
level does not matter.
 JDK 11.0.4; OpenJDK 64-Bit Server VM
{panel:title=Exception}


java.lang.AssertionError
 at com.sun.tools.javac.util.Assert.error(Assert.java:155)
 at com.sun.tools.javac.util.Assert.check(Assert.java:46)
 at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
 at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
 at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
 at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
 at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
 at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
 at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
 at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
 at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
 at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
 at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
 at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
 at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
 at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
 at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
 at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
 at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
 at 
org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
 at 
org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
 at 
org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
 at 
org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
 at 
org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
 at 
org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
 at 
org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
 at 
java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
 at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
 at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
 at java.desktop/java.awt.Component.processEvent(Component.java:6409)
 at java.desktop/java.awt.Container.processEvent(Container.java:2263)
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at 
java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
 at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
 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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
 at 

[jira] [Updated] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is greater than JDK 8

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1097:
--
Summary: "Copy Dependent Libraries" does not work if "Source/Binary Format" 
is greater than JDK 8  (was: "Copy Dependent Libraries" does not work if 
"Source/Binary Format" is JDK 9 or JDK 10)

> "Copy Dependent Libraries" does not work if "Source/Binary Format" is greater 
> than JDK 8
> 
>
> Key: NETBEANS-1097
> URL: https://issues.apache.org/jira/browse/NETBEANS-1097
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0, 11.1
>Reporter: Joonas Pulakka
>Priority: Major
>
> Steps to reproduce:
>  # File -> New Project -> Java Application -> Next -> Finish
>  # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
>  # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
> checked.
>  # Clean and Build project.
>  # Observe contents of dist\ directory.
> When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
> dist\lib\ directory, and the jar added in step 1) is copied into that 
> directory, as expected, when Copy Dependent Libraries is checked.
> But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does 
> not exist.
> The reason seems to be these parts in build-impl.xml:
> {code:java}
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> <-- WHY THIS 
> CONDITION??
> 
> 
> {code}
> I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
> checbox state negated. And do.mkdist controls the library copying.
> But why is this library copying connected to javac.source version in this 
> way? If by design, what should I do in order to get jars copied to dist\lib\ 
> as they used to?
> For now, a workaround seems to be manually deleting the weird
> {code:java}
> 
> 
> {code}
> part from build-impl.xml, but that needs to be re-done every time NetBeans 
> recreates it.



--
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-2974) PHPStan - make level optional

2019-08-13 Thread JIRA


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

Tomáš Procházka commented on NETBEANS-2974:
---

Today I've tried this fix and it works as expected.

Thanks for your support of PHP in NetBeans.

> PHPStan - make level optional
> -
>
> Key: NETBEANS-2974
> URL: https://issues.apache.org/jira/browse/NETBEANS-2974
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code Analysis
>Affects Versions: 11.1
>Reporter: Tomáš Procházka
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Setting of level for PHPStan should be optional.
> If parameter "–level" is not present in command line then default value is 0 
> or value from configuration file is used.
> Setting of level in options currently always overrides value from 
> configuration file.
>  



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)
Petr Miksik created NETBEANS-2978:
-

 Summary: Assertion error in code completion in Java code
 Key: NETBEANS-2978
 URL: https://issues.apache.org/jira/browse/NETBEANS-2978
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Affects Versions: 11.1
Reporter: Petr Miksik
 Attachments: exception.txt

The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen.



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Labels: autocomplete autocompletion codecompletion  (was: autocompletion)

> Assertion error in code completion in Java code
> ---
>
> Key: NETBEANS-2978
> URL: https://issues.apache.org/jira/browse/NETBEANS-2978
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Petr Miksik
>Priority: Major
>  Labels: autocomplete, autocompletion, codecompletion
> Attachments: ide_log.txt
>
>
> The exception occurs after selecting an item from the provided "Code 
> completion" list and nothing is inserted into code. It's thrown quite often, 
> but it's not entirely clear under what conditions this may happen. Source 
> code level does not matter.
> {noformat}
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
>   at 
> com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
>   at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
>   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
>   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
>   at 
> org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
>   at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6409)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2263)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
>   at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>   at 
> 

[jira] [Updated] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1097:
--
Affects Version/s: 10.0
   11.0
   11.1

> "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 
> or JDK 10
> -
>
> Key: NETBEANS-1097
> URL: https://issues.apache.org/jira/browse/NETBEANS-1097
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0, 11.0, 11.1
>Reporter: Joonas Pulakka
>Priority: Major
>
> Steps to reproduce:
>  # File -> New Project -> Java Application -> Next -> Finish
>  # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
>  # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
> checked.
>  # Clean and Build project.
>  # Observe contents of dist\ directory.
> When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
> dist\lib\ directory, and the jar added in step 1) is copied into that 
> directory, as expected, when Copy Dependent Libraries is checked.
> But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does 
> not exist.
> The reason seems to be these parts in build-impl.xml:
> {code:java}
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> <-- WHY THIS 
> CONDITION??
> 
> 
> {code}
> I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
> checbox state negated. And do.mkdist controls the library copying.
> But why is this library copying connected to javac.source version in this 
> way? If by design, what should I do in order to get jars copied to dist\lib\ 
> as they used to?
> For now, a workaround seems to be manually deleting the weird
> {code:java}
> 
> 
> {code}
> part from build-impl.xml, but that needs to be re-done every time NetBeans 
> recreates it.



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Description: 
The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen. Source code 
level does not matter.
 JDK 11.0.4; OpenJDK 64-Bit Server VM

  was:
The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen. Source code 
level does not matter.
 JDK 11.0.4; OpenJDK 64-Bit Server VM
{panel:title=Exception}


java.lang.AssertionError
 at com.sun.tools.javac.util.Assert.error(Assert.java:155)
 at com.sun.tools.javac.util.Assert.check(Assert.java:46)
 at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
 at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
 at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
 at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
 at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
 at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
 at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
 at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
 at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
 at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
 at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
 at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
 at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
 at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
 at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
 at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
 at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
 at 
org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
 at 
org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
 at 
org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
 at 
org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
 at 
org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
 at 
org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
 at 
org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
 at 
java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
 at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
 at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
 at java.desktop/java.awt.Component.processEvent(Component.java:6409)
 at java.desktop/java.awt.Container.processEvent(Container.java:2263)
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at 
java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
 at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
 at 

[jira] [Updated] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is greater than JDK 8

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1097:
--
Component/s: java - Project

> "Copy Dependent Libraries" does not work if "Source/Binary Format" is greater 
> than JDK 8
> 
>
> Key: NETBEANS-1097
> URL: https://issues.apache.org/jira/browse/NETBEANS-1097
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Project
>Affects Versions: 9.0, 10.0, 11.0, 11.1
>Reporter: Joonas Pulakka
>Priority: Major
>
> Steps to reproduce:
>  # File -> New Project -> Java Application -> Next -> Finish
>  # Right-click Libraries, Add JAR/Folder. Add whatever jar file.
>  # Check that project Properties -> Packaging -> Copy Dependent Libraries is 
> checked.
>  # Clean and Build project.
>  # Observe contents of dist\ directory.
> When Project -> Properties -> Source/Binary Format is JDK 8, there exists 
> dist\lib\ directory, and the jar added in step 1) is copied into that 
> directory, as expected, when Copy Dependent Libraries is checked.
> But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does 
> not exist.
> The reason seems to be these parts in build-impl.xml:
> {code:java}
> 
> 
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> <-- WHY THIS 
> CONDITION??
> 
> 
> {code}
> I've observed that mkdist.disabled setting is "Copy Dependent Libraries" 
> checbox state negated. And do.mkdist controls the library copying.
> But why is this library copying connected to javac.source version in this 
> way? If by design, what should I do in order to get jars copied to dist\lib\ 
> as they used to?
> For now, a workaround seems to be manually deleting the weird
> {code:java}
> 
> 
> {code}
> part from build-impl.xml, but that needs to be re-done every time NetBeans 
> recreates it.



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Description: 
The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen. Source code 
level does not matter.
JDK 11.0.4; OpenJDK 64-Bit Server VM

  was:The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen.


> Assertion error in code completion in Java code
> ---
>
> Key: NETBEANS-2978
> URL: https://issues.apache.org/jira/browse/NETBEANS-2978
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Petr Miksik
>Priority: Major
>  Labels: code-completion
> Attachments: exception.txt
>
>
> The exception occurs after selecting an item from the provided "Code 
> completion" list and nothing is inserted into code. It's thrown quite often, 
> but it's not entirely clear under what conditions this may happen. Source 
> code level does not matter.
> JDK 11.0.4; OpenJDK 64-Bit Server VM



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Labels: autocompletion  (was: code-completion)

> Assertion error in code completion in Java code
> ---
>
> Key: NETBEANS-2978
> URL: https://issues.apache.org/jira/browse/NETBEANS-2978
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 11.1
>Reporter: Petr Miksik
>Priority: Major
>  Labels: autocompletion
> Attachments: ide_log.txt
>
>
> The exception occurs after selecting an item from the provided "Code 
> completion" list and nothing is inserted into code. It's thrown quite often, 
> but it's not entirely clear under what conditions this may happen. Source 
> code level does not matter.
> {noformat}
> java.lang.AssertionError
>   at com.sun.tools.javac.util.Assert.error(Assert.java:155)
>   at com.sun.tools.javac.util.Assert.check(Assert.java:46)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
>   at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
>   at 
> com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
>   at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
>   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
>   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
>   at 
> org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
>   at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
>   at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
>   at 
> org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
>   at 
> org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
>   at 
> org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
>   at 
> java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
>   at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
>   at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
>   at java.desktop/java.awt.Component.processEvent(Component.java:6409)
>   at java.desktop/java.awt.Container.processEvent(Container.java:2263)
>   at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
>   at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>   at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
>   at 
> java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
>   at 
> java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
> 

[jira] [Updated] (NETBEANS-1939) Silent exception thrown during background scanning of projects

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1939:
--
Fix Version/s: 11.1

> Silent exception thrown during background scanning of projects
> --
>
> Key: NETBEANS-1939
> URL: https://issues.apache.org/jira/browse/NETBEANS-1939
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 9.0, 10.0
>Reporter: Petr Miksik
>Priority: Minor
>  Labels: Background, scanning
> Fix For: 8.2, 11.1
>
> Attachments: SeqStepPanelRamp.java, exception.txt
>
>
> The exception is always thrown on the same files during background scanning 
> process. The java file related to the attached exception is included.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev commented on NETBEANS-2940:
-

Builded Netbeans from source successfully. Before open this new build I cleared 
"userdir" and "cachedir". When Netbeans finished rescan projects all worked 
just fine. 

Then when I open Terminal: "Window -> IDE Tools -> Treminal"   Netbeans 
amidiatly started to "Checking for external changes Suspended"

Snapshot:  [^selfsampler6409512410806567513.npss] 

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2940:
-

The bottom line here is going to remain that you have NetBeans IDE 11.1 working 
perfectly in your home environment, but not in your work environment.

There must be something different between those environments or in how you have 
set up NetBeans or in some service running in your work environment causing 
NetBeans IDE 11.1 to not work in one place optimally and better in the other 
place.

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2979) Dose not save the subversion password

2019-08-13 Thread Clifford Dann (JIRA)
Clifford Dann created NETBEANS-2979:
---

 Summary: Dose not save the subversion password
 Key: NETBEANS-2979
 URL: https://issues.apache.org/jira/browse/NETBEANS-2979
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Keyring
Affects Versions: 11.1
 Environment: Mac OS X, 10.14.3, x86_64
Reporter: Clifford Dann
 Attachments: IDE Log.txt, UI Log.txt

Every time I try and use subversion it asks for a password.

error is NoClassDefFoundError: Could not initialize class 
org.netbeans.modules.keyring.mac.SecurityLibrary



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2940:
---

BTW are you using zsh bot at home an on your workstation?

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



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



[netbeans] branch graaljs2 deleted (was 35df98c)

2019-08-13 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

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


 was 35df98c  Ensure recent ECMAScript version

This change permanently discards the following revisions:

 discard 35df98c  Ensure recent ECMAScript version
 discard 339e81a  Mostly fix webcommon unittests / remove non-runnable tests
 discard e24b951  Fix compile errors
 discard 36d6b12  Merge master


-
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2940:
---

Has the [^selfsampler6409512410806567513.npss] been created with NetBeans 11.1?

As I see the same issue around the indexing that the FileOwnerQuery spends 
considerable amount of time trying to decide from an url if that is an archive 
or not. And I also do not see the NIO2 watcher implementation there.

[https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940] is based on the 
current master plus one little patch: 
https://github.com/apache/netbeans/pull/1422/files

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Assigned] (NETBEANS-1748) JUnit 5 there is no posibilities how run Repeated test method

2019-08-13 Thread John McDonnell (JIRA)


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

John McDonnell reassigned NETBEANS-1748:


Assignee: John McDonnell

> JUnit 5 there is no posibilities how run Repeated test method 
> --
>
> Key: NETBEANS-1748
> URL: https://issues.apache.org/jira/browse/NETBEANS-1748
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 10.0
>Reporter: Tomáš Poledný
>Assignee: John McDonnell
>Priority: Trivial
>
> JUnit 5 has 
> [RepeatedTest|https://junit.org/junit5/docs/current/user-guide/#writing-tests-repeated-tests].
>  There is no posibilities how run method with annotation RepeatedTest (Run 
> Focused Test Method). Error message is: No test method found.  RepeatedTest 
> methods are running after Test File only.
> Example:
> {code:java}
> class SomeRepeatedTest {
>   @RepeatedTest(10)
>   void repeatedTestTest() {
>   System.out.println("repeatedTest");
>   }
> }
> {code}
> I am not able to run test method repeatedTestTest.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi edited comment on NETBEANS-2940 at 8/13/19 7:01 PM:


BTW are you using zsh both at home and at work?


was (Author: lkishalmi):
BTW are you using zsh bot at home an on your workstation?

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2931) A java.lang.IllegalStateException exception has occurred.

2019-08-13 Thread JIRA


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

Marc Krämer commented on NETBEANS-2931:
---

I think I found the cause for this problem, as I had a similar problem:

in 
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212-1.b04.1.mga7.x86_64/jre/lib/security/java.security

some algorithms for ssl have been disabled - I don't know why, since I've never 
touched this file, but after changing the line to

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \
 EC keySize < 224, 3DES_EDE_CBC, anon, NULL

 

It works - sorry for the noise - but the error message (from java) is not very 
clear to the user what is wrong ;)

> A java.lang.IllegalStateException exception has occurred.
> -
>
> Key: NETBEANS-2931
> URL: https://issues.apache.org/jira/browse/NETBEANS-2931
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: mageia linux 7
>Reporter: Marc Krämer
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The page
> [https://plugins.netbeans.org/nbpluginportal/updates/11.0/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]
> (which is a redirect from https://netbeans.apache.org/nb/plugins/11.1/)
> is not secured by a valid certificate. Checked in all browsers. Netbeans 
> itself refuses to connect to this page:
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
>  
> Since the tar ball does not contain an installable php distribution it is not 
> possible to activate php.
> "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be 
> installed.
>  The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
> The following plugin is affected:   
> PHP"



--
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] [Comment Edited] (NETBEANS-1748) JUnit 5 there is no posibilities how run Repeated test method

2019-08-13 Thread John McDonnell (JIRA)


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

John McDonnell edited comment on NETBEANS-1748 at 8/13/19 10:03 PM:


Not able to reproduce in NetBeans 11.1

[~Saljack] I have a maven project, and a unit test with the @RepeatedTest 
annotation:
{code:java}
@RepeatedTest(value = 5)
public void givenNumberOfEmployeeWhenCountEmployeeThenCountMatch() {

// given
Mockito.when(jdbcTemplate.queryForObject(Mockito.any(String.class), 
Mockito.eq(Integer.class))) .thenReturn(1);

// when
int countOfEmployees = employeeDAO.getCountOfEmployees();

// then
Assert.assertThat(countOfEmployees, CoreMatchers.is(1));
}{code}
I am able to execute the context actions "Run Focused Test Method" and "Debug 
Focused Test Method" and both work.  

Can you provide a sample project if you still think this happens?  Otherwise we 
can close this issue

 


was (Author: johnmcdonnell):
No able to reproduce in NetBeans 11.1

[~Saljack] I have a maven project, and a unit test with the @RepeatedTest 
annotation:
{code:java}
@RepeatedTest(value = 5)
public void givenNumberOfEmployeeWhenCountEmployeeThenCountMatch() {

// given
Mockito.when(jdbcTemplate.queryForObject(Mockito.any(String.class), 
Mockito.eq(Integer.class))) .thenReturn(1);

// when
int countOfEmployees = employeeDAO.getCountOfEmployees();

// then
Assert.assertThat(countOfEmployees, CoreMatchers.is(1));
}{code}
I am able to execute the context actions "Run Focused Test Method" and "Debug 
Focused Test Method" and both work.  

Can you provide a sample project if you still think this happens?  Otherwise we 
can close this issue

 

> JUnit 5 there is no posibilities how run Repeated test method 
> --
>
> Key: NETBEANS-1748
> URL: https://issues.apache.org/jira/browse/NETBEANS-1748
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 10.0
>Reporter: Tomáš Poledný
>Assignee: John McDonnell
>Priority: Trivial
>
> JUnit 5 has 
> [RepeatedTest|https://junit.org/junit5/docs/current/user-guide/#writing-tests-repeated-tests].
>  There is no posibilities how run method with annotation RepeatedTest (Run 
> Focused Test Method). Error message is: No test method found.  RepeatedTest 
> methods are running after Test File only.
> Example:
> {code:java}
> class SomeRepeatedTest {
>   @RepeatedTest(10)
>   void repeatedTestTest() {
>   System.out.println("repeatedTest");
>   }
> }
> {code}
> I am not able to run test method repeatedTestTest.



--
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-1748) JUnit 5 there is no posibilities how run Repeated test method

2019-08-13 Thread John McDonnell (JIRA)


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

John McDonnell commented on NETBEANS-1748:
--

No able to reproduce in NetBeans 11.1

[~Saljack] I have a maven project, and a unit test with the @RepeatedTest 
annotation:
{code:java}
@RepeatedTest(value = 5)
public void givenNumberOfEmployeeWhenCountEmployeeThenCountMatch() {

// given
Mockito.when(jdbcTemplate.queryForObject(Mockito.any(String.class), 
Mockito.eq(Integer.class))) .thenReturn(1);

// when
int countOfEmployees = employeeDAO.getCountOfEmployees();

// then
Assert.assertThat(countOfEmployees, CoreMatchers.is(1));
}{code}
I am able to execute the context actions "Run Focused Test Method" and "Debug 
Focused Test Method" and both work.  

Can you provide a sample project if you still think this happens?  Otherwise we 
can close this issue

 

> JUnit 5 there is no posibilities how run Repeated test method 
> --
>
> Key: NETBEANS-1748
> URL: https://issues.apache.org/jira/browse/NETBEANS-1748
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 10.0
>Reporter: Tomáš Poledný
>Assignee: John McDonnell
>Priority: Trivial
>
> JUnit 5 has 
> [RepeatedTest|https://junit.org/junit5/docs/current/user-guide/#writing-tests-repeated-tests].
>  There is no posibilities how run method with annotation RepeatedTest (Run 
> Focused Test Method). Error message is: No test method found.  RepeatedTest 
> methods are running after Test File only.
> Example:
> {code:java}
> class SomeRepeatedTest {
>   @RepeatedTest(10)
>   void repeatedTestTest() {
>   System.out.println("repeatedTest");
>   }
> }
> {code}
> I am not able to run test method repeatedTestTest.



--
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] [Assigned] (NETBEANS-2971) Missing spaces in anonymous function declaration

2019-08-13 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto reassigned NETBEANS-2971:
--

Assignee: Junichi Yamamoto

> Missing spaces in anonymous function declaration
> 
>
> Key: NETBEANS-2971
> URL: https://issues.apache.org/jira/browse/NETBEANS-2971
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Formatting  Indentation
>Affects Versions: 11.1
>Reporter: Tomáš Procházka
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Formatting arguments of anonymous function is not consistent with formatting 
> of regular functions.
> # In PHP project properties set Formatting - Use project specific options.
> # Language: PHP, Category: Spaces
> # Check mark Within Parentheses - Method / Function Declaration
> # Format code
> Actual result:
> {code:php}
> function fn( $a ) {
> return $a;
> }
> $func = function ($a) use ($x) {
> return $a + $x;
> };
> {code}
> Expeceted result:
> {code:php}
> function fn( $a ) {
> return $a;
> }
> $func = function ( $a ) use ( $x ) {
> return $a + $x;
> };
> {code}



--
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-2980) NPE when opening file

2019-08-13 Thread Shevek (JIRA)
Shevek created NETBEANS-2980:


 Summary: NPE when opening file
 Key: NETBEANS-2980
 URL: https://issues.apache.org/jira/browse/NETBEANS-2980
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.1
Reporter: Shevek


Open a project.
Don't have the dependent project(s) open.
Press ^1, ^O, type a class name.
Get this:

java.lang.NullPointerException
at 
org.netbeans.modules.java.source.pretty.ImportAnalysis2.getPackageOf(ImportAnalysis2.java:393)
at 
org.netbeans.modules.java.source.pretty.ImportAnalysis2.resolveImport(ImportAnalysis2.java:310)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.visitMemberSelect(ImmutableTreeTranslator.java:475)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.visitMemberSelect(ImmutableTreeTranslator.java:74)
at 
com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2203)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.translate(ImmutableTreeTranslator.java:123)
at 
org.netbeans.api.java.source.WorkingCopy$5.translate(WorkingCopy.java:871)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.translateClassRef(ImmutableTreeTranslator.java:135)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.translateClassRef(ImmutableTreeTranslator.java:144)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.rewriteChildren(ImmutableTreeTranslator.java:595)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.visitClass(ImmutableTreeTranslator.java:335)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.visitClass(ImmutableTreeTranslator.java:74)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:818)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.translate(ImmutableTreeTranslator.java:123)
at 
org.netbeans.api.java.source.WorkingCopy$5.translate(WorkingCopy.java:871)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.translate(ImmutableTreeTranslator.java:198)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.rewriteChildren(ImmutableTreeTranslator.java:545)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.visitCompilationUnit(ImmutableTreeTranslator.java:322)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.visitCompilationUnit(ImmutableTreeTranslator.java:74)
at 
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:599)
at 
org.netbeans.modules.java.source.transform.ImmutableTreeTranslator.translate(ImmutableTreeTranslator.java:123)
at 
org.netbeans.api.java.source.WorkingCopy$5.translate(WorkingCopy.java:871)
at 
org.netbeans.api.java.source.WorkingCopy$5.translate(WorkingCopy.java:867)
at 
org.netbeans.api.java.source.WorkingCopy.processCurrentCompilationUnit(WorkingCopy.java:899)
at 
org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:1326)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:676)
at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
at 
org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
at 
org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
at 
org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152)
at 

[jira] [Commented] (NETBEANS-2931) A java.lang.IllegalStateException exception has occurred.

2019-08-13 Thread Neil C Smith (JIRA)


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

Neil C Smith commented on NETBEANS-2931:


Can you specify which JDK you're running on?  The redirect is actually to 
[http://plugins.netbeans.org/nbpluginportal/updates/11.0/]

See 
[https://github.com/apache/netbeans-website/blob/master/netbeans.apache.org/src/content/.htaccess#L9]

It's not ideal to be redirecting from https to http, but it's what we have via 
legacy infrastructure at the moment, and seems to be working OK for most people.

> A java.lang.IllegalStateException exception has occurred.
> -
>
> Key: NETBEANS-2931
> URL: https://issues.apache.org/jira/browse/NETBEANS-2931
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0
> Environment: mageia linux 7
>Reporter: Marc Krämer
>Priority: Blocker
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The page
> [https://plugins.netbeans.org/nbpluginportal/updates/11.0/|http://plugins.netbeans.org/nbpluginportal/updates/11.0/]
> (which is a redirect from https://netbeans.apache.org/nb/plugins/11.1/)
> is not secured by a valid certificate. Checked in all browsers. Netbeans 
> itself refuses to connect to this page:
> "Unable to connect to the NetBeans Distribution because of Received fatal 
> alert: handshake_failure"
>  
> Since the tar ball does not contain an installable php distribution it is not 
> possible to activate php.
> "Some plugins require plugin org.netbeans.libs.oracle.jsparser to be 
> installed.
>  The plugin named org.netbeans.libs.oracle.jsparser is needed and not found. 
> The following plugin is affected:   
> PHP"



--
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] [Assigned] (NETBEANS-2296) Low performance

2019-08-13 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi reassigned NETBEANS-2296:
-

Assignee: Eric Brosseau

> Low performance
> ---
>
> Key: NETBEANS-2296
> URL: https://issues.apache.org/jira/browse/NETBEANS-2296
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Eric Brosseau
>Assignee: Eric Brosseau
>Priority: Critical
>
> 
>   2019-03-22T10:24:17
>   1553275457605
>   472
>   700
>   71
>   Snapshot statistics
>   1553275423912
>   Samples
>   3266
>   Average
>   10.31043469075323
>   Minimum
>   4.7316
>   Maximum
>   15.6541
>   Std. deviation
>   0.599752771286342
> 



--
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-2296) Low performance

2019-08-13 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-2296:
---

please provide more info.

> Low performance
> ---
>
> Key: NETBEANS-2296
> URL: https://issues.apache.org/jira/browse/NETBEANS-2296
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Eric Brosseau
>Priority: Critical
>
> 
>   2019-03-22T10:24:17
>   1553275457605
>   472
>   700
>   71
>   Snapshot statistics
>   1553275423912
>   Samples
>   3266
>   Average
>   10.31043469075323
>   Minimum
>   4.7316
>   Maximum
>   15.6541
>   Std. deviation
>   0.599752771286342
> 



--
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-53) PHP7.1 Setter/Getter code generation static types

2019-08-13 Thread ASF GitHub Bot (JIRA)


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

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

> PHP7.1 Setter/Getter code generation static types
> -
>
> Key: NETBEANS-53
> URL: https://issues.apache.org/jira/browse/NETBEANS-53
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Reporter: Ádám Turcsán
>Assignee: Junichi Yamamoto
>Priority: Major
>  Labels: pull-request-available
>
> The Insert code... / Setters/getters... functionality works great and uses 
> the docblock typehints as well but with static types (int, string) it 
> generates the setters and getter without argument types or return types.
> It would be great if it could work with static types as well.



--
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-2296) Low performance

2019-08-13 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-2296:
--
Environment: (was:  UI_USER_CONFIGURATION
  UI_USER_CONFIGURATION
  org.netbeans.modules.uihandler.Bundle
  Windows 10, 10.0, amd64
  OpenJDK 64-Bit Server VM, 11.0.2+9, OpenJDK Runtime Environment, 
11.0.2+9
  Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)
  
  LowPerformance took 43693 ms.
  Please provide a description of the problem or the steps to 
reproduce
  *
)

> Low performance
> ---
>
> Key: NETBEANS-2296
> URL: https://issues.apache.org/jira/browse/NETBEANS-2296
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Eric Brosseau
>Priority: Critical
>
> 
>   2019-03-22T10:24:17
>   1553275457605
>   472
>   700
>   71
>   Snapshot statistics
>   1553275423912
>   Samples
>   3266
>   Average
>   10.31043469075323
>   Minimum
>   4.7316
>   Maximum
>   15.6541
>   Std. deviation
>   0.599752771286342
> 



--
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-2973) Code analysis tools settings in project

2019-08-13 Thread JIRA


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

Tomáš Procházka commented on NETBEANS-2973:
---

I'm affraid this setting is not saved in the project.

Intention is to be able to use code analysis tools in similar way as test tools 
- with Codeception or PHPUnit you can just select Run - Test file and correct 
version of test tool for project is run.

Same way it is great help to be able select file in project a run Inspect. Code 
analysis tool for project is run and configuration is picked from configuration 
file by the tool itself.

> Code analysis tools settings in project
> ---
>
> Key: NETBEANS-2973
> URL: https://issues.apache.org/jira/browse/NETBEANS-2973
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis, php - Project
>Affects Versions: 11.1
>Reporter: Tomáš Procházka
>Priority: Minor
> Attachments: netbeans-php-code-analysis-configuration.png
>
>
> Currently settings of Code Sniffer/Coding Stnadards Fixer/Mess 
> Detector/PHPStan is only possible globaly in Tools - Options - PHP - Code 
> Analysis.
> Having ability to set Code Analysis in project in same way as it is possible 
> for testing tools (Codeception, PHPUnit) would be great help when working on 
> different projects with these tools installed in project directory using 
> composer.
>  



--
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-2973) Code analysis tools settings in project

2019-08-13 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2973:


Add it as a new issue: https://issues.apache.org/jira/browse/NETBEANS-2981

> Code analysis tools settings in project
> ---
>
> Key: NETBEANS-2973
> URL: https://issues.apache.org/jira/browse/NETBEANS-2973
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis, php - Project
>Affects Versions: 11.1
>Reporter: Tomáš Procházka
>Priority: Minor
> Attachments: netbeans-php-code-analysis-configuration.png
>
>
> Currently settings of Code Sniffer/Coding Stnadards Fixer/Mess 
> Detector/PHPStan is only possible globaly in Tools - Options - PHP - Code 
> Analysis.
> Having ability to set Code Analysis in project in same way as it is possible 
> for testing tools (Codeception, PHPUnit) would be great help when working on 
> different projects with these tools installed in project directory using 
> composer.
>  



--
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-2982) UndoRedo class causes ArrayIndexOutOfBoundsException

2019-08-13 Thread Markus Sunela (JIRA)
Markus Sunela created NETBEANS-2982:
---

 Summary: UndoRedo class causes ArrayIndexOutOfBoundsException
 Key: NETBEANS-2982
 URL: https://issues.apache.org/jira/browse/NETBEANS-2982
 Project: NetBeans
  Issue Type: Bug
  Components: platform - Window System
Affects Versions: 11.1, 11.0, 10.0
Reporter: Markus Sunela


After a lot of UndoableEdits have been added to an UndoManager in a platform 
application, the UI sometimes starts to show the exception as it tries to 
update the name of the next undoable edit for the menus:

 
{code:java}
java.lang.ArrayIndexOutOfBoundsException: 100 >= 100
at java.base/java.util.Vector.elementAt(Vector.java:496)
at org.openide.awt.UndoRedo$Manager.editToBeUndone(UndoRedo.java:403)
at org.openide.awt.UndoRedo$Manager.canUndo(UndoRedo.java:224)
at 
org.openide.awt.UndoRedo$Manager.getUndoPresentationName(UndoRedo.java:501)
at org.openide.actions.UndoRedoAction.getName(UndoRedoAction.java:171)
at org.openide.actions.UndoRedoAction.run(UndoRedoAction.java:139)
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)
{code}
 

 

This seems to be due to incorrect handling of indexOfNextAdd in the 
UndoRedo.java 
([https://github.com/apache/netbeans/blob/master/platform/openide.awt/src/org/openide/awt/UndoRedo.java)].
 The indexOfNextAdd can be larger (more than by one) than the length of the 
edits Vector, and especially in editToBeUndone the edits Vector is directly 
accessed at indexOfNextAdd without any bounds checking:

 
{code:java}
@Override
protected UndoableEdtit editToBeUndone() {
int i = indexOfNextAdd;
while (i > 0) {
UndoableEdit edit = edits.elementAt(--i);
if (edit.isSignificant()) {
return edit;
}
}

return null;
}
{code}
For example editToBeRedone returns null in the case indexOfNextAdd >= 
edit.size().

 

I assume the root cause to be the trimEdits method incorrectly updating the 
indexOfNextAdd, possibly due to a negative value being passed from trimToLimits:
{code:java}
if (keepFrom < 0) {
keepTo -= keepFrom;
keepFrom = 0;
}
if (keepTo >= size) {
int delta = size - keepTo - 1;
keepTo += delta;
keepFrom += delta;
}
{code}
At least, the latter if doesn't ensure non-negative values for either keepTo or 
keepFrom, which could cause the bug.



--
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-2971) Missing spaces in anonymous function declaration

2019-08-13 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto commented on NETBEANS-2971:


Thank you for reporting it.

> Missing spaces in anonymous function declaration
> 
>
> Key: NETBEANS-2971
> URL: https://issues.apache.org/jira/browse/NETBEANS-2971
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Formatting  Indentation
>Affects Versions: 11.1
>Reporter: Tomáš Procházka
>Assignee: Junichi Yamamoto
>Priority: Minor
>
> Formatting arguments of anonymous function is not consistent with formatting 
> of regular functions.
> # In PHP project properties set Formatting - Use project specific options.
> # Language: PHP, Category: Spaces
> # Check mark Within Parentheses - Method / Function Declaration
> # Format code
> Actual result:
> {code:php}
> function fn( $a ) {
> return $a;
> }
> $func = function ($a) use ($x) {
> return $a + $x;
> };
> {code}
> Expeceted result:
> {code:php}
> function fn( $a ) {
> return $a;
> }
> $func = function ( $a ) use ( $x ) {
> return $a + $x;
> };
> {code}



--
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-2981) Add script paths to code analysis customizer panels

2019-08-13 Thread Junichi Yamamoto (JIRA)
Junichi Yamamoto created NETBEANS-2981:
--

 Summary: Add script paths to code analysis customizer panels
 Key: NETBEANS-2981
 URL: https://issues.apache.org/jira/browse/NETBEANS-2981
 Project: NetBeans
  Issue Type: Improvement
  Components: php - Code Analysis
Affects Versions: 11.1
Reporter: Junichi Yamamoto
Assignee: Junichi Yamamoto


Currently, scripts of common options(Tools > Options > PHP > Code Analysis) are 
used when customizer settings are used.

So, add script path text fields to customizer panels for using scripts per 
configuration.

 



--
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-2971) Missing spaces in anonymous function declaration

2019-08-13 Thread ASF GitHub Bot (JIRA)


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

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

> Missing spaces in anonymous function declaration
> 
>
> Key: NETBEANS-2971
> URL: https://issues.apache.org/jira/browse/NETBEANS-2971
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Formatting  Indentation
>Affects Versions: 11.1
>Reporter: Tomáš Procházka
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
>
> Formatting arguments of anonymous function is not consistent with formatting 
> of regular functions.
> # In PHP project properties set Formatting - Use project specific options.
> # Language: PHP, Category: Spaces
> # Check mark Within Parentheses - Method / Function Declaration
> # Format code
> Actual result:
> {code:php}
> function fn( $a ) {
> return $a;
> }
> $func = function ($a) use ($x) {
> return $a + $x;
> };
> {code}
> Expeceted result:
> {code:php}
> function fn( $a ) {
> return $a;
> }
> $func = function ( $a ) use ( $x ) {
> return $a + $x;
> };
> {code}



--
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-2981) Add script paths to code analysis customizer panels

2019-08-13 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto updated NETBEANS-2981:
---
Description: 
Currently, scripts of common options(Tools > Options > PHP > Code Analysis) are 
used when customizer settings are used.

So, add script path text fields to customizer panels for using scripts per 
configuration.

That way, we can use scripts which are installed via composer of projects.

 

  was:
Currently, scripts of common options(Tools > Options > PHP > Code Analysis) are 
used when customizer settings are used.

So, add script path text fields to customizer panels for using scripts per 
configuration.

 


> Add script paths to code analysis customizer panels
> ---
>
> Key: NETBEANS-2981
> URL: https://issues.apache.org/jira/browse/NETBEANS-2981
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Affects Versions: 11.1
>Reporter: Junichi Yamamoto
>Assignee: Junichi Yamamoto
>Priority: Major
>
> Currently, scripts of common options(Tools > Options > PHP > Code Analysis) 
> are used when customizer settings are used.
> So, add script path text fields to customizer panels for using scripts per 
> configuration.
> That way, we can use scripts which are installed via composer of projects.
>  



--
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-2978) Assertion error in code completion in Java code

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-2978:
--
Description: 
The exception occurs after selecting an item from the provided "Code 
completion" list and nothing is inserted into code. It's thrown quite often, 
but it's not entirely clear under what conditions this may happen. Source code 
level does not matter.
 JDK 11.0.4; OpenJDK 64-Bit Server VM

{noformat}
java.lang.AssertionError
at com.sun.tools.javac.util.Assert.error(Assert.java:155)
at com.sun.tools.javac.util.Assert.check(Assert.java:46)
at com.sun.tools.javac.code.Scope$ScopeImpl.dble(Scope.java:410)
at com.sun.tools.javac.code.Scope$ScopeImpl.enter(Scope.java:433)
at 
com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:480)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1187)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:968)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:776)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1353)
at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:672)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:752)
at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:892)
at 
org.netbeans.api.java.source.TreeUtilities.attributeTree(TreeUtilities.java:822)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.type(JavaCodeTemplateProcessor.java:718)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.staticInstanceOf(JavaCodeTemplateProcessor.java:583)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:404)
at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
at 
org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
at 
org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
at 
org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
at 
org.netbeans.modules.editor.java.JavaCompletionItem.process(JavaCompletionItem.java:566)
at 
org.netbeans.modules.editor.java.JavaCompletionItem.defaultAction(JavaCompletionItem.java:286)
at 
org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
at 
org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
at 
java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
at 
java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
at java.desktop/java.awt.Component.processEvent(Component.java:6409)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at 
java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at 

[jira] [Updated] (NETBEANS-1446) No "Visual Debugging" options

2019-08-13 Thread Petr Miksik (JIRA)


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

Petr Miksik updated NETBEANS-1446:
--
Affects Version/s: 11.0
   11.1

> No "Visual Debugging" options
> -
>
> Key: NETBEANS-1446
> URL: https://issues.apache.org/jira/browse/NETBEANS-1446
> Project: NetBeans
>  Issue Type: Bug
>  Components: debugger - Java
>Affects Versions: 10.0, 11.0, 11.1
>Reporter: Aldo Brucale
>Priority: Major
>
> *Tools > Options*, select *Java* category, click *Java Debugger* and select 
> *Visual Debugging*. The right part of the dialog still shows the previously 
> selected category.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev commented on NETBEANS-2940:
-

In some time "Check for external changes " disapired. Now all work just fine. I 
will checking further...

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler6409512410806567513.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



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



[netbeans] branch master updated: [NETBEANS-2971] Missing spaces in anonymous function declaration

2019-08-13 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 829a5b9  [NETBEANS-2971] Missing spaces in anonymous function 
declaration
 new 1c0f22c  Merge pull request #1424 from 
junichi11/netbeans-2971-missing-spaces-anon-func
829a5b9 is described below

commit 829a5b98b427cf4bf4515b79e7d6330a2151dab4
Author: Junichi Yamamoto 
AuthorDate: Wed Aug 14 11:09:50 2019 +0900

[NETBEANS-2971] Missing spaces in anonymous function declaration
---
 .../modules/php/editor/indent/FormatVisitor.java   |  6 +++-
 .../formatting/spaces/netbeans2971_01.php  | 31 +
 .../spaces/netbeans2971_01.php.formatted   | 32 ++
 .../formatting/spaces/netbeans2971_02.php  | 31 +
 .../spaces/netbeans2971_02.php.formatted   | 32 ++
 .../php/editor/indent/PHPFormatterSpacesTest.java  | 13 +
 6 files changed, 144 insertions(+), 1 deletion(-)

diff --git 
a/php/php.editor/src/org/netbeans/modules/php/editor/indent/FormatVisitor.java 
b/php/php.editor/src/org/netbeans/modules/php/editor/indent/FormatVisitor.java
index 151733b..7fef1e6 100644
--- 
a/php/php.editor/src/org/netbeans/modules/php/editor/indent/FormatVisitor.java
+++ 
b/php/php.editor/src/org/netbeans/modules/php/editor/indent/FormatVisitor.java
@@ -1945,6 +1945,9 @@ public class FormatVisitor extends DefaultVisitor {
 tokens.add(new 
FormatToken(FormatToken.Kind.WHITESPACE_BEFORE_METHOD_DEC_PAREN, ts.offset()));
 tokens.add(new FormatToken(FormatToken.Kind.TEXT, 
ts.offset(), ts.token().text().toString()));
 tokens.add(new 
FormatToken(FormatToken.Kind.WHITESPACE_WITHIN_METHOD_DECL_PARENS, ts.offset() 
+ ts.token().length()));
+} else if (parent instanceof LambdaFunctionDeclaration) {
+tokens.add(new FormatToken(FormatToken.Kind.TEXT, 
ts.offset(), ts.token().text().toString()));
+tokens.add(new 
FormatToken(FormatToken.Kind.WHITESPACE_WITHIN_METHOD_DECL_PARENS, ts.offset() 
+ ts.token().length()));
 } else if (parent instanceof FunctionInvocation || parent 
instanceof MethodInvocation || parent instanceof ClassInstanceCreation) {
 tokens.add(new 
FormatToken(FormatToken.Kind.WHITESPACE_BEFORE_METHOD_CALL_PAREN, ts.offset()));
 tokens.add(new FormatToken(FormatToken.Kind.TEXT, 
ts.offset(), ts.token().text().toString()));
@@ -1980,7 +1983,8 @@ public class FormatVisitor extends DefaultVisitor {
 if (isAnonymousClass(parent)) {
 tokens.add(new 
FormatToken(FormatToken.Kind.WHITESPACE_WITHIN_ANONYMOUS_CLASS_PARENS, 
ts.offset()));
 tokens.add(new FormatToken(FormatToken.Kind.TEXT, 
ts.offset(), ts.token().text().toString()));
-} else if (parent instanceof FunctionDeclaration || parent 
instanceof MethodDeclaration || parent instanceof ArrowFunctionDeclaration) {
+} else if (parent instanceof FunctionDeclaration || parent 
instanceof MethodDeclaration
+|| parent instanceof LambdaFunctionDeclaration || 
parent instanceof ArrowFunctionDeclaration) {
 tokens.add(new 
FormatToken(FormatToken.Kind.WHITESPACE_WITHIN_METHOD_DECL_PARENS, 
ts.offset()));
 tokens.add(new FormatToken(FormatToken.Kind.TEXT, 
ts.offset(), ts.token().text().toString()));
 } else if (parent instanceof FunctionInvocation || parent 
instanceof MethodInvocation || parent instanceof ClassInstanceCreation) {
diff --git 
a/php/php.editor/test/unit/data/testfiles/formatting/spaces/netbeans2971_01.php 
b/php/php.editor/test/unit/data/testfiles/formatting/spaces/netbeans2971_01.php
new file mode 100644
index 000..51b3932
--- /dev/null
+++ 
b/php/php.editor/test/unit/data/testfiles/formatting/spaces/netbeans2971_01.php
@@ -0,0 +1,31 @@
+http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+$anon1 = function ($test) use ($lexicalVar) {
+return $test . $lexicalVar;
+};
+
+$anon2 = function (int $test) use ($lexicalVar) {
+return $test . $lexicalVar;
+};
+
+$anon3 = function (?int $test) use ($lexicalVar): string {
+return $test . $lexicalVar;
+};
diff --git 
a/php/php.editor/test/unit/data/testfiles/formatting/spaces/netbeans2971_01.php.formatted
 

[jira] [Commented] (NETBEANS-2956) NullPointerException during Import Classes operation after pasting Java code into Editor

2019-08-13 Thread ARUNAVA SINHA (JIRA)


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

ARUNAVA SINHA commented on NETBEANS-2956:
-

Are you using NB with nb-javac plugin installed? Please let me know the problem 
happen with or without nb-javac plugin.

Also I would be great if you can add a sample project as an attachment to 
reproduce the issue.

> NullPointerException during Import Classes operation after pasting Java code 
> into Editor
> 
>
> Key: NETBEANS-2956
> URL: https://issues.apache.org/jira/browse/NETBEANS-2956
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Source
>Affects Versions: 11.0, 11.1
> Environment: Project is being built using OpenJDK 12
> Same on Windows 10 and Linux
> Same when Netbeans is running on either JDK 8 or OpenJDK 12
> Same on Netbeans 11.0 and Netbeans 11.1
> Same with new built-in Gradle plugin, or old Gradle Support plugin 2.0.0
> Gradle 5.5
>Reporter: Travis
>Assignee: ARUNAVA SINHA
>Priority: Major
>
> I'm building my Java project using OpenJDK 12 and Netbeans 11.1.  Everything 
> was working fine with the same project when it was built on JDK 8.  We 
> recently updated to JDK 12 and this problem appeared immediately at that time.
>  
> The problem happens reliably whenever I copy-paste code from one file to 
> another, and the code requires several imports to be added to the destination 
> file.  This causes the "Import Classes" dialog to appear.  When I hit "OK" 
> button there, I immediately get the NullPointerException shown below.  After 
> the exception, the code is still pasted, but the necessary import lines do 
> not get added.  Furthermore, manually running "Source:Fix Imports..." 
> afterward also fails to add the necessary imports.
> This bug makes the IDE pretty unusable for ongoing development work.  This is 
> forcing me and others on my team, sadly, to use a different IDE for now, as 
> we have found no workaround yet.
>  
> java.lang.NullPointerException
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:334)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:72)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:379)
>  at com.sun.tools.javac.comp.Resolve.isAccessible(Resolve.java:441)
>  at 
> org.netbeans.lib.nbjavac.services.NBResolve.isAccessible(NBResolve.java:66)
>  at com.sun.tools.javac.api.JavacTrees.isAccessible(JavacTrees.java:913)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.getImportedElement(GeneratorUtilities.java:1826)
>  at 
> org.netbeans.api.java.source.GeneratorUtilities.addImports(GeneratorUtilities.java:1173)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:159)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$1.run(ClipboardHandler.java:126)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:673)
>  at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:663)
>  at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:502)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
>  at 
> org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>  at 
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>  at 
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>  at 
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>  at 
> org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
>  at 
> org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:452)
>  at 
> org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)
>  at 
> org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:684)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.doImport(ClipboardHandler.java:126)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler.access$100(ClipboardHandler.java:113)
>  at 
> org.netbeans.modules.java.editor.imports.ClipboardHandler$4$1.run(ClipboardHandler.java:216)

[jira] [Commented] (NETBEANS-1748) JUnit 5 there is no posibilities how run Repeated test method

2019-08-13 Thread JIRA


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

Tomáš Poledný commented on NETBEANS-1748:
-

It works right now. There were some fixes for JUnit 5 so maybe it was fixed 
there. Thanks

> JUnit 5 there is no posibilities how run Repeated test method 
> --
>
> Key: NETBEANS-1748
> URL: https://issues.apache.org/jira/browse/NETBEANS-1748
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 10.0
>Reporter: Tomáš Poledný
>Assignee: John McDonnell
>Priority: Trivial
>
> JUnit 5 has 
> [RepeatedTest|https://junit.org/junit5/docs/current/user-guide/#writing-tests-repeated-tests].
>  There is no posibilities how run method with annotation RepeatedTest (Run 
> Focused Test Method). Error message is: No test method found.  RepeatedTest 
> methods are running after Test File only.
> Example:
> {code:java}
> class SomeRepeatedTest {
>   @RepeatedTest(10)
>   void repeatedTestTest() {
>   System.out.println("repeatedTest");
>   }
> }
> {code}
> I am not able to run test method repeatedTestTest.



--
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] [Resolved] (NETBEANS-1748) JUnit 5 there is no posibilities how run Repeated test method

2019-08-13 Thread JIRA


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

Tomáš Poledný resolved NETBEANS-1748.
-
Resolution: Fixed

> JUnit 5 there is no posibilities how run Repeated test method 
> --
>
> Key: NETBEANS-1748
> URL: https://issues.apache.org/jira/browse/NETBEANS-1748
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - JUnit
>Affects Versions: 10.0
>Reporter: Tomáš Poledný
>Assignee: John McDonnell
>Priority: Trivial
>
> JUnit 5 has 
> [RepeatedTest|https://junit.org/junit5/docs/current/user-guide/#writing-tests-repeated-tests].
>  There is no posibilities how run method with annotation RepeatedTest (Run 
> Focused Test Method). Error message is: No test method found.  RepeatedTest 
> methods are running after Test File only.
> Example:
> {code:java}
> class SomeRepeatedTest {
>   @RepeatedTest(10)
>   void repeatedTestTest() {
>   System.out.println("repeatedTest");
>   }
> }
> {code}
> I am not able to run test method repeatedTestTest.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 6:56 AM:
--

But for now on current build "Apache NetBeans IDE Dev (Build 
netbeans-linux-1190-on-20190804)"
Get Some new portion of Eceptions

[^2019-08-13-09-00-java.lang.NullPointerException.txt]  
[^2019-08-13-09-00-Eception-IDE-log.txt] 
Snapshot:  [^selfsampler7754563681117566493.npss] 

Just open about 21 tabs with projects code.


was (Author: uran1980):
But for now on current build "Apache NetBeans IDE Dev (Build 
netbeans-linux-1190-on-20190804)"
Get Some new portion of Eceptions

* [^2019-08-13-09-00-java.lang.NullPointerException.txt]  
* [^2019-08-13-09-00-Eception-IDE-log.txt] 
Snapshot:  [^selfsampler7754563681117566493.npss] 

Just open about 21 tabs with projects code.

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev commented on NETBEANS-2940:
-

But for now on current build "Apache NetBeans IDE Dev (Build 
netbeans-linux-1190-on-20190804)"
Get Some new portion of Eceptions

* [^2019-08-13-09-00-java.lang.NullPointerException.txt]  
* [^2019-08-13-09-00-Eception-IDE-log.txt] 
Snapshot:  [^selfsampler7754563681117566493.npss] 

Just open about 21 tabs with projects code.

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 6:57 AM:
--

But for now on current build "Apache NetBeans IDE Dev (Build 
netbeans-linux-1190-on-20190804)"
Get Some new portion of Exceptions:

[^2019-08-13-09-00-java.lang.NullPointerException.txt]  
[^2019-08-13-09-00-Eception-IDE-log.txt] 
Snapshot:  [^selfsampler7754563681117566493.npss] 

Just open about 21 tabs with projects code.


was (Author: uran1980):
But for now on current build "Apache NetBeans IDE Dev (Build 
netbeans-linux-1190-on-20190804)"
Get Some new portion of Eceptions

[^2019-08-13-09-00-java.lang.NullPointerException.txt]  
[^2019-08-13-09-00-Eception-IDE-log.txt] 
Snapshot:  [^selfsampler7754563681117566493.npss] 

Just open about 21 tabs with projects code.

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 7:07 AM:
--

But for now on current build "Apache NetBeans IDE Dev (Build 
netbeans-linux-1190-on-20190804)"
Get Some new portion of Exceptions:

[^2019-08-13-09-00-java.lang.NullPointerException.txt]  
[^2019-08-13-09-00-Eception-IDE-log.txt] 
Snapshot:  [^selfsampler7754563681117566493.npss] 

Just open about 21 tabs with projects code and in some time get Exeception 
notice in notifications.


was (Author: uran1980):
But for now on current build "Apache NetBeans IDE Dev (Build 
netbeans-linux-1190-on-20190804)"
Get Some new portion of Exceptions:

[^2019-08-13-09-00-java.lang.NullPointerException.txt]  
[^2019-08-13-09-00-Eception-IDE-log.txt] 
Snapshot:  [^selfsampler7754563681117566493.npss] 

Just open about 21 tabs with projects code.

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 7:41 AM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```




was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```
Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```



> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2970) Lombok not working correctly in NetBeans 11.0 and 11.1

2019-08-13 Thread JIRA


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

Przemysław Sadowski edited comment on NETBEANS-2970 at 8/13/19 7:55 AM:


Error occurs all the time, for example when I load NetBeans with this project 
open. If I delete this error from notifications, I can quickly trigger it by 
closing and reopening class SomeValueClass from project explorer.

I use Windows 10 version 1903, tried different JDKs
 - Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-26, 
mixed mode) (java 1.8.0_181 with DCEVM patch)
 - OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

 - OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)

Problem occurs on both my machines, that except both running Windows 10 are 
very different hardware-wise. I'm attaching new log [^log_v2.zip] from my work 
machine, with NetBeans 11.1 running on freshly downloaded OpenJdk 12.

BTW I'm Java programmer for a living, so you can ask me any technical questions 
about my environment or ask me to perform some tests if needed :),


was (Author: psadowski):
Error occurs all the time, for example when I load NetBeans with this project 
open. If I delete this error from notifications, I can quickly trigger it by 
closing and reopening class SomeValueClass from project explorer.

I use Windows 10 version 1903, tried different JDKs

- Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-26, mixed 
mode) (java 1.8.0_181 with 
DCEVM patch)
- OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

- OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)

Problem occurs on both my machines, that except both running Windows 10 are 
very different hardware-wise. I'm attaching new log [^log_v2.zip] from my work 
machine, with NetBeans 11.1 running on freshly downloaded OpenJdk 12.

BTW I'm Java programmer for a living, so you can ask me any technical questions 
about my environment or ask me to perform some tests if needed :),

> Lombok not working correctly in NetBeans 11.0 and 11.1
> --
>
> Key: NETBEANS-2970
> URL: https://issues.apache.org/jira/browse/NETBEANS-2970
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
>Reporter: Przemysław Sadowski
>Priority: Major
> Attachments: LombokTest.zip, log.zip, log_v2.zip
>
>
> Many classes using Lombok in project I'm working on at work fail to be 
> correctly processed by NetBeans. I narrowed it down to cases in attached 
> exaple project.
> When  using Lombok 1.6.22, builder methods are not visible in editor making a 
> lot of error notes in editor.
> When using Lombok 1.8.8, builder method works but there are errors with 
> parsing some classes, example:
> {code:java}
> @Builder
> public class SomeValueClass {
> @Singular
> private Map values;
> }{code}
> NetBeans fails with exception when trying to parse this class, and this class 
> is not visible as class to NetBeans (can't open it using "Go To Type" for 
> example). if I change byte[] to any non-primitive type it works. Using 
> primitive types (byte, boolean, int) fails.
> I'm attaching content of log directory from NetBeans, with bug related dump 
> and exception in it.
> Attached example project seem to be working correctly in NetBeans 8.2.



--
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-2970) Lombok not working correctly in NetBeans 11.0 and 11.1

2019-08-13 Thread JIRA


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

Przemysław Sadowski commented on NETBEANS-2970:
---

Error occurs all the time, for example when I load NetBeans with this project 
open. If I delete this error from notifications, I can quickly trigger it by 
closing and reopening class SomeValueClass from project explorer.

I use Windows 10 version 1903, tried different JDKs

- Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-26, mixed 
mode) (java 1.8.0_181 with 
DCEVM patch)
- OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

- OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)

Problem occurs on both my machines, that except both running Windows 10 are 
very different hardware-wise. I'm attaching new log [^log_v2.zip] from my work 
machine, with NetBeans 11.1 running on freshly downloaded OpenJdk 12.

BTW I'm Java programmer for a living, so you can ask me any technical questions 
about my environment or ask me to perform some tests if needed :),

> Lombok not working correctly in NetBeans 11.0 and 11.1
> --
>
> Key: NETBEANS-2970
> URL: https://issues.apache.org/jira/browse/NETBEANS-2970
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
>Reporter: Przemysław Sadowski
>Priority: Major
> Attachments: LombokTest.zip, log.zip, log_v2.zip
>
>
> Many classes using Lombok in project I'm working on at work fail to be 
> correctly processed by NetBeans. I narrowed it down to cases in attached 
> exaple project.
> When  using Lombok 1.6.22, builder methods are not visible in editor making a 
> lot of error notes in editor.
> When using Lombok 1.8.8, builder method works but there are errors with 
> parsing some classes, example:
> {code:java}
> @Builder
> public class SomeValueClass {
> @Singular
> private Map values;
> }{code}
> NetBeans fails with exception when trying to parse this class, and this class 
> is not visible as class to NetBeans (can't open it using "Go To Type" for 
> example). if I change byte[] to any non-primitive type it works. Using 
> primitive types (byte, boolean, int) fails.
> I'm attaching content of log directory from NetBeans, with bug related dump 
> and exception in it.
> Attached example project seem to be working correctly in NetBeans 8.2.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 7:43 AM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build my self




was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```



> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 7:48 AM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build by my self

```-Dpermit.jdk8.builds=true ``` - does not help.



was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build by my self

```-Dpermit.jdk8.builds=true ``` - does not halp.


> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 7:48 AM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build by my self

```ant -Dpermit.jdk8.builds=true ``` - does not help.



was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build by my self

```-Dpermit.jdk8.builds=true ``` - does not help.


> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 7:47 AM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build by my self




was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build my self



> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 7:47 AM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build by my self

```-Dpermit.jdk8.builds=true ``` - does not halp.



was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```


Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```

Or tell me what I need to do to solve this error and make build by my self



> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev commented on NETBEANS-2940:
-

ok, will try...

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev updated NETBEANS-2940:

Attachment: 2019-08-13-09-00-java.lang.NullPointerException.txt

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2970) Lombok not working correctly in NetBeans 11.0 and 11.1

2019-08-13 Thread JIRA


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

Przemysław Sadowski updated NETBEANS-2970:
--
Attachment: log_v2.zip

> Lombok not working correctly in NetBeans 11.0 and 11.1
> --
>
> Key: NETBEANS-2970
> URL: https://issues.apache.org/jira/browse/NETBEANS-2970
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
>Reporter: Przemysław Sadowski
>Priority: Major
> Attachments: LombokTest.zip, log.zip, log_v2.zip
>
>
> Many classes using Lombok in project I'm working on at work fail to be 
> correctly processed by NetBeans. I narrowed it down to cases in attached 
> exaple project.
> When  using Lombok 1.6.22, builder methods are not visible in editor making a 
> lot of error notes in editor.
> When using Lombok 1.8.8, builder method works but there are errors with 
> parsing some classes, example:
> {code:java}
> @Builder
> public class SomeValueClass {
> @Singular
> private Map values;
> }{code}
> NetBeans fails with exception when trying to parse this class, and this class 
> is not visible as class to NetBeans (can't open it using "Go To Type" for 
> example). if I change byte[] to any non-primitive type it works. Using 
> primitive types (byte, boolean, int) fails.
> I'm attaching content of log directory from NetBeans, with bug related dump 
> and exception in it.
> Attached example project seem to be working correctly in NetBeans 8.2.



--
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-2970) Lombok not working correctly in NetBeans 11.0 and 11.1

2019-08-13 Thread JIRA


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

Przemysław Sadowski commented on NETBEANS-2970:
---

Also checked at another machine at work, with Linux, the same error occurs. 
Information about that other machine environment, copied from NetBeans 
messages.log:

System Info: 
 Product Version = Apache NetBeans IDE 11.0 (Build 20190612-unknown-revn)
 Operating System = Linux version 4.19.62-1-MANJARO running on amd64
 Java; VM; Vendor = 1.8.0_202b08; Dynamic Code Evolution 64-Bit Server VM 
25.202b08-bdcevm8u20208; AdoptOpenJdk
 Runtime = OpenJDK Runtime Environment 1.8.0_202b08-dcevm8u202b08

> Lombok not working correctly in NetBeans 11.0 and 11.1
> --
>
> Key: NETBEANS-2970
> URL: https://issues.apache.org/jira/browse/NETBEANS-2970
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.0, 11.1
>Reporter: Przemysław Sadowski
>Priority: Major
> Attachments: LombokTest.zip, log.zip, log_v2.zip
>
>
> Many classes using Lombok in project I'm working on at work fail to be 
> correctly processed by NetBeans. I narrowed it down to cases in attached 
> exaple project.
> When  using Lombok 1.6.22, builder methods are not visible in editor making a 
> lot of error notes in editor.
> When using Lombok 1.8.8, builder method works but there are errors with 
> parsing some classes, example:
> {code:java}
> @Builder
> public class SomeValueClass {
> @Singular
> private Map values;
> }{code}
> NetBeans fails with exception when trying to parse this class, and this class 
> is not visible as class to NetBeans (can't open it using "Go To Type" for 
> example). if I change byte[] to any non-primitive type it works. Using 
> primitive types (byte, boolean, int) fails.
> I'm attaching content of log directory from NetBeans, with bug related dump 
> and exception in it.
> Attached example project seem to be working correctly in NetBeans 8.2.



--
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-2438) Groovy project

2019-08-13 Thread Walter Kruse (JIRA)


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

Walter Kruse updated NETBEANS-2438:
---
Fix Version/s: 11.2

> Groovy project
> --
>
> Key: NETBEANS-2438
> URL: https://issues.apache.org/jira/browse/NETBEANS-2438
> Project: NetBeans
>  Issue Type: New Feature
>  Components: apisupport - Project
>Affects Versions: 11.0
>Reporter: Walter Kruse
>Priority: Major
> Fix For: 12.0, 11.2
>
>
> As a test automator using Groovy scripting, when I create a new project I 
> want to be able to:
> -create a Groovy project (with or without Maven/Ivy)
> -that will be able to run a classless script
> -execute @Grab statements to collect jars upon executing
> Test case:
> {{groovy.grape.Grape.grab(group:'org.apache.commons', module:'commons-lang3', 
> version:'3.3.2'}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A 
> Silly String With Words'}}
> or:
> {{@Grab(group='org.apache.commons', module='commons-lang3', version='3.3.2')}}
> {{def s = "A silly string with words"}}
> {{assert org.apache.commons.lang3.text.WordUtils.capitalizeFully(s) == 'A 
> Silly String With Words'}}
> At the moment I am using [~GeertjanWielenga]'s Pure Groovy Project from 
> [http://plugins.netbeans.org/plugin/49928/pure-groovy-project]
>  
>  



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev updated NETBEANS-2940:

Attachment: 2019-08-13-09-00-Eception-IDE-log.txt

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev updated NETBEANS-2940:

Attachment: selfsampler7754563681117566493.npss

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev commented on NETBEANS-2940:
-

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

[~lkishalmi] can you provide build like [~GeertjanWielenga] provide 
```
Latest build is here: 
https://builds.apache.org/job/netbeans-linux/1190/artifact/nbbuild/
```
Couse I can not build from cloned source code due to error:
```
This is forbidden as it may lead to accidental usage of JDK 9+ APIs.
Either run Ant with JDK 8, or set nbjdk.home= in 
/home/uran1980/netbeans-11.1-test/nbbuild/user.build.properties
(can be set from IDE by opening a module project's Properties dialog and 
picking the right Java Platform in Libraries).
You can alternatively set this property in /home/uran1980/.nbbuild.properties 
to affect all checkouts on this machine.
If you are sure you want to build with JDK 9+ anyway, use: 
-Dpermit.jdk9.builds=true
```



> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2972) inspect and transform contains wrong refactoring "passing zero element array.."

2019-08-13 Thread Carsten Hammer (JIRA)


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

Carsten Hammer updated NETBEANS-2972:
-
Component/s: editor - Refactoring

> inspect and transform contains wrong refactoring "passing zero element 
> array.."
> ---
>
> Key: NETBEANS-2972
> URL: https://issues.apache.org/jira/browse/NETBEANS-2972
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring
>Affects Versions: 11.1
>Reporter: Carsten Hammer
>Priority: Major
>
> "Passing zero element array to Collection.toArray may affect performance"
> This refactoring decreases performance according to 
> [https://shipilev.net/blog/2016/arrays-wisdom-ancients/]
> On recent VMs, collection.toArray(new T[0]) is faster than 
> collection.toArray(new T[collection.size()]). Since it is also more readable, 
> it should now be the preferred way of collection to array conversion.



--
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-2972) inspect and transform contains wrong refactoring "passing zero element array.."

2019-08-13 Thread Carsten Hammer (JIRA)


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

Carsten Hammer updated NETBEANS-2972:
-
Affects Version/s: 11.1

> inspect and transform contains wrong refactoring "passing zero element 
> array.."
> ---
>
> Key: NETBEANS-2972
> URL: https://issues.apache.org/jira/browse/NETBEANS-2972
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
>Reporter: Carsten Hammer
>Priority: Major
>
> "Passing zero element array to Collection.toArray may affect performance"
> This refactoring decreases performance according to 
> [https://shipilev.net/blog/2016/arrays-wisdom-ancients/]
> On recent VMs, collection.toArray(new T[0]) is faster than 
> collection.toArray(new T[collection.size()]). Since it is also more readable, 
> it should now be the preferred way of collection to array conversion.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2940:
-

ant -Dpermit.jdk9.builds=true

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2972) inspect and transform contains wrong refactoring "passing zero element array.."

2019-08-13 Thread Carsten Hammer (JIRA)


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

Carsten Hammer updated NETBEANS-2972:
-
Component/s: java - Refactoring

> inspect and transform contains wrong refactoring "passing zero element 
> array.."
> ---
>
> Key: NETBEANS-2972
> URL: https://issues.apache.org/jira/browse/NETBEANS-2972
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Refactoring, java - Refactoring
>Affects Versions: 11.1
>Reporter: Carsten Hammer
>Priority: Major
>
> "Passing zero element array to Collection.toArray may affect performance"
> This refactoring decreases performance according to 
> [https://shipilev.net/blog/2016/arrays-wisdom-ancients/]
> On recent VMs, collection.toArray(new T[0]) is faster than 
> collection.toArray(new T[collection.size()]). Since it is also more readable, 
> it should now be the preferred way of collection to array conversion.



--
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-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev commented on NETBEANS-2940:
-

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see you build is Netbeans 10 

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 1:54 PM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see you build is Netbeans 10. Is this correct version that I have 
build?

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```


was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see you build is Netbeans 10 

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 1:54 PM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see you build is Netbeans 10. Is this the correct version that I have 
build?

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```


was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see you build is Netbeans 10. Is this correct version that I have 
build?

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 1:57 PM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build?

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```


was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see you build is Netbeans 10. Is this the correct version that I have 
build?

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> image-2019-08-12-10-34-22-305.png, netbeans-11.1.conf, netbeans-8.2.conf, 
> selfsampler15073537369378979592.npss, selfsampler15675620776487318185.npss, 
> selfsampler17323576831159964034.npss, selfsampler1962235903870517275.npss, 
> selfsampler231953002133054481.npss, selfsampler4257377310219144311.npss, 
> selfsampler4496583350478949316.npss, selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 2:00 PM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build?


```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```


was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build?

```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 2:01 PM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build?
[^2019-08-13-12-00-NB-about.png]


```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```


was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build?


```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 2:02 PM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build and will test?
[^2019-08-13-12-00-NB-about.png]


```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```


was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build?
[^2019-08-13-12-00-NB-about.png]


```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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] [Comment Edited] (NETBEANS-2940) StackOverflow on JavaScript Indexing

2019-08-13 Thread Ivan Yakovlev (JIRA)


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

Ivan Yakovlev edited comment on NETBEANS-2940 at 8/13/19 2:03 PM:
--

> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build and will test?
[^2019-08-13-12-00-NB-about.png]
Why not 11.1 version? Does this matter?


```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```


was (Author: uran1980):
> Ivan Yakovlev Could you build a NetBeans from this one: 
> https://github.com/lkishalmi/netbeans/tree/NETBEANS-2940
> Please test it out, might improve something.

As I can see your build is Netbeans 10. Is this the correct version that I have 
build and will test?
[^2019-08-13-12-00-NB-about.png]


```
*Product Version: Apache NetBeans IDE Dev (Build 20190813-83ec9c9cc61d)*
Java: 11.0.4; OpenJDK 64-Bit Server VM 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Runtime: OpenJDK Runtime Environment 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
System: Linux version 4.15.0-55-generic running on amd64; UTF-8; ru_RU (nb)
User directory: /home/uran1980/.netbeans/dev
Cache directory: /home/uran1980/.cache/netbeans/dev
```

> StackOverflow on JavaScript Indexing
> 
>
> Key: NETBEANS-2940
> URL: https://issues.apache.org/jira/browse/NETBEANS-2940
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Editor
>Affects Versions: 10.0, 11.1
>Reporter: E Dementiev
>Priority: Major
>  Labels: pull-request-available
> Attachments: 2019-08-08-08-00-01.png, 2019-08-08-12-00-01.png, 
> 2019-08-08-14-00-01.png, 2019-08-09-09-00-01.png, 
> 2019-08-09-09-00-02-htop.png, 2019-08-09-09-00-03.png, 
> 2019-08-09-09-00-05.png, 2019-08-09-09-00-exception-log.txt, 
> 2019-08-09-12-00-01-JRE.png, 2019-08-09-14-00-01.png, 
> 2019-08-09-14-00-02.png, 2019-08-09-14-00-02.png, 2019-08-09-14-00-03.png, 
> 2019-08-09-14-00-03.png, 2019-08-09-17-30-IDE-log.txt, 
> 2019-08-09-17-30-java.lang.StackOverflowError.txt, 
> 2019-08-09-netbeans-11.1-about.png, 2019-08-09-netbeans-8.2-about.png, 
> 2019-08-12-21-00-01.png, 2019-08-12-21-00-02.png, 
> 2019-08-13-09-00-Eception-IDE-log.txt, 
> 2019-08-13-09-00-java.lang.NullPointerException.txt, 
> 2019-08-13-12-00-NB-about.png, image-2019-08-12-10-34-22-305.png, 
> netbeans-11.1.conf, netbeans-8.2.conf, selfsampler15073537369378979592.npss, 
> selfsampler15675620776487318185.npss, selfsampler17323576831159964034.npss, 
> selfsampler1962235903870517275.npss, selfsampler231953002133054481.npss, 
> selfsampler4257377310219144311.npss, selfsampler4496583350478949316.npss, 
> selfsampler7754563681117566493.npss
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Very often Netbeans would start consuming high CPU resources for the job of 
> Checking for external changes, which sits in suspended status. If you click 
> on the cross and manually cancel that job, the CPU will keep being consumed.
> The only way to stop this is to completely close Netbeans. Upon closing, it 
> will say that it is still checking for external changes.



--
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-2905) nbm-maven-plugin fails with NPE

2019-08-13 Thread Tobias Fernandez (JIRA)


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

Tobias Fernandez commented on NETBEANS-2905:


_jgoodies-forms_ is a dependency of "DEPENDENCY ARTIFACT 1" and latter pom has 
a _publicPackages_ configuration section:
{noformat}
  
  
    
  
    org.apache.netbeans.utilities
    nbm-maven-plugin
    true
    
  
    [...]
    com.jgoodies.forms.layout
[...]
  
    
  

    
  
{noformat}

> nbm-maven-plugin fails with NPE
> ---
>
> Key: NETBEANS-2905
> URL: https://issues.apache.org/jira/browse/NETBEANS-2905
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Reporter: Tobias Fernandez
>Priority: Major
>
> Several projects sometimes (not always!) fail during 
> npe-maven-plugin:manifest with a NullPointerException. The root cause is 
> probably a null value retrieved from Artifact.getFile(), which doesn't seem 
> to be a foreseen case in nbm-maven-plugin in multiple code locations.
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest 
> (default-manifest) on project mapsupport: Execution default-manifest of goal 
> org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest failed. 
> NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest 
> (default-manifest) on project mapsupport: Execution default-manifest of goal 
> org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest failed.
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:215)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions 
> (MojoExecutor.java:355)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:200)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main 
> (Maven35Launcher.java:130)
> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
> at jenkins.maven3.agent.Maven35Main.launch (Maven35Main.java:178)
> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:498)
> at hudson.maven.Maven3Builder.call (Maven3Builder.java:139)
> at hudson.maven.Maven3Builder.call (Maven3Builder.java:70)
> at hudson.remoting.UserRequest.perform (UserRequest.java:212)
> at hudson.remoting.UserRequest.perform (UserRequest.java:54)
> at hudson.remoting.Request$2.run (Request.java:369)
> at hudson.remoting.InterceptingExecutorService$1.call 
> (InterceptingExecutorService.java:72)
> at java.util.concurrent.FutureTask.run (FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker 
> (ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run 
> (ThreadPoolExecutor.java:624)
> at java.lang.Thread.run (Thread.java:748)
> Caused by: org.apache.maven.plugin.PluginExecutionException: 

[jira] [Updated] (NETBEANS-2976) EE Deployment module not working with git-commit-id-plugin and finalName

2019-08-13 Thread John (JIRA)


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

John updated NETBEANS-2976:
---
Description: 
Have have nested maven project that uses plugin 
`pl.project13.maven:git-commit-id-plugin` in the parent pom, and a child 
project overriding it's artifact name in it's pom.  When the `finalName` 
setting in the child project container properties created by the plugin, the NB 
deployment module can't find the packaged ear for deployment.

 

Here is the parent pom.xml:

 
{code:java}

 pl.project13.maven
 git-commit-id-plugin
 2.2.6
 
   
 get-the-git-infos
 
   revision
 
 initialize
   
   
 validate-the-git-infos
 
   validateRevision
 
 package
   
  
  
  ${project.basedir}/.git
  git
  MMdd'T'HHmm
  false
  false
  false
  false   
  true 
  true
  false 
  false false 
  true 
  true
  
^git.commit.id.abbrev$ 
^git.commit.time$ 
^git.build.version$ 
^git.branch$
  
 
{code}

  

 

Here is the child pom.xml:

 
{code:java}

  
${project.artifactId}${project.version}${git.branch}${git.commit.time}${git.commit.id.abbrev}
{code}

  

{{And IDE.log:}}
{code:java}
INFO [org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment]
org.netbeans.modules.j2ee.deployment.impl.TargetServer$NoArchiveException: No 
archive for deployment
    at 
org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:675)
[catch] at 
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221)
    at 
org.netbeans.modules.maven.j2ee.execution.DeploymentHelper.perform(DeploymentHelper.java:185)
    at 
org.netbeans.modules.maven.j2ee.execution.CoSAlternativeExecutorImpl.execute(CoSAlternativeExecutorImpl.java:67)
    at 
org.netbeans.modules.maven.cos.CoSAlternativeExecutor.execute(CoSAlternativeExecutor.java:64)
    at 
org.netbeans.modules.maven.cos.CosChecker.checkRunMainClass(CosChecker.java:186)
    at 
org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:140)
    at 
org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:213)
    at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128){code}
 

  was:
Have have nested maven project that uses plugin 
`pl.project13.maven:git-commit-id-plugin` in the parent pom, and a child 
project overriding it's artifact name in it's pom.  When the `finalName` 
setting in the child project container properties created by the plugin, the NB 
deployment module can't find the packaged ear for deployment.

 

Here is the parent pom.xml:
pl.project13.maven   
 git-commit-id-plugin
2.2.6
get-the-git-infos   
 revision   
 initialize  
  
validate-the-git-infos  
  validateRevision 
   package   
 
${project.basedir}/.git
git
MMdd'T'HHmm
false
false
false
false
true
true 
   falsefalse   
 false
true 
   true  

^git.commit.id.abbrev$   
   ^git.commit.time$ 
 ^git.build.version$ 
 ^git.branch$


 

Here is the child pom.xml:


${project.artifactId}-${project.version}-${git.branch}-${git.commit.time}-${git.commit.id.abbrev}

 

{{And IDE.log:}}
{code:java}
INFO [org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment]
org.netbeans.modules.j2ee.deployment.impl.TargetServer$NoArchiveException: No 
archive for deployment
    at 
org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:675)
[catch] at 
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:221)
    at 
org.netbeans.modules.maven.j2ee.execution.DeploymentHelper.perform(DeploymentHelper.java:185)
    at 
org.netbeans.modules.maven.j2ee.execution.CoSAlternativeExecutorImpl.execute(CoSAlternativeExecutorImpl.java:67)
    at 
org.netbeans.modules.maven.cos.CoSAlternativeExecutor.execute(CoSAlternativeExecutor.java:64)
    at 
org.netbeans.modules.maven.cos.CosChecker.checkRunMainClass(CosChecker.java:186)
    at 
org.netbeans.modules.maven.cos.CosChecker.checkRunConfig(CosChecker.java:140)
    at 

[jira] [Comment Edited] (NETBEANS-2905) nbm-maven-plugin fails with NPE

2019-08-13 Thread Tobias Fernandez (JIRA)


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

Tobias Fernandez edited comment on NETBEANS-2905 at 8/13/19 12:01 PM:
--

Beside other changes, I did the following change to 
CollectLibrariesNodeVisitor.java at the very beginning of my research:

 
{noformat}
@@ -123,7 +127,13 @@ public class CollectLibrariesNodeVisitor
 if ( depExaminator == null )
 {
 depExaminator = new ExamineManifest( log );
-    depExaminator.setArtifactFile( artifact.getFile() );
+    File file = artifact.getFile();
+    if (file != null) {
+  depExaminator.setArtifactFile( file );
+    } else {
+  log.warn( "Artifact's file is null: " + artifact.getId() );
+  return false;
+    }
 depExaminator.checkFile();
 examinerCache.put( artifact, depExaminator );
 }{noformat}
 

Meanwhile our jenkins has produced a few(!) failed builds, containing following 
maven log:

 
{noformat}
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 1***
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 2***
[...]
[ERROR] Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: 
[com.jgoodies.forms.layout.FormLayout, 
com.jgoodies.forms.layout.CellConstraints] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: 
[com.jgoodies.forms.layout.FormLayout, 
com.jgoodies.forms.layout.CellConstraints]{noformat}
The "DEPENDENCY ARTIFACT 1/2" are a sub-modules within same multi-module 
project,which have been built successfully just before the "ARTIFACT" module 
(latter is the failing one).

*Note:* 4.2-OWN is our branched version of the 4.2 release


was (Author: tobiasf):
Beside other changes, I did the following change to 
CollectLibrariesNodeVisitor.java at the very beginning of my research:

 
{noformat}
@@ -123,7 +127,13 @@ public class CollectLibrariesNodeVisitor
 if ( depExaminator == null )
 {
 depExaminator = new ExamineManifest( log );
-    depExaminator.setArtifactFile( artifact.getFile() );
+    File file = artifact.getFile();
+    if (file != null) {
+  depExaminator.setArtifactFile( file );
+    } else {
+  log.warn( "Artifact's file is null: " + artifact.getId() );
+  return false;
+    }
 depExaminator.checkFile();
 examinerCache.put( artifact, depExaminator );
 }{noformat}
 

Meanwhile our jenkins has produced a few(!) failed builds, containing following 
maven log:

 
{noformat}
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 1***
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 2***
[...]
[ERROR] Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: [***2 CLASSES FROM 
DEPENDENCY ARTIFACT 2***] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: [***2 CLASSES FROM 
DEPENDENCY ARTIFACT 2***]{noformat}
The "DEPENDENCY ARTIFACT 1/2" are a sub-modules within same multi-module 
project,which have been built successfully just before the "ARTIFACT" module 
(latter is the failing one).

*Note:* 4.2-OWN is our branched version of the 4.2 release

> nbm-maven-plugin fails with NPE
> ---
>
> Key: NETBEANS-2905
>   

[jira] [Comment Edited] (NETBEANS-2905) nbm-maven-plugin fails with NPE

2019-08-13 Thread Tobias Fernandez (JIRA)


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

Tobias Fernandez edited comment on NETBEANS-2905 at 8/13/19 12:03 PM:
--

Beside other changes, I did the following change to 
CollectLibrariesNodeVisitor.java at the very beginning of my research:

 
{noformat}
@@ -123,7 +127,13 @@ public class CollectLibrariesNodeVisitor
 if ( depExaminator == null )
 {
 depExaminator = new ExamineManifest( log );
-    depExaminator.setArtifactFile( artifact.getFile() );
+    File file = artifact.getFile();
+    if (file != null) {
+  depExaminator.setArtifactFile( file );
+    } else {
+  log.warn( "Artifact's file is null: " + artifact.getId() );
+  return false;
+    }
 depExaminator.checkFile();
 examinerCache.put( artifact, depExaminator );
 }{noformat}
 

Meanwhile our jenkins has produced a few(!) failed builds, containing following 
maven log:

 
{noformat}
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 1***
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 2***
[...]
[ERROR] Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: 
[com.jgoodies.forms.layout.FormLayout, 
com.jgoodies.forms.layout.CellConstraints] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: 
[com.jgoodies.forms.layout.FormLayout, 
com.jgoodies.forms.layout.CellConstraints]{noformat}
The "DEPENDENCY ARTIFACT 1/2" are a sub-modules within same multi-module 
project,which have been built successfully just before the "ARTIFACT" module 
(latter is the failing one).

*Note:* 4.2-OWN is our branched version of the 4.2 release

*Correction:*
"classes not found on classpath" are not part of our own module, but of 
jgoodies (I updated the error message above).


was (Author: tobiasf):
Beside other changes, I did the following change to 
CollectLibrariesNodeVisitor.java at the very beginning of my research:

 
{noformat}
@@ -123,7 +127,13 @@ public class CollectLibrariesNodeVisitor
 if ( depExaminator == null )
 {
 depExaminator = new ExamineManifest( log );
-    depExaminator.setArtifactFile( artifact.getFile() );
+    File file = artifact.getFile();
+    if (file != null) {
+  depExaminator.setArtifactFile( file );
+    } else {
+  log.warn( "Artifact's file is null: " + artifact.getId() );
+  return false;
+    }
 depExaminator.checkFile();
 examinerCache.put( artifact, depExaminator );
 }{noformat}
 

Meanwhile our jenkins has produced a few(!) failed builds, containing following 
maven log:

 
{noformat}
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 1***
[WARNING] Artifact's file is null: ***DEPENDENCY ARTIFACT 2***
[...]
[ERROR] Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: 
[com.jgoodies.forms.layout.FormLayout, 
com.jgoodies.forms.layout.CellConstraints] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.2-OWN:manifest 
(default-manifest) on project ***ARTIFACT***: Uncategorized problems with 
NetBeans dependency verification (maybe MNBMODULE-102 or wrong maven dependency 
metadata). Supposedly external classes are used in the project's binaries but 
the classes are not found on classpath. Class usages: 
[com.jgoodies.forms.layout.FormLayout, 
com.jgoodies.forms.layout.CellConstraints]{noformat}
The "DEPENDENCY ARTIFACT 1/2" are a sub-modules within same multi-module 
project,which have been built successfully just before the "ARTIFACT" module 

[jira] [Comment Edited] (NETBEANS-2905) nbm-maven-plugin fails with NPE

2019-08-13 Thread Tobias Fernandez (JIRA)


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

Tobias Fernandez edited comment on NETBEANS-2905 at 8/13/19 12:37 PM:
--

_jgoodies-forms_ is a dependency of "DEPENDENCY ARTIFACT 1" and latter pom has 
a _publicPackages_ configuration section:
{noformat}
  
  
    
  
    org.apache.netbeans.utilities
    nbm-maven-plugin
    true
    
  
    [...]
    com.jgoodies.forms.layout
[...]
  
    
  

  
{noformat}


was (Author: tobiasf):
_jgoodies-forms_ is a dependency of "DEPENDENCY ARTIFACT 1" and latter pom has 
a _publicPackages_ configuration section:
{noformat}
  
  
    
  
    org.apache.netbeans.utilities
    nbm-maven-plugin
    true
    
  
    [...]
    com.jgoodies.forms.layout
[...]
  
    
  

    
  
{noformat}

> nbm-maven-plugin fails with NPE
> ---
>
> Key: NETBEANS-2905
> URL: https://issues.apache.org/jira/browse/NETBEANS-2905
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Reporter: Tobias Fernandez
>Priority: Major
>
> Several projects sometimes (not always!) fail during 
> npe-maven-plugin:manifest with a NullPointerException. The root cause is 
> probably a null value retrieved from Artifact.getFile(), which doesn't seem 
> to be a foreseen case in nbm-maven-plugin in multiple code locations.
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest 
> (default-manifest) on project mapsupport: Execution default-manifest of goal 
> org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest failed. 
> NullPointerException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest 
> (default-manifest) on project mapsupport: Execution default-manifest of goal 
> org.apache.netbeans.utilities:nbm-maven-plugin:4.2:manifest failed.
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:215)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
> at 
> org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions 
> (MojoExecutor.java:355)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:200)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:148)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:128)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main 
> (Maven35Launcher.java:130)
> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:498)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:289)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
> at jenkins.maven3.agent.Maven35Main.launch (Maven35Main.java:178)
> at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:498)
> at hudson.maven.Maven3Builder.call (Maven3Builder.java:139)
> at hudson.maven.Maven3Builder.call (Maven3Builder.java:70)
> at hudson.remoting.UserRequest.perform (UserRequest.java:212)
> at hudson.remoting.UserRequest.perform (UserRequest.java:54)
> at hudson.remoting.Request$2.run (Request.java:369)
> at 

[jira] [Resolved] (NETBEANS-1047) PHP spaces when using Source / Organize Members

2019-08-13 Thread Junichi Yamamoto (JIRA)


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

Junichi Yamamoto resolved NETBEANS-1047.

   Resolution: Fixed
Fix Version/s: 11.2

> PHP spaces when using Source / Organize Members
> ---
>
> Key: NETBEANS-1047
> URL: https://issues.apache.org/jira/browse/NETBEANS-1047
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Formatting  Indentation
>Affects Versions: 9.0
>Reporter: Alberto Rinaudo
>Assignee: Junichi Yamamoto
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 11.2
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Hi,
> This thing has been bugging me for a long time.
> I always use "Organize Members" to make my code look clean and readable with 
> 0 effort.
> For php, however, some spaces are put in the wrong place.
> This is how php is formatted when using "OR":
> {code}
>  $tb = FALSE;
> if ($tb OR ! $tb)
>   ;
> if ($tb OR ( !$tb))
>   ;
> {code}
>  
> this is how it is formatted when using "||":
> {code}
>  $tb = FALSE;
> if ($tb || !$tb)
>   ;
> if ($tb || (!$tb))
>   ;
> {code}
>  
> As you can see extra spaces are added after "!" and "(" 
>  I always use OR/AND keywords as a habit, I'd love to see this fixed
> Thanks.



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