[jira] [Created] (NETBEANS-3408) Error while coding and using auto complete

2019-11-18 Thread Thai Thien (Jira)
Thai Thien created NETBEANS-3408:


 Summary: Error while coding and using auto complete
 Key: NETBEANS-3408
 URL: https://issues.apache.org/jira/browse/NETBEANS-3408
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.2
Reporter: Thai Thien


Netbean show exception while I am using, the exception shown when I am trying 
to use autocomplete. 

UI Log: https://gist.github.com/ttpro1995/7b20cf8c396a9da2f0cf31f546866313
IDE Log: https://gist.github.com/ttpro1995/bfab297ce54e8fa17a10098b31ed79b2



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

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

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



[jira] [Updated] (NETBEANS-3407) Updating jsr305(findbugs) to 3.0.2

2019-11-18 Thread Jose (Jira)


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

Jose updated NETBEANS-3407:
---
Summary: Updating jsr305(findbugs) to 3.0.2  (was: Updating to 
jsr305(findbugs) to 3.0.2)

> Updating jsr305(findbugs) to 3.0.2
> --
>
> Key: NETBEANS-3407
> URL: https://issues.apache.org/jira/browse/NETBEANS-3407
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - FindBugs
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>
> Update jsr305(findbugs) to 3.0.2. This is the last version since the project 
> was 
> [abandoned|https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2016-November/004321.html]
>  
> [Release Notes|http://findbugs.sourceforge.net/Changes.html]



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

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

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



[jira] [Updated] (NETBEANS-3407) Updating jsr305(findbugs) to 3.0.2

2019-11-18 Thread Jose (Jira)


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

Jose updated NETBEANS-3407:
---
Description: 
Update jsr305(findbugs) to 3.0.2. This is the last version since the project 
was 
[abandoned|https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2016-November/004321.html]

[Release Notes|http://findbugs.sourceforge.net/Changes.html]

  was:
Update jsr305(findbugs) to 3.0.2. This is the last version since the project 
was 
[abandoned|https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2016-November/004321.html]

 

[Release Notes|http://findbugs.sourceforge.net/Changes.html]


> Updating jsr305(findbugs) to 3.0.2
> --
>
> Key: NETBEANS-3407
> URL: https://issues.apache.org/jira/browse/NETBEANS-3407
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - FindBugs
>Affects Versions: Next, 11.2
>Reporter: Jose
>Assignee: Jose
>Priority: Minor
>
> Update jsr305(findbugs) to 3.0.2. This is the last version since the project 
> was 
> [abandoned|https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2016-November/004321.html]
> [Release Notes|http://findbugs.sourceforge.net/Changes.html]



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

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

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



[jira] [Created] (NETBEANS-3407) Updating to jsr305(findbugs) to 3.0.2

2019-11-18 Thread Jose (Jira)
Jose created NETBEANS-3407:
--

 Summary: Updating to jsr305(findbugs) to 3.0.2
 Key: NETBEANS-3407
 URL: https://issues.apache.org/jira/browse/NETBEANS-3407
 Project: NetBeans
  Issue Type: Improvement
  Components: java - FindBugs
Affects Versions: Next, 11.2
Reporter: Jose
Assignee: Jose


Update jsr305(findbugs) to 3.0.2. This is the last version since the project 
was 
[abandoned|https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2016-November/004321.html]

 

[Release Notes|http://findbugs.sourceforge.net/Changes.html]



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

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

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



[jira] [Created] (NETBEANS-3406) Netbeans 11.1 Won’t Close

2019-11-18 Thread Matthew Bennett (Jira)
Matthew Bennett created NETBEANS-3406:
-

 Summary: Netbeans 11.1 Won’t Close
 Key: NETBEANS-3406
 URL: https://issues.apache.org/jira/browse/NETBEANS-3406
 Project: NetBeans
  Issue Type: Bug
 Environment: macbook Pro Catalina 10.15.1
Reporter: Matthew Bennett


Even though used the Close command, Netbeans 11.1 has not closed and is 
stopping my Mac from shutting down.

Even using Force Quit has no effect.



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

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

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



[jira] [Commented] (NETBEANS-3405) Not coping all files for remote build and debug

2019-11-18 Thread Matthew Bennett (Jira)


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

Matthew Bennett commented on NETBEANS-3405:
---

I think, although I am not sure, that the issue is caused because the 
configuration in Netbeans has not been updated to include the files in copying. 
There doesn’t appear to be any menu item to refresh the list and when I look in 
the configuration files, there appears to nee some source files missing.

> Not coping all files for remote build and debug
> ---
>
> Key: NETBEANS-3405
> URL: https://issues.apache.org/jira/browse/NETBEANS-3405
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Remote
>Affects Versions: 11.1
> Environment: Macbook Pro Catalina, 10.15.1
> Raspberry PI running Raspbian Buster
>Reporter: Matthew Bennett
>Priority: Major
>
> I'm using Netbeans 11 with the plugin for C/C++ development with a raspberry 
> pi as a remote compile / debugger. When I try and compile, I get an error
> 'make: *** No rule to make target 'Visual/src/linkedList.c', needed by 
> 'build/linkedList.o'.'
> The source code exists within the project, but the file is not copied with 
> the other source files. When I inspect the destination directory, a number of 
> files are missing.
> Copy method SFTP:



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

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

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



[jira] [Created] (NETBEANS-3405) Not coping all files for remote build and debug

2019-11-18 Thread Matthew Bennett (Jira)
Matthew Bennett created NETBEANS-3405:
-

 Summary: Not coping all files for remote build and debug
 Key: NETBEANS-3405
 URL: https://issues.apache.org/jira/browse/NETBEANS-3405
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Remote
Affects Versions: 11.1
 Environment: Macbook Pro Catalina, 10.15.1
Raspberry PI running Raspbian Buster
Reporter: Matthew Bennett


I'm using Netbeans 11 with the plugin for C/C++ development with a raspberry pi 
as a remote compile / debugger. When I try and compile, I get an error

'make: *** No rule to make target 'Visual/src/linkedList.c', needed by 
'build/linkedList.o'.'

The source code exists within the project, but the file is not copied with the 
other source files. When I inspect the destination directory, a number of files 
are missing.

Copy method SFTP:



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

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

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



[jira] [Resolved] (NETBEANS-2983) Custom GUI Components Cannot be Added in Gradle Projects

2019-11-18 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-2983.
---
Fix Version/s: 11.3
   Resolution: Fixed

> Custom GUI Components Cannot be Added in Gradle Projects
> 
>
> Key: NETBEANS-2983
> URL: https://issues.apache.org/jira/browse/NETBEANS-2983
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.1, 11.2
>Reporter: Horváth Péter
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available
> Fix For: 11.3
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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

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

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



[jira] [Commented] (NETBEANS-3385) Reload of dependencies in a gradle project always fails.

2019-11-18 Thread Andrea Paternesi (Jira)


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

Andrea Paternesi commented on NETBEANS-3385:


Hi,

I have provided a mini project as a test for this bug. 
[^test-gradle-netbeans.tgz]

Basically just open it with netbeans 11.2 then wait for project initialization.

After that just modify the build.gradle in the dependencies settings using 
javalin 3.6.0 version instead of javalin 3.5.0.

The dependency won't be downloaded and an error occurs. It happens always.

Hope you can reporduce the error.

Thanks.

> Reload of dependencies in a gradle project always fails.
> 
>
> Key: NETBEANS-3385
> URL: https://issues.apache.org/jira/browse/NETBEANS-3385
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.2
>Reporter: Andrea Paternesi
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: test-gradle-netbeans.tgz
>
>
> When the project tries to reload dependencies for some strange reason it 
> stops and never download any file.
> You are forced to open a shell and  force the reload of dependencies by hand 
> using "./gradlew clean build".
> After that you can "clean and build" also in netbeans and then the project 
> returns to compile without problems.
> This bug coupled with this one 
> https://issues.apache.org/jira/browse/NETBEANS-2960 makes the ide basically 
> very hard to use with gradle.
> Thanks for any patch you can provide.
>  



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

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

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



[jira] [Updated] (NETBEANS-3385) Reload of dependencies in a gradle project always fails.

2019-11-18 Thread Andrea Paternesi (Jira)


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

Andrea Paternesi updated NETBEANS-3385:
---
Attachment: test-gradle-netbeans.tgz

> Reload of dependencies in a gradle project always fails.
> 
>
> Key: NETBEANS-3385
> URL: https://issues.apache.org/jira/browse/NETBEANS-3385
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 11.2
>Reporter: Andrea Paternesi
>Assignee: Laszlo Kishalmi
>Priority: Major
> Attachments: test-gradle-netbeans.tgz
>
>
> When the project tries to reload dependencies for some strange reason it 
> stops and never download any file.
> You are forced to open a shell and  force the reload of dependencies by hand 
> using "./gradlew clean build".
> After that you can "clean and build" also in netbeans and then the project 
> returns to compile without problems.
> This bug coupled with this one 
> https://issues.apache.org/jira/browse/NETBEANS-2960 makes the ide basically 
> very hard to use with gradle.
> Thanks for any patch you can provide.
>  



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

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

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



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

2019-11-18 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

> 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, 11.2
>Reporter: Petr Miksik
>Priority: Major
>  Labels: autocomplete, autocompletion, codecompletion
> Attachments: ide.log
>
>
> The exception occurs after selecting an item from the provided "Code 
> completion" list and nothing is inserted into code. 
> How to reproduce:
> {noformat}
> public class XXX {
> private static class CellRenderer implements TableCellRenderer {
> @Override
> public Component getTableCellRendererComponent(JTable table, Object 
> value, boolean isSelected, boolean hasFocus, int row, int column) {
> JLabel result = new JLabel <-- code completion fails here
> JLabel result2 = new JLabel <-- it works on this line already. 
> Only the first line is not working
> }
> }
> }
> {noformat}
> {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:972)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
>   at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1191)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:972)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754)
>   at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778)
>   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357)
>   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754)
>   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.getProposedValue(JavaCodeTemplateProcessor.java:433)
>   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 
> 

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

2019-11-18 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: 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, 11.2
>Reporter: Petr Miksik
>Priority: Major
>  Labels: autocomplete, autocompletion, codecompletion
> Attachments: ide.log
>
>
> The exception occurs after selecting an item from the provided "Code 
> completion" list and nothing is inserted into code. 
> How to reproduce:
> {noformat}
> public class XXX {
> private static class CellRenderer implements TableCellRenderer {
> @Override
> public Component getTableCellRendererComponent(JTable table, Object 
> value, boolean isSelected, boolean hasFocus, int row, int column) {
> JLabel result = new JLabel <-- code completion fails here
> JLabel result2 = new JLabel <-- it works on this line already. 
> Only the first line is not working
> }
> }
> }
> {noformat}
> {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:972)
>   at 
> com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
>   at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1191)
>   at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:972)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754)
>   at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778)
>   at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357)
>   at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
>   at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036)
>   at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674)
>   at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754)
>   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.getProposedValue(JavaCodeTemplateProcessor.java:433)
>   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 
> 

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

2019-11-18 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. 

How to reproduce:
{noformat}
public class XXX {
private static class CellRenderer implements TableCellRenderer {

@Override
public Component getTableCellRendererComponent(JTable table, Object 
value, boolean isSelected, boolean hasFocus, int row, int column) {
JLabel result = new JLabel <-- code completion fails here
JLabel result2 = new JLabel <-- it works on this line already. Only 
the first line is not working
}
}
}
{noformat}

{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:972)
at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:172)
at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1191)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:972)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754)
at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778)
at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357)
at org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78)
at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754)
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.getProposedValue(JavaCodeTemplateProcessor.java:433)
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 

[jira] [Commented] (NETBEANS-3375) Slowness and CPU maximum usage

2019-11-18 Thread Dario Brignone (Jira)


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

Dario Brignone commented on NETBEANS-3375:
--

Thank you for your suggesion, I've just installed 11.2, regards

> Slowness and CPU maximum usage
> --
>
> Key: NETBEANS-3375
> URL: https://issues.apache.org/jira/browse/NETBEANS-3375
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.1
> Environment: Windows 10 Pro. 
> 32 GB RAM
> Intel core i7-9700 CPU @ 3.00GHz
> SSD HDD
>Reporter: Dario Brignone
>Priority: Major
>  Labels: JavaHeap, OutOfMemory, OutOfMemoryError, cpu-usage, 
> error, heap
> Attachments: netbeans-editor.txt, netbeans.txt
>
>
> The editor becomes unresponsive while coding at HTML or PHP files. CPU usage 
> raises up to 100% and RAM too.



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

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

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