[jira] [Updated] (NETBEANS-2315) Switch expression multi cases should have Enum values in auto complete options
[ https://issues.apache.org/jira/browse/NETBEANS-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-2315: - Labels: pull-request-available (was: ) > Switch expression multi cases should have Enum values in auto complete options > -- > > Key: NETBEANS-2315 > URL: https://issues.apache.org/jira/browse/NETBEANS-2315 > Project: NetBeans > Issue Type: Bug >Reporter: vikas kumar prabhakar >Assignee: vikas kumar prabhakar >Priority: Major > Labels: pull-request-available > > The multi cases in switch expression should show the enum value in auto > complete options: > Example: > enum state \{CANCELLED, INTERRUPTING, INTERRUPTED, NORMAL , EXCEPTIONAL} > String status = switch (state) { > case NORMAL -> "[Completed normally]"; > case EXCEPTIONAL, {color:#d04437}{color} -> "[Completed > exceptionally: " + outcome + "]"; > The auto complete option at should contain the enum value of > \{CANCELLED, INTERRUPTING, INTERRUPTED} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2315) Switch expression multi cases should have Enum values in auto complete options
vikas kumar prabhakar created NETBEANS-2315: --- Summary: Switch expression multi cases should have Enum values in auto complete options Key: NETBEANS-2315 URL: https://issues.apache.org/jira/browse/NETBEANS-2315 Project: NetBeans Issue Type: Bug Reporter: vikas kumar prabhakar Assignee: vikas kumar prabhakar The multi cases in switch expression should show the enum value in auto complete options: Example: enum state \{CANCELLED, INTERRUPTING, INTERRUPTED, NORMAL , EXCEPTIONAL} String status = switch (state) { case NORMAL -> "[Completed normally]"; case EXCEPTIONAL, {color:#d04437}{color} -> "[Completed exceptionally: " + outcome + "]"; The auto complete option at should contain the enum value of \{CANCELLED, INTERRUPTING, INTERRUPTED} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Closed] (NETBEANS-1675) Java Hint to fix error :different case kinds used in the switch in switch expressions
[ https://issues.apache.org/jira/browse/NETBEANS-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] vikas kumar prabhakar closed NETBEANS-1675. --- > Java Hint to fix error :different case kinds used in the switch in switch > expressions > - > > Key: NETBEANS-1675 > URL: https://issues.apache.org/jira/browse/NETBEANS-1675 > Project: NetBeans > Issue Type: Improvement >Reporter: ARUNAVA SINHA >Assignee: vikas kumar prabhakar >Priority: Major > Labels: 11.0-vc3, NB-JDK12, pull-request-available > Fix For: 11.0 > > Time Spent: 3h 40m > Remaining Estimate: 0h > > Code: > int i=10; > final String val = > switch (i) > { case 1 : break "one"; case 2 -> "two"; } > ; > Error will be displayed in editor 'different case kinds used in the switch' > Proposed fix: > Scenario 1: Switch Statements > int k = 1; > switch(k) { > case 1 : > System.out.println( "one"); > break; > case 2 -> System.out.println( "two"); > } > After Fix: > ink k = 1; > switch (k){ > case 1 -> System.out.println( "one"); > case 2 -> System.out.println( "two"); > } > Scenario 2: Switch Expression > int k= 1; > var val = > switch(k){ > case 1 : > break("one"); > case 2 -> "two"; > }; > After Fix: > int k= 1; > var val = > switch(k){ > case 1 -> "one"; > case 2 -> "two"; > }; > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2306) Missing resource AmazonJ2EEServerWizardComponent.containerLabel.text
[ https://issues.apache.org/jira/browse/NETBEANS-2306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802016#comment-16802016 ] Simon poortman commented on NETBEANS-2306: -- ... > Missing resource AmazonJ2EEServerWizardComponent.containerLabel.text > > > Key: NETBEANS-2306 > URL: https://issues.apache.org/jira/browse/NETBEANS-2306 > Project: NetBeans > Issue Type: Bug > Components: javaee - Code >Affects Versions: 11.0 >Reporter: Antonio Vieiro >Assignee: Simon poortman >Priority: Major > Attachments: netbeans-missing-resource-amazon.txt > > > This is for NetBeans 11.0 vc4 running on OpenJDK8 on Linux. > Create a new JavaEE Application (ant based). Then choose to add a server and > select "Amazon Beanstalk" as a target. > An exception is thrown stating a missing resource (attached exception). -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2314) StringIndexOutOfBoundsException during initial scanning
[ https://issues.apache.org/jira/browse/NETBEANS-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Roberto updated NETBEANS-2314: --- Labels: windows (was: ) > StringIndexOutOfBoundsException during initial scanning > --- > > Key: NETBEANS-2314 > URL: https://issues.apache.org/jira/browse/NETBEANS-2314 > Project: NetBeans > Issue Type: Bug >Affects Versions: 11.0 >Reporter: Juan Roberto >Priority: Minor > Labels: windows > > During initial scanning of my project, starting from a fresh user folder and > cache folder, y get the following error message: > java.lang.StringIndexOutOfBoundsException: begin 13, end 15, length 14 > at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3107) > at java.base/java.lang.String.substring(String.java:1873) > at > org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createParameterElement(JsDocElementUtils.java:189) > at > org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createElementForType(JsDocElementUtils.java:63) > at > org.netbeans.modules.javascript2.jsdoc.JsDocParser.parseCommentBlock(JsDocParser.java:138) > at > org.netbeans.modules.javascript2.jsdoc.JsDocParser.parse(JsDocParser.java:75) > at > org.netbeans.modules.javascript2.jsdoc.JsDocDocumentationHolder.getCommentBlocks(JsDocDocumentationHolder.java:41) > at > org.netbeans.modules.javascript2.model.ModelVisitor.processJsDoc(ModelVisitor.java:1343) > at > org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:945) > at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301) > at > com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60) > at > com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47) > at > org.netbeans.modules.javascript2.model.ModelVisitor.init(ModelVisitor.java:145) > at > org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:168) > at > org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:468) > at > org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:96) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223) > [catch] at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) > at org.
[jira] [Updated] (NETBEANS-2314) StringIndexOutOfBoundsException during initial scanning
[ https://issues.apache.org/jira/browse/NETBEANS-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Roberto updated NETBEANS-2314: --- Description: During initial scanning of my project, starting from a fresh user folder and cache folder, y get the following error message: java.lang.StringIndexOutOfBoundsException: begin 13, end 15, length 14 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3107) at java.base/java.lang.String.substring(String.java:1873) at org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createParameterElement(JsDocElementUtils.java:189) at org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createElementForType(JsDocElementUtils.java:63) at org.netbeans.modules.javascript2.jsdoc.JsDocParser.parseCommentBlock(JsDocParser.java:138) at org.netbeans.modules.javascript2.jsdoc.JsDocParser.parse(JsDocParser.java:75) at org.netbeans.modules.javascript2.jsdoc.JsDocDocumentationHolder.getCommentBlocks(JsDocDocumentationHolder.java:41) at org.netbeans.modules.javascript2.model.ModelVisitor.processJsDoc(ModelVisitor.java:1343) at org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:945) at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301) at com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60) at com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47) at org.netbeans.modules.javascript2.model.ModelVisitor.init(ModelVisitor.java:145) at org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:168) at org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:468) at org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:96) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223) [catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSo
[jira] [Updated] (NETBEANS-2314) StringIndexOutOfBoundsException during initial scanning
[ https://issues.apache.org/jira/browse/NETBEANS-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Roberto updated NETBEANS-2314: --- Description: During initial scanning of my project, starting from a fresh user folder and cache folder, y get the following error message: java.lang.StringIndexOutOfBoundsException: begin 13, end 15, length 14 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3107) at java.base/java.lang.String.substring(String.java:1873) at org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createParameterElement(JsDocElementUtils.java:189) at org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createElementForType(JsDocElementUtils.java:63) at org.netbeans.modules.javascript2.jsdoc.JsDocParser.parseCommentBlock(JsDocParser.java:138) at org.netbeans.modules.javascript2.jsdoc.JsDocParser.parse(JsDocParser.java:75) at org.netbeans.modules.javascript2.jsdoc.JsDocDocumentationHolder.getCommentBlocks(JsDocDocumentationHolder.java:41) at org.netbeans.modules.javascript2.model.ModelVisitor.processJsDoc(ModelVisitor.java:1343) at org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:945) at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301) at com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60) at com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47) at org.netbeans.modules.javascript2.model.ModelVisitor.init(ModelVisitor.java:145) at org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:168) at org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:468) at org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:96) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223) [catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSo
[jira] [Updated] (NETBEANS-2314) StringIndexOutOfBoundsException during initial scanning
[ https://issues.apache.org/jira/browse/NETBEANS-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juan Roberto updated NETBEANS-2314: --- Description: During initial scanning of my project, starting from a fresh user folder and cache folder, y get this errir java.lang.StringIndexOutOfBoundsException: begin 13, end 15, length 14 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3107) at java.base/java.lang.String.substring(String.java:1873) at org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createParameterElement(JsDocElementUtils.java:189) at org.netbeans.modules.javascript2.jsdoc.model.JsDocElementUtils.createElementForType(JsDocElementUtils.java:63) at org.netbeans.modules.javascript2.jsdoc.JsDocParser.parseCommentBlock(JsDocParser.java:138) at org.netbeans.modules.javascript2.jsdoc.JsDocParser.parse(JsDocParser.java:75) at org.netbeans.modules.javascript2.jsdoc.JsDocDocumentationHolder.getCommentBlocks(JsDocDocumentationHolder.java:41) at org.netbeans.modules.javascript2.model.ModelVisitor.processJsDoc(ModelVisitor.java:1343) at org.netbeans.modules.javascript2.model.ModelVisitor.enterFunctionNode(ModelVisitor.java:945) at com.oracle.js.parser.ir.FunctionNode.accept(FunctionNode.java:301) at com.oracle.js.parser.ir.LexicalContextNode$Acceptor.accept(LexicalContextNode.java:60) at com.oracle.js.parser.ir.LexicalContextExpression.accept(LexicalContextExpression.java:47) at org.netbeans.modules.javascript2.model.ModelVisitor.init(ModelVisitor.java:145) at org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:168) at org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:468) at org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:96) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223) [catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(Repository
[jira] [Created] (NETBEANS-2314) StringIndexOutOfBoundsException during initial scanning
Juan Roberto created NETBEANS-2314: -- Summary: StringIndexOutOfBoundsException during initial scanning Key: NETBEANS-2314 URL: https://issues.apache.org/jira/browse/NETBEANS-2314 Project: NetBeans Issue Type: Bug Affects Versions: 11.0 Reporter: Juan Roberto -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2249) Web Pages folder not shown in Gradle projects with 'war' plugin
[ https://issues.apache.org/jira/browse/NETBEANS-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801940#comment-16801940 ] Juan Roberto commented on NETBEANS-2249: There is a trick you can do to make the web folder show up, that involves manually adding the web folder to build.gradle. But even then when opening a JSP, netbeans shows no autocomplete in EL expressions, imports, or anything java related. It seems that NB 11 does not support Gradle web projects as of yet. > Web Pages folder not shown in Gradle projects with 'war' plugin > --- > > Key: NETBEANS-2249 > URL: https://issues.apache.org/jira/browse/NETBEANS-2249 > Project: NetBeans > Issue Type: Improvement > Components: javaee - Web Project, projects - Gradle >Affects Versions: 11.0 > Environment: Product Version: Apache NetBeans IDE Dev (Build > incubator-netbeans-release-395-on-20190310) > Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9 > Runtime: OpenJDK Runtime Environment 11.0.2+9 > System: Linux version 4.15.0-46-generic running on amd64; UTF-8; es_CL (nb) >Reporter: Pablo Carmona A. >Priority: Major > > After I add "apply plugin: 'war'" to file build.gradle of a new generated > Gradle project, the project's icon is shown with a globe symbol, like in web > projects, but I can not see the web files neither I can launch it with a > configured server. I would like to be able to run it as same as Maven web > projects. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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
[incubator-netbeans-website] branch ebarboni-websitehtaccescgi deleted (was 225624a)
This is an automated email from the ASF dual-hosted git repository. skygo pushed a change to branch ebarboni-websitehtaccescgi in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git. was 225624a Update htaccess for cgi script The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository. - 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-2313) Module ${related.module.name} not found for JUnit test
John Neffenger created NETBEANS-2313: Summary: Module ${related.module.name} not found for JUnit test Key: NETBEANS-2313 URL: https://issues.apache.org/jira/browse/NETBEANS-2313 Project: NetBeans Issue Type: Bug Components: java - JUnit Affects Versions: 11.0 Environment: Product: Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319) Java: OpenJDK 64-Bit Server VM 12+33 System: Linux version 4.15.0-46-generic running on amd64 Reporter: John Neffenger Attachments: related-module-name.log When I try to run a JUnit 4.12 test case in a non-modular project, I get the following error: {noformat} Error occurred during initialization of boot layer java.lang.module.FindException: Module ${related.module.name} not found {noformat} The full output with the Ant Verbosity Level set to _Verbose_ is attached below. I can work around the issue by changing the project's Run-time Test Libraries under Project Properties > Libraries > Run Tests as follows. *Before (default, fails)* {noformat} Modulepath Modulepath for Compiling Tests Classpath Classpath for Compiling Tests Compiled Tests {noformat} *After (works)* {noformat} Modulepath Classpath Modulepath for Compiling Tests Classpath for Compiling Tests Compiled Tests {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1537) File - Open... "Windows cannot find the target"
[ https://issues.apache.org/jira/browse/NETBEANS-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801728#comment-16801728 ] Geertjan Wielenga commented on NETBEANS-1537: - Just be happy, count your blessings, knock on wood, and keep your fingers crossed. :-) > File - Open... "Windows cannot find the target" > --- > > Key: NETBEANS-1537 > URL: https://issues.apache.org/jira/browse/NETBEANS-1537 > Project: NetBeans > Issue Type: Bug > Components: platform - Dialogs&Wizards >Affects Versions: 8.2, 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE 9.0 (Build > incubator-netbeans-release-334-on-20180708) > Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 > Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12 > Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12 > System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb), Windows > 10 version 10.0 running on amd64; UTF-8; en_US (nb) >Reporter: D Burbridge >Priority: Critical > Labels: dialog, file, menu, open, save > Attachments: NetBeans64_debug.TXT > > > When trying to access any file dialog, I get the message: > > netbeans64.exe > Windows cannot find the target. > OK > > Clicking OK repeats the message several times, until it finally clears. > Plus, in the log I have: > > WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot switch to > silent mode when not running at > org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:244) > > (repeated several times again) > It seems to be the file browsing dialog box that's the problem, as it arises > on all those I've tested so far: > File - Open Project > File - Open File > File - Save As > File - Import Project - From Zip - Browse > Tools - Options - Java - Ant - Browse > > I tried deactivating all plugins but the error still occurred, so it looks > like it's a netbeans issue, not 3rd party. (In fact, all I achieved was the > complete loss of my plugins as I don't seem to be able to reactivate them > now!) > > The other factor to be aware of is that there are a number of shortcuts on my > desktop which are currently invalid. I wonder if there is some checking going > on within the dialog to see where those shortcuts go, but it's creating the > error I'm seeing? In which case, the checking needs to be done silently - > after all, invalid shortcuts aren't unusual, especially when working offline. > Besides, the error comes up (5-6 times) not just when the "Open file" dialog > comes up, but 2-3 times every time I change directory within that dialog! > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-1537) File - Open... "Windows cannot find the target"
[ https://issues.apache.org/jira/browse/NETBEANS-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801719#comment-16801719 ] D Burbridge commented on NETBEANS-1537: --- Just tried with OpenJDK 12 - no problem! So looks like the broken code is indeed in the JDK, and has now been fixed? > File - Open... "Windows cannot find the target" > --- > > Key: NETBEANS-1537 > URL: https://issues.apache.org/jira/browse/NETBEANS-1537 > Project: NetBeans > Issue Type: Bug > Components: platform - Dialogs&Wizards >Affects Versions: 8.2, 9.0, 10.0 > Environment: Product Version: Apache NetBeans IDE 9.0 (Build > incubator-netbeans-release-334-on-20180708) > Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2 > Java: 1.8.0_192; Java HotSpot(TM) 64-Bit Server VM 25.192-b12 > Runtime: Java(TM) SE Runtime Environment 1.8.0_192-b12 > System: Windows 7 version 6.1 running on amd64; Cp1252; en_GB (nb), Windows > 10 version 10.0 running on amd64; UTF-8; en_US (nb) >Reporter: D Burbridge >Priority: Critical > Labels: dialog, file, menu, open, save > Attachments: NetBeans64_debug.TXT > > > When trying to access any file dialog, I get the message: > > netbeans64.exe > Windows cannot find the target. > OK > > Clicking OK repeats the message several times, until it finally clears. > Plus, in the log I have: > > WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot switch to > silent mode when not running at > org.netbeans.core.ui.warmup.MenuWarmUpTask$NbWindowsAdapter$1HandleBridge.run(MenuWarmUpTask.java:244) > > (repeated several times again) > It seems to be the file browsing dialog box that's the problem, as it arises > on all those I've tested so far: > File - Open Project > File - Open File > File - Save As > File - Import Project - From Zip - Browse > Tools - Options - Java - Ant - Browse > > I tried deactivating all plugins but the error still occurred, so it looks > like it's a netbeans issue, not 3rd party. (In fact, all I achieved was the > complete loss of my plugins as I don't seem to be able to reactivate them > now!) > > The other factor to be aware of is that there are a number of shortcuts on my > desktop which are currently invalid. I wonder if there is some checking going > on within the dialog to see where those shortcuts go, but it's creating the > error I'm seeing? In which case, the checking needs to be done silently - > after all, invalid shortcuts aren't unusual, especially when working offline. > Besides, the error comes up (5-6 times) not just when the "Open file" dialog > comes up, but 2-3 times every time I change directory within that dialog! > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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-2312) Stackoverflow crash while indexing project
Stefan created NETBEANS-2312: Summary: Stackoverflow crash while indexing project Key: NETBEANS-2312 URL: https://issues.apache.org/jira/browse/NETBEANS-2312 Project: NetBeans Issue Type: Bug Affects Versions: 10.0 Reporter: Stefan {code:java} WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater] java.lang.StackOverflowError at java.base/java.util.WeakHashMap.getTable(WeakHashMap.java:350) at java.base/java.util.WeakHashMap.get(WeakHashMap.java:398) at org.openide.util.lookup.MetaInfServicesLookup.beforeLookup(MetaInfServicesLookup.java:121) at org.openide.util.lookup.AbstractLookup.lookupItem(AbstractLookup.java:402) at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:396) at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:197) at org.netbeans.modules.javascript2.model.JsElementImpl.isInternalFile(JsElementImpl.java:194) at org.netbeans.modules.javascript2.model.JsElementImpl.isPlatform(JsElementImpl.java:188) at org.netbeans.modules.javascript2.model.api.IndexedElement$Flag.getFlag(IndexedElement.java:387) at org.netbeans.modules.javascript2.editor.index.JsIndexer.createDocument(JsIndexer.java:121) at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:221) at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) // ... at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) [catch] at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:229) {code} I received this right after importing a new project, together with a NullPointerException when trying to update the repository: {code:java} WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater] java.lang.NullPointerException at org.netbeans.modules.javascript2.model.JsObjectImpl.addAssignment(JsObjectImpl.java:272) at org.netbeans.modules.javascript2.nodejs.editor.model.NodeJsObjectInterceptor.interceptGlobal(NodeJsObjectInterceptor.java:73) at org.netbeans.modules.javascript2.model.api.Model.getModelVisitor(Model.java:179) at org.netbeans.modules.javascript2.model.api.Model.getGlobalObject(Model.java:468) at org.netbeans.modules.javascript2.editor.index.JsIndexer.index(JsIndexer.java:96) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223) [catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) at org.