[jira] [Created] (NETBEANS-3379) Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1
Jarek created NETBEANS-3379: --- Summary: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1 Key: NETBEANS-3379 URL: https://issues.apache.org/jira/browse/NETBEANS-3379 Project: NetBeans Issue Type: Bug Affects Versions: 11.2 Environment: Windows 10, Netbeans 11.2, JDK 1.8.0_202 Reporter: Jarek When I try to create new Maven Ear Project in Netbeasn 11.2 like that: Menu File -> New Project -> Java with Maven -> Enterprise Application -> NEXT (with defaults) -> Uncheck EJB and Web App Modules -> FINISH I got following ERROR: cd C:\Tmp\test; JAVA_HOME=c:\\Bin\\Java\\CURRENT_JDK M2_HOME=c:\\Bin\\Other\\maven cmd /c "\"\"c:\\Bin\\Other\\maven\\bin\\mvn.cmd\" -DarchetypeGroupId=io.github.juneau001 -DarchetypeArtifactId=webapp-javaee8 -DarchetypeVersion=1.3 -DarchetypeRepository=[https://repo.maven.apache.org/maven2]-DgroupId=test -DartifactId=test-ear -Dversion=0.0.1 -Dbasedir=C:\\Tmp\\test -Darchetype.interactive=false -Dmaven.ext.class.path=c:\\Bin\\Other\\Netbeans_11\\java\\maven-nblib\\netbeans-eventspy.jar --batch-mode org.apache.maven.plugins:maven-archetype-plugin:2.4:generate\"" Scanning for projects... -< test:test >-- Building test-0.0.1 0.0.1 [ war ]- >>> maven-archetype-plugin:2.4:generate (default-cli) > generate-sources @ test >>> >>> --- maven-dependency-plugin:2.6:copy (default) @ test --- <<< maven-archetype-plugin:2.4:generate (default-cli) < generate-sources @ test <<< --- maven-archetype-plugin:2.4:generate (default-cli) @ test --- Generating project in Batch mode Archetype defined by properties Using following parameters for creating project from Archetype: webapp-javaee8:1.3 Parameter: groupId, Value: test Parameter: artifactId, Value: test-ear Parameter: version, Value: 0.0.1 Parameter: package, Value: ${groupId}.${artifactId} Parameter: packageInPathFormat, Value: ${groupId}/${artifactId} lis 13, 2019 7:22:14 AM org.apache.velocity.runtime.log.JdkLogChute log INFO: FileResourceLoader : adding path '.' Parameter: package, Value: test.test-ear Parameter: version, Value: 0.0.1 Parameter: groupId, Value: test Parameter: artifactId, Value: test-ear BUILD FAILURE Total time: 3.244 s Finished at: 2019-11-13T07:22:14+01:00 Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project test: org.apache.maven.archetype.exception.InvalidPackaging: Unable to add module to the current project as it is not of packaging type 'pom' -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging. For more information about the errors and possible solutions, please read the following articles: [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException] That problem does not occure in NetBeans 8.2: cd C:\Tmp\test2; JAVA_HOME=c:\\Bin\\Java\\CURRENT_JDK M2_HOME=c:\\Bin\\Other\\maven cmd /c "\"\"c:\\Bin\\Other\\maven\\bin\\mvn.cmd\" -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=ear-javaee7 -DarchetypeVersion=1.0 -DarchetypeRepository=[http://repo.maven.apache.org/maven2]-DgroupId=test2 -DartifactId=test2-ear -Dversion=0.0.1 -Dbasedir=C:\\Tmp\\test2 -Darchetype.interactive=false -Dmaven.ext.class.path=c:\\Bin\\Other\\Netbeans_8\\java\\maven-nblib\\netbeans-eventspy.jar --batch-mode archetype:generate\"" Scanning for projects... < test2:test2 >- Building test2 0.0.1 [ pom ]- >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ >>> test2 >>> <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ test2 <<< --- maven-archetype-plugin:3.0.1:generate (default-cli) @ test2 --- Generating project in Batch mode Archetype repository not defined. Using the one from [org.codehaus.mojo.archetypes:ear-javaee7:1.0] found in catalog remote Using following parameters for creating project from Archetype: ear-javaee7:1.0 Parameter: groupId, Value: test
[jira] [Commented] (NETBEANS-3313) Can't delete gradle project
[ https://issues.apache.org/jira/browse/NETBEANS-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973193#comment-16973193 ] Christian Lenz commented on NETBEANS-3313: -- Please use only just simple deleting. Nothing more. Afaik Ant and/or maven start to clean smth before deleting. This is not needed. Just a simple deleting like you do in the operating system of deleting files and folders. Anything else, doesn't make any sense and take more time to delete a project inside of the IDE as from the operating system. > Can't delete gradle project > --- > > Key: NETBEANS-3313 > URL: https://issues.apache.org/jira/browse/NETBEANS-3313 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle >Affects Versions: 11.1, 11.2 > Environment: Product Version: Apache NetBeans IDE 11.2 > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2 > Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2 >Reporter: Christian Lenz >Assignee: Steven Ingram >Priority: Minor > > I can't delete a gradle project via "del" key. Also the action "delete" on > the project context menu is missing. > Steps to reproduce: > - Create a new Java with Gradle -> Java Application or Java Frontend > Application (Maybe all gradle projects) > - Leave everything as it is from the wizard > - Wait until it is open > - Select the project via key or mouse > - Hit "del" key -> nothing happens > - Do a right click on the project and choose "delete" -> action is not there > - Go to the files window > - Try to do the same -> not possible > Project deletion is essential in NetBeans. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans-jackpot30] branch dependabot/maven/prs/webapp/com.fasterxml.jackson.core-jackson-databind-2.9.10.1 created (now 280b070)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/prs/webapp/com.fasterxml.jackson.core-jackson-databind-2.9.10.1 in repository https://gitbox.apache.org/repos/asf/netbeans-jackpot30.git. at 280b070 Bump jackson-databind from 2.9.2 to 2.9.10.1 in /prs/webapp No new revisions were added by this update. - 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
[ 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 java.base/java.securit
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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. How to reproduce: {{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 <-- problem here, code completion fails } } } }} {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
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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. How to reproduce: {monospaced text} 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 <-- problem here, code completion fails } } } {monospaced text} {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)
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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. How to reproduce: 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 <-- problem here, code completion fails } } } {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.dis
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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. 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 <-- problem here, code completion fails } } } {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: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.deskto
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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. How to reproduce: {quote} 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 <-- problem here, code completion fails } } } {quote} {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
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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 } } } {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: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)
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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 <-- problem here, code completion fails } } } {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: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:48
[jira] [Updated] (NETBEANS-2978) Assertion error in code completion in Java code
[ 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: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.dispatch
[jira] [Created] (NETBEANS-3380) hint "Constant naming conventions" defaults incorrectly for "Check only immutable types" flag
Ernie Rael created NETBEANS-3380: Summary: hint "Constant naming conventions" defaults incorrectly for "Check only immutable types" flag Key: NETBEANS-3380 URL: https://issues.apache.org/jira/browse/NETBEANS-3380 Project: NetBeans Issue Type: Bug Components: java - Hints Affects Versions: 11.2 Environment: windows, jdk1.8 Reporter: Ernie Rael Attachments: ConstantNameHint.java.diff For the indicated option, "prefs.getBoolean(str, default)" has different "default" for when displaying the options dialog and checking value for use. *FIX ATTACHED* for ConstantNameHint.java (haven't learned git yet...) -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2409) Very Slow Operations on Windows
[ https://issues.apache.org/jira/browse/NETBEANS-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973320#comment-16973320 ] Eric Bresie commented on NETBEANS-2409: --- What are the Acceptance criteria for this ticket? Slow is a little ambiguous and would hate for this to be open indefinitely. Is the scope of this ticket for the installer or normal usage? Am I correct in saying some of the slowness is with newer projects when the project files have to be scanned initially and then subsequent starts will be quicker? Or when project status is periodically rescanned for updated File Object status? > Very Slow Operations on Windows > > > Key: NETBEANS-2409 > URL: https://issues.apache.org/jira/browse/NETBEANS-2409 > Project: NetBeans > Issue Type: Bug >Affects Versions: 10.0, 11.0 > Environment: Windows >Reporter: Laszlo Kishalmi >Priority: Critical > Labels: Performance, Windows > Attachments: Details info.txt, NB11_autocomplete.nps, > NB11_getHint.nps, WinFilesystemSlow.png, messages.log > > Time Spent: 1.5h > Remaining Estimate: 0h > > What is the best course of action for reporting slowness? I can’t share my > project. > I’m not certain how to give step-by-step instructions when the problem is > basically one step in most cases. E.g. invoke auto-complete - nothing > happens for several seconds. Invoke rename - dialog doesn’t appear for > several seconds. Find usages - extremely slow > 5 second delay on a private > member of a class less than 100 lines. > In general it seems NB 11 is noticeably slower than NB 8.2. Not good > considering slowness was already my #1 complaint about NB 8.2. I have so far > found the benefits of NB outweigh the fact that it is much slower than other > IDEs for the same operations, but the slowness of NB 11 is tipping the scale. > I don’t want to switch IDEs, pease don’t interpret this as some sort of > threat to do so. I would like to help find the issues in NB. But I don’t > have the bandwidth to debug NB and not being about to share my project makes > it difficult to provide helpful reports :-( > Are others seeing the slowness? > Find usages, renames, call-hierarchy, auto-complete… things I use all the > time, I often have to wait 5 to 10 seconds for a response from the IDE, > sometimes more. > I’ve already deleted user dir and cache and restarted. > I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] branch master updated (3f00957 -> 7ec8391)
This is an automated email from the ASF dual-hosted git repository. sdedic pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git. from 3f00957 Merge pull request #1482 from jGauravGupta/JEDDICT-322-db-metadata-model new b2acf68 [NETBEANS-3250] Abstract annotation Processors report SourceVersion.latest new 5d32a99 [NETBEANS-3250] Core annotation processors return SourceVersion.latest(). new 467f689 [NETBEANS-3250] All annotation processors updated to work with SourceVersion.latest() new 3126f70 [NETBEANS-3250] New hint to fix obsolete @SupportedSourceVersion on annotation processors. new daf3583 [NETBEANS-3250] Added code generator to return SourceVersion.latest() from annotation processor. new 7ec8391 Merge pull request #1578 from sdedic/bugfix/serviceProcessorAnnotation The 3097 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../junit/internal/RandomlyFailsProcessor.java | 7 +- .../debugger/registry/DebuggerProcessor.java | 4 - .../BugtrackingRegistrationProcessor.java | 3 - .../org/netbeans/core/ide/ServiceTabProcessor.java | 3 - .../csl/core/LanguageRegistrationProcessor.java| 3 - .../lib2/EditorActionRegistrationProcessor.java| 3 - .../StartupExtenderRegistrationProcessor.java | 3 - .../gsf/testrunner/CoreManagerProcessor.java | 3 - .../testrunner/TestCreatorProviderProcessor.java | 5 - .../EmbeddingProviderRegistrationProcessor.java| 3 - .../indexing/IndexerRegistrationProcessor.java | 3 - .../PathRecognizerRegistrationProcessor.java | 3 - .../modules/project/ant/AntBasedProcessor.java | 4 - .../LookupProviderAnnotationProcessor.java | 3 - .../ui/convertor/ProjectConvertorProcessor.java| 3 - ...mpositeCategoryProviderAnnotationProcessor.java | 3 - .../uiapi/NodeFactoryAnnotationProcessor.java | 3 - .../spi/impl/ScopeAnnotationProcessor.java | 3 - .../schema2beansdev/Schema2BeansProcessor.java | 8 +- .../debugger/ui/registry/DebuggerProcessor.java| 3 - .../NavigatorPanelRegistrationProcessor.java | 3 - .../palette/PaletteItemRegistrationProcessor.java | 3 - .../lexer/CreateRegistrationProcessor.java | 3 - .../versioning/core/VCSRegistrationProcessor.java | 3 - .../versioning/VCSRegistrationProcessor.java | 3 - .../jpda/apiregistry/DebuggerProcessor.java| 3 - .../java/hints/jdk/AnnotationProcessors.java | 457 + .../modules/java/hints/jdk/Bundle.properties | 7 + .../java/hints/ui/AnnoProcessorGenerator.java | 142 +++ .../java/testrunner/ui/NodeOpenerProcessor.java| 3 - .../jpda/ui/apiregistry/DebuggerProcessor.java | 3 - .../processor/JavaHintsAnnotationProcessor.java| 5 - .../AnnotationLineParserRegistrationProcessor.java | 3 - .../PhpAnnotationsRegistrationProcessor.java | 3 - .../PhpDocumentationRegistrationProcessor.java | 3 - .../PhpFrameworkRegistrationProcessor.java | 3 - .../PhpOptionsPanelControllerProcessor.java| 3 - .../PhpTestingRegistrationProcessor.java | 3 - .../common/proc/StaticResourceProcessor.java | 7 +- .../modules/htmlui/HTMLDialogProcessor.java| 7 +- .../netbeans/modules/htmlui/HTMLViewProcessor.java | 3 - .../modules/intent/OpenUriHandlerProcessor.java| 3 - .../modules/templates/TemplateProcessor.java | 3 - .../core/multiview/MultiViewProcessor.java | 3 - .../mimelookup/CreateRegistrationProcessor.java| 3 - .../javahelp/HelpSetRegistrationProcessor.java | 3 - .../modules/openide/awt/ActionProcessor.java | 3 - platform/openide.filesystems/apichanges.xml| 25 ++ .../declmime/MIMEResolverProcessor.java| 3 - .../annotations/LayerGeneratingProcessor.java | 21 + .../filesystems/annotations/LayerBuilderTest.java | 36 +- .../annotations/LayerGeneratingProcessorTest.java | 3 - .../annotations/LayerGenerationExceptionTest.java | 3 - .../loaders/DataObjectFactoryProcessor.java| 3 - .../openide/nodes/NodesAnnotationProcessor.java| 3 - platform/openide.util.lookup/apichanges.xml| 24 ++ .../openide/util/NamedServiceProcessor.java| 4 - .../openide/util/ServiceProviderProcessor.java | 3 - .../implspi/AbstractServiceProviderProcessor.java | 25 +- .../util/test/AnnotationProcessorTestUtils.java| 21 +- .../modules/openide/util/NbBundleProcessor.java| 7 +- .../openide/windows/TopComponentProcessor.java | 8 - .../options/OptionsPanelControllerProcessor.java | 4 - .../sendopts/OptionAnnotationProcessor.java
[netbeans] branch master updated: [NETBEANS-1985] Honour initial values of stateful delegate actions. (#1579)
This is an automated email from the ASF dual-hosted git repository. sdedic 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 97b6f5e [NETBEANS-1985] Honour initial values of stateful delegate actions. (#1579) 97b6f5e is described below commit 97b6f5e3ac44870a0b85a4ab95a2750fdd9d8bb1 Author: Svatopluk Dedic AuthorDate: Wed Nov 13 14:15:57 2019 +0100 [NETBEANS-1985] Honour initial values of stateful delegate actions. (#1579) [NETBEANS-1985] Honour initial values of stateful delegate actions. --- .../src/org/openide/awt/{awt => }/ActionState.java | 0 .../src/org/openide/awt/ContextAction.java | 8 +- .../src/org/openide/awt/GeneralAction.java | 8 +- .../org/openide/awt/{awt => }/PropertyMonitor.java | 0 .../org/openide/awt/{awt => }/StatefulAction.java | 28 +++ .../org/openide/awt/ContextActionNonAWTTest.java | 16 ++ .../src/org/openide/awt/ContextActionTest.java | 231 - 7 files changed, 283 insertions(+), 8 deletions(-) diff --git a/platform/openide.awt/src/org/openide/awt/awt/ActionState.java b/platform/openide.awt/src/org/openide/awt/ActionState.java similarity index 100% rename from platform/openide.awt/src/org/openide/awt/awt/ActionState.java rename to platform/openide.awt/src/org/openide/awt/ActionState.java diff --git a/platform/openide.awt/src/org/openide/awt/ContextAction.java b/platform/openide.awt/src/org/openide/awt/ContextAction.java index bea899b..3510e38 100644 --- a/platform/openide.awt/src/org/openide/awt/ContextAction.java +++ b/platform/openide.awt/src/org/openide/awt/ContextAction.java @@ -276,10 +276,7 @@ implements Action, ContextAwareAction, ChangeListener, Runnable { @Override public int hashCode() { -int t = type.hashCode(); -int m = selectMode.hashCode(); -int p = performer.hashCode(); -return (t << 2) + (m << 1) + p; +return Objects.hash(type, selectMode, performer, enableMonitor); } @Override @@ -293,7 +290,8 @@ implements Action, ContextAwareAction, ChangeListener, Runnable { return type.equals(c.type) && selectMode.equals(c.selectMode) && -performer.equals(c.performer); +performer.equals(c.performer) && +Objects.equals(enableMonitor, c.enableMonitor); } return false; } diff --git a/platform/openide.awt/src/org/openide/awt/GeneralAction.java b/platform/openide.awt/src/org/openide/awt/GeneralAction.java index 960caac..eda09c6 100644 --- a/platform/openide.awt/src/org/openide/awt/GeneralAction.java +++ b/platform/openide.awt/src/org/openide/awt/GeneralAction.java @@ -470,7 +470,13 @@ final class GeneralAction { } BaseDelAction other = copyDelegate(f, actionContext); if (attrs != null) { -other.attrs = new HashMap(attrs); +if (other.attrs == null) { +other.attrs = new HashMap<>(attrs); +} else { +for (String k : attrs.keySet()) { +other.attrs.putIfAbsent(k, attrs.get(k)); +} +} } return other; } diff --git a/platform/openide.awt/src/org/openide/awt/awt/PropertyMonitor.java b/platform/openide.awt/src/org/openide/awt/PropertyMonitor.java similarity index 100% rename from platform/openide.awt/src/org/openide/awt/awt/PropertyMonitor.java rename to platform/openide.awt/src/org/openide/awt/PropertyMonitor.java diff --git a/platform/openide.awt/src/org/openide/awt/awt/StatefulAction.java b/platform/openide.awt/src/org/openide/awt/StatefulAction.java similarity index 84% rename from platform/openide.awt/src/org/openide/awt/awt/StatefulAction.java rename to platform/openide.awt/src/org/openide/awt/StatefulAction.java index 8c2cd1f..a1bfa69 100644 --- a/platform/openide.awt/src/org/openide/awt/awt/StatefulAction.java +++ b/platform/openide.awt/src/org/openide/awt/StatefulAction.java @@ -19,6 +19,7 @@ package org.openide.awt; import java.util.Collections; +import java.util.Objects; import java.util.logging.Level; import javax.swing.Action; import org.openide.util.Lookup; @@ -82,6 +83,33 @@ final class StatefulAction extends ContextAction { } @Override +public int hashCode() { +int hash = super.hashCode(); +hash = 97 * hash + Objects.hashCode(this.checkValueMonitor); +return hash; +} + +/** + * Overrides ContextAction. Must found in the {@link #checkValueMonitor} otherwise + * two actions driven by different property could clash in {@link ContextManager} + * and won't get 'enable' notification when data appears. + * + * @param obj other object + * @return true, if equal + */ +@Override +public boolea
[jira] [Resolved] (NETBEANS-2409) Very Slow Operations on Windows
[ https://issues.apache.org/jira/browse/NETBEANS-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi resolved NETBEANS-2409. --- Fix Version/s: 11.2 Resolution: Fixed Well, let's say this one is solved. I've created this issue upon a mail (as far as I remember). > Very Slow Operations on Windows > > > Key: NETBEANS-2409 > URL: https://issues.apache.org/jira/browse/NETBEANS-2409 > Project: NetBeans > Issue Type: Bug >Affects Versions: 10.0, 11.0 > Environment: Windows >Reporter: Laszlo Kishalmi >Priority: Critical > Labels: Performance, Windows > Fix For: 11.2 > > Attachments: Details info.txt, NB11_autocomplete.nps, > NB11_getHint.nps, WinFilesystemSlow.png, messages.log > > Time Spent: 1.5h > Remaining Estimate: 0h > > What is the best course of action for reporting slowness? I can’t share my > project. > I’m not certain how to give step-by-step instructions when the problem is > basically one step in most cases. E.g. invoke auto-complete - nothing > happens for several seconds. Invoke rename - dialog doesn’t appear for > several seconds. Find usages - extremely slow > 5 second delay on a private > member of a class less than 100 lines. > In general it seems NB 11 is noticeably slower than NB 8.2. Not good > considering slowness was already my #1 complaint about NB 8.2. I have so far > found the benefits of NB outweigh the fact that it is much slower than other > IDEs for the same operations, but the slowness of NB 11 is tipping the scale. > I don’t want to switch IDEs, pease don’t interpret this as some sort of > threat to do so. I would like to help find the issues in NB. But I don’t > have the bandwidth to debug NB and not being about to share my project makes > it difficult to provide helpful reports :-( > Are others seeing the slowness? > Find usages, renames, call-hierarchy, auto-complete… things I use all the > time, I often have to wait 5 to 10 seconds for a response from the IDE, > sometimes more. > I’ve already deleted user dir and cache and restarted. > I’m using Gradle-based Java projects, running NB 11.0 with JDK 8u202. -- 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-3381) NetBeans with JDK 13 and macOS Dark Mode
Jarod Weaver created NETBEANS-3381: -- Summary: NetBeans with JDK 13 and macOS Dark Mode Key: NETBEANS-3381 URL: https://issues.apache.org/jira/browse/NETBEANS-3381 Project: NetBeans Issue Type: Bug Components: cnd - Other Affects Versions: 11.1, 11.0, 11.2 Environment: macOS Mojave and Catalina Reporter: Jarod Weaver When using NetBeans with JDK 13 and Dark Mode enabled, the project creation and the projects tab do not display correctly. The text shows as white which is hard to see. -- 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-3381) NetBeans with JDK 13 and macOS Dark Mode
[ https://issues.apache.org/jira/browse/NETBEANS-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarod Weaver updated NETBEANS-3381: --- Labels: GUI (was: ) > NetBeans with JDK 13 and macOS Dark Mode > > > Key: NETBEANS-3381 > URL: https://issues.apache.org/jira/browse/NETBEANS-3381 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1, 11.2 > Environment: macOS Mojave and Catalina >Reporter: Jarod Weaver >Priority: Minor > Labels: GUI > > When using NetBeans with JDK 13 and Dark Mode enabled, the project creation > and the projects tab do not display correctly. The text shows as white which > is hard to see. -- 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-3381) NetBeans with JDK 13 and macOS Dark Mode
[ https://issues.apache.org/jira/browse/NETBEANS-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarod Weaver updated NETBEANS-3381: --- Component/s: (was: cnd - Other) > NetBeans with JDK 13 and macOS Dark Mode > > > Key: NETBEANS-3381 > URL: https://issues.apache.org/jira/browse/NETBEANS-3381 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1, 11.2 > Environment: macOS Mojave and Catalina >Reporter: Jarod Weaver >Priority: Minor > > When using NetBeans with JDK 13 and Dark Mode enabled, the project creation > and the projects tab do not display correctly. The text shows as white which > is hard to see. -- 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-3381) NetBeans with JDK 13 and macOS Dark Mode
[ https://issues.apache.org/jira/browse/NETBEANS-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jarod Weaver updated NETBEANS-3381: --- Labels: (was: GUI) > NetBeans with JDK 13 and macOS Dark Mode > > > Key: NETBEANS-3381 > URL: https://issues.apache.org/jira/browse/NETBEANS-3381 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0, 11.1, 11.2 > Environment: macOS Mojave and Catalina >Reporter: Jarod Weaver >Priority: Minor > > When using NetBeans with JDK 13 and Dark Mode enabled, the project creation > and the projects tab do not display correctly. The text shows as white which > is hard to see. -- 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-3382) Resolve JDK Issues
Jarod Weaver created NETBEANS-3382: -- Summary: Resolve JDK Issues Key: NETBEANS-3382 URL: https://issues.apache.org/jira/browse/NETBEANS-3382 Project: NetBeans Issue Type: Wish Reporter: Jarod Weaver If the project is being worked on by multiple computers where the binaries could be different from using different JDKs, where one may be lower than the other, to automatically fix/resolve those errors when loaded into the user's NetBeans -- 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-3383) NPE after "OK" of maven nbm project properties
Ernie Rael created NETBEANS-3383: Summary: NPE after "OK" of maven nbm project properties Key: NETBEANS-3383 URL: https://issues.apache.org/jira/browse/NETBEANS-3383 Project: NetBeans Issue Type: Bug Components: projects - Maven Affects Versions: 11.2 Environment: jdk1.8, windows. Reporter: Ernie Rael Attachments: save-nbm-properties-NPE.log, save-nbm-properties-NPE.uigestures On maven nbm project, editing project properties. For Category general added Name and Description. Hit "OK" button. got NPE. -- 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-3371) Navigate>GoToType gets Null Pointer Exception
[ https://issues.apache.org/jira/browse/NETBEANS-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ernie Rael updated NETBEANS-3371: - Priority: Major (was: Critical) > Navigate>GoToType gets Null Pointer Exception > - > > Key: NETBEANS-3371 > URL: https://issues.apache.org/jira/browse/NETBEANS-3371 > Project: NetBeans > Issue Type: Bug > Components: platform - Actions >Affects Versions: 11.2 > Environment: 11.2 IDE, windows >Reporter: Ernie Rael >Priority: Major > Attachments: gototype-failure.exception, gototype-failure.log > > > Download src.zip, specified with Tools>NetBeansPlatforms>sources for > Platforms>developmentIDE. Couldn't get it to work, so extracted source, > pointed to that, still didn't work. > # Steps: > In a "Installer extends ModuleInstall" (empty, just created with new) "with > the cursor over ModuleInstall, do Navigate>GotoType > # dialog comes up with ModuleInstall, ModuleInstaller, > ModuleInstallerSupport. > # Select either ModuleInstaller or ModuleInstallerSupport and get the > following exception > Note that ModuleInstall also used to fail (don't know about the exception) > but I think I manually navigated to the file or something and now it works to > bring up the source file. > # get exception > Note: sometimes you get source file not found error > Exception attached. > I have saved the messages.log. let me know if you want it. The dialog only > asked for the exception. -- 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-3337) Operation "read-attribute" failed - Hibernate
[ https://issues.apache.org/jira/browse/NETBEANS-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michał Kudela updated NETBEANS-3337: Priority: Blocker (was: Major) > Operation "read-attribute" failed - Hibernate > - > > Key: NETBEANS-3337 > URL: https://issues.apache.org/jira/browse/NETBEANS-3337 > Project: NetBeans > Issue Type: Bug > Components: javaee - Hibernate >Affects Versions: 11.1, 11.2 > Environment: Ubuntu: 18.04 > Java: 8 and 13 > WildFly: 15, 17 and 18 > Hibernate: 5.2.16 >Reporter: Michał Kudela >Priority: Blocker > Labels: Hibernate, wildfly > Attachments: server log hibernate error.txt > > > When deploying project to WildFly server it throws error: > Operation ("read-attribute") failed - address: ([ > ("deployment" => "SPERP40.war"), > ("subsystem" => "jpa"), > ("hibernate-persistence-unit" => "SPERP40.war#SPERP4DS"), > ("entity-cache" => "DatabaseEntieties.Axdzpdinp") > ]): java.lang.NullPointerException ... > > Full log in attachment (from the error onward) > The class Axdzpdinp is written correctly and there has been no changes since > Also from observations I noticed that deployment works in 11.0 and in some > earlier versions of 11.1 (current 11.1 and 11.2 have this problem) > I assume the error comes from NetBeans because changing WildFly version does > not affect this error, while changing NetBeans version (downgrade) makes the > error go away -- 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