[jira] [Created] (NETBEANS-2440) Cannot Debug Focused Test Method with project created by Netbean 8.2 in Netbean 11
Thai Thien created NETBEANS-2440: Summary: Cannot Debug Focused Test Method with project created by Netbean 8.2 in Netbean 11 Key: NETBEANS-2440 URL: https://issues.apache.org/jira/browse/NETBEANS-2440 Project: NetBeans Issue Type: Bug Affects Versions: 11.0, 8.2 Reporter: Thai Thien How to reproduce: # Create project with Netbean 8.2 # Create test method in Netbean 8.2 (right click -> Tools -> create/update tests) # Select (highlight) a method in test, right click -> Debug Focused Test Method. Make sure it can run with Netbean 8.2 # Close Netbean 8.2 # Open project with Netbean 11.0 # Select (highlight) a method in test, right click -> Debug Focused Test Method. Make sure it can run with Netbean 8.2 # it show error Target "debug-single-method" does not exist in the project "your project name" -- 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-591) Cannot debug failed test method from Test results window
[ https://issues.apache.org/jira/browse/NETBEANS-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822846#comment-16822846 ] Thai Thien commented on NETBEANS-591: - it is seem that the problem happen when you are open Netbean 8.2 project with Netbean 11 Also, when you are trying to debug a specific test function (right click -> Debug focused test method), it also said Target "debug-single-method" does not exist in the project "your-project-name". > Cannot debug failed test method from Test results window > > > Key: NETBEANS-591 > URL: https://issues.apache.org/jira/browse/NETBEANS-591 > Project: NetBeans > Issue Type: Bug > Components: java - JUnit >Reporter: Manikantan Narender Nath >Priority: Major > > Steps to reproduce > Run a junit test case which fails > In the test results window select the test method that failed > Right click and choose debug from the context menu > Expected result: > The test method is run > Actual result : Cannot run the test method > {code:java} > ant -f /Users/msivasub/dev/NetCat9/NBProjects/JUnitSampleProjectAnt > -Dnb.internal.action.name=debug.single.method > -Djavac.includes=teststorun/CalculatorTest.java -Dtest.method=testDivide > -Dtest.class=teststorun.CalculatorTest debug-single-method > Target "debug-single-method" does not exist in the project > "JUnitSampleProjectAnt". > BUILD FAILED (total time: 0 seconds) > {code} > Test specification : Junit Test specification > ([http://netbeans-vm.apache.org/synergy/client/app/#/specification/390/v/2)] > > Test Suite: Result window actions > ([http://netbeans-vm.apache.org/synergy/client/app/#/suite/2235)] > Test case: Debug ( > [http://netbeans-vm.apache.org/synergy/client/app/#/case/5996/suite/2235/v/1] > ) > -- 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] [Comment Edited] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822399#comment-16822399 ] mck edited comment on NETBEANS-888 at 4/22/19 12:53 AM: bq. Clicking on File>Open Recent File>File doesn't open the file but using the shortcut for the most recent one works. I can confirm with debugging Netbeans that the method {code}RecentFileAction.actionPerformed(action){code} never gets call when using the menu, but does get called when using the shortcut. When using the menu, the code goes through {{TimeableEventQueue.dispatchEvent(event)}} but never reaches {{RecentFileAction.actionPerformed(action)}}. The event in {{TimeableEventQueue}} is of type {{java.awt.event.ActionEvent}} and a {{paramString}} of {{ACTION_PERFORMED}}, similar to when the menu UI action for {{RecentProjects}} is performed. The only percularity I've found so far is the {{event.source}} incrementally increases name {{"menuitemX"}}, while for {{RecentProjects}} the menuitem source names are stable for the projects listed in the submenu. was (Author: michaelsembwever): bq. Clicking on File>Open Recent File>File doesn't open the file but using the shortcut for the most recent one works. I can confirm with debugging Netbeans that the method {code}RecentFileAction.actionPerformed(action){code} never gets call when using the menu, but does get called when using the shortcut. > Open Recent file not working > > > Key: NETBEANS-888 > URL: https://issues.apache.org/jira/browse/NETBEANS-888 > Project: NetBeans > Issue Type: Bug > Components: ide - UI >Affects Versions: 9.0, 10.0, 11.0 > Environment: MacOS High Sierra version 10.13.4 > MacOS Mojave 10.14.4 >Reporter: Javier A. Ortiz >Priority: Major > > Clicking on File>Open Recent File>File doesn't open the file but using the > shortcut for the most recent one works. > No error or suspecting messages in the log either. -- 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-2439) Java Frontend Application cannot be activated/created
[ https://issues.apache.org/jira/browse/NETBEANS-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gergely Turi updated NETBEANS-2439: --- Priority: Major (was: Minor) > Java Frontend Application cannot be activated/created > - > > Key: NETBEANS-2439 > URL: https://issues.apache.org/jira/browse/NETBEANS-2439 > Project: NetBeans > Issue Type: Bug > Components: java - Project >Affects Versions: 10.0, 11.0 > Environment: System: > Kernel: 4.15.0-47-generic x86_64 bits: 64 > Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa > Machine: > Type: Laptop System: ASUSTeK product: X45C v: 1.0 > Mobo: ASUSTeK model: X45C v: 1.0 > CPU: > Dual Core: Intel Core i3-3110M type: MT MCP speed: 1197 MHz > min/max: 1200/2400 MHz > Graphics: > Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel > Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa > resolution: 1366x768~60Hz > OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.8 >Reporter: Gergely Turi >Priority: Major > Labels: beginner, usability > Attachments: Java Frontend Application.png > > > Java Frontend Application cannot be activated/created. > New Project -> Java with Maven -> Java Frontend Application -> nothing > appears, no buttons for activation or any fields for the creation of a project -- 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-2439) Java Frontend Application cannot be activated/created
Gergely Turi created NETBEANS-2439: -- Summary: Java Frontend Application cannot be activated/created Key: NETBEANS-2439 URL: https://issues.apache.org/jira/browse/NETBEANS-2439 Project: NetBeans Issue Type: Bug Components: java - Project Affects Versions: 11.0, 10.0 Environment: System: Kernel: 4.15.0-47-generic x86_64 bits: 64 Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa Machine: Type: Laptop System: ASUSTeK product: X45C v: 1.0 Mobo: ASUSTeK model: X45C v: 1.0 CPU: Dual Core: Intel Core i3-3110M type: MT MCP speed: 1197 MHz min/max: 1200/2400 MHz Graphics: Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.8 Reporter: Gergely Turi Attachments: Java Frontend Application.png Java Frontend Application cannot be activated/created. New Project -> Java with Maven -> Java Frontend Application -> nothing appears, no buttons for activation or any fields for the creation of a project -- 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] [Assigned] (NETBEANS-2392) Opening type from Go To Type fails
[ https://issues.apache.org/jira/browse/NETBEANS-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi reassigned NETBEANS-2392: - Assignee: Jan Lahoda > Opening type from Go To Type fails > -- > > Key: NETBEANS-2392 > URL: https://issues.apache.org/jira/browse/NETBEANS-2392 > Project: NetBeans > Issue Type: Bug > Components: java - Navigation, java - Platform >Affects Versions: 10.0 > Environment: Netbeans 10 and 11 > Open JDK 11 > Gradle 5.2.1 >Reporter: Netbeans User 2019 >Assignee: Jan Lahoda >Priority: Critical > > It is simply not open a type that it is clicked from dialog and dialog is > closed, but you have to type such type to editor and import it and then click > it from there for sucessful open. > It seems that does not happend for opened project/sub-projects sources, even > seems no issue e.g. with junit or Java SE API sources. > Additionally this is seen from notification after: > java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType > cannot be cast to class com.sun.tools.javac.code.Type$ErrorType > (com.sun.tools.javac.code.Type$ClassType and > com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @27597305) > at > org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:863) > at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1119) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeAnnotationTree(CodeGenerator.java:449) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeMods(CodeGenerator.java:411) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:373) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285) > at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473) > at > javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106) > at > org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275) > at > org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232) > at > org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662) > at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) > at > org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683) > at > org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152) > at > org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44) > at > org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118) > at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99) > at > org.netbeans.modules.java.source.ui.JavaTypeDescription.open(JavaTypeDescription.java:121) > at > org.netbeans.modules.jumpto.type.GoToTypeAction.actionPerformed(GoToTypeAction.java:153) > at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151) > at > java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962) > at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) > at java.desktop/java.awt.Component.processEvent(Component.java:6409) > at java.desktop/java.awt.Container.processEvent(
[jira] [Commented] (NETBEANS-2392) Opening type from Go To Type fails
[ https://issues.apache.org/jira/browse/NETBEANS-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822679#comment-16822679 ] Laszlo Kishalmi commented on NETBEANS-2392: --- I doubt this is related to Gradle. BTW Is nb-javac installed or not usually we see such issues where no nb-javac is installed. > Opening type from Go To Type fails > -- > > Key: NETBEANS-2392 > URL: https://issues.apache.org/jira/browse/NETBEANS-2392 > Project: NetBeans > Issue Type: Bug > Components: java - Navigation, java - Platform >Affects Versions: 10.0 > Environment: Netbeans 10 and 11 > Open JDK 11 > Gradle 5.2.1 >Reporter: Netbeans User 2019 >Priority: Critical > > It is simply not open a type that it is clicked from dialog and dialog is > closed, but you have to type such type to editor and import it and then click > it from there for sucessful open. > It seems that does not happend for opened project/sub-projects sources, even > seems no issue e.g. with junit or Java SE API sources. > Additionally this is seen from notification after: > java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType > cannot be cast to class com.sun.tools.javac.code.Type$ErrorType > (com.sun.tools.javac.code.Type$ClassType and > com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @27597305) > at > org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:863) > at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1119) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeAnnotationTree(CodeGenerator.java:449) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeMods(CodeGenerator.java:411) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:373) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285) > at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473) > at > javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106) > at > org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275) > at > org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232) > at > org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662) > at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) > at > org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683) > at > org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152) > at > org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44) > at > org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118) > at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99) > at > org.netbeans.modules.java.source.ui.JavaTypeDescription.open(JavaTypeDescription.java:121) > at > org.netbeans.modules.jumpto.type.GoToTypeAction.actionPerformed(GoToTypeAction.java:153) > at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151) > at > java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962) > at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) >
[jira] [Updated] (NETBEANS-2392) Opening type from Go To Type fails
[ https://issues.apache.org/jira/browse/NETBEANS-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Kishalmi updated NETBEANS-2392: -- Component/s: (was: projects - Gradle) > Opening type from Go To Type fails > -- > > Key: NETBEANS-2392 > URL: https://issues.apache.org/jira/browse/NETBEANS-2392 > Project: NetBeans > Issue Type: Bug > Components: java - Navigation, java - Platform >Affects Versions: 10.0 > Environment: Netbeans 10 and 11 > Open JDK 11 > Gradle 5.2.1 >Reporter: Netbeans User 2019 >Priority: Critical > > It is simply not open a type that it is clicked from dialog and dialog is > closed, but you have to type such type to editor and import it and then click > it from there for sucessful open. > It seems that does not happend for opened project/sub-projects sources, even > seems no issue e.g. with junit or Java SE API sources. > Additionally this is seen from notification after: > java.lang.ClassCastException: class com.sun.tools.javac.code.Type$ClassType > cannot be cast to class com.sun.tools.javac.code.Type$ErrorType > (com.sun.tools.javac.code.Type$ClassType and > com.sun.tools.javac.code.Type$ErrorType are in unnamed module of loader > org.netbeans.StandardModule$OneModuleClassLoader @27597305) > at > org.netbeans.modules.java.source.builder.TreeFactory.Type(TreeFactory.java:863) > at org.netbeans.api.java.source.TreeMaker.Type(TreeMaker.java:1119) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeAnnotationTree(CodeGenerator.java:449) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.computeMods(CodeGenerator.java:411) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:373) > at > org.netbeans.modules.java.classfile.CodeGenerator$TreeBuilder.visitType(CodeGenerator.java:285) > at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1473) > at > javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106) > at > org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:275) > at > org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:232) > at > org.netbeans.modules.java.classfile.CodeGenerator$1.run(CodeGenerator.java:152) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:672) > at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:662) > at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) > at > org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) > at > org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) > at > org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) > at > org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) > at > org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) > at > org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) > at > org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) > at > org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) > at > org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) > at > org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) > at > org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) > at > org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:683) > at > org.netbeans.modules.java.classfile.CodeGenerator.generateCode(CodeGenerator.java:152) > at > org.netbeans.modules.java.classfile.BinaryElementOpenImpl.open(BinaryElementOpenImpl.java:44) > at > org.netbeans.api.java.source.ui.ElementOpen.binaryOpen(ElementOpen.java:118) > at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:99) > at > org.netbeans.modules.java.source.ui.JavaTypeDescription.open(JavaTypeDescription.java:121) > at > org.netbeans.modules.jumpto.type.GoToTypeAction.actionPerformed(GoToTypeAction.java:153) > at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151) > at > java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962) > at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862) > at java.desktop/java.awt.Component.processEvent(Component.java:6409) > at java.desktop/java.awt.Container.processEvent(Container.java:2263)
[jira] [Commented] (NETBEANS-2340) .json reader is erroring up every time we open the composer.json for each new opend project
[ https://issues.apache.org/jira/browse/NETBEANS-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822666#comment-16822666 ] Rajab Natshah commented on NETBEANS-2340: - I do install it every time The Apache Netbeans will crash when its open and ask me to disable. But when I want to open any JSON file it will ask me to install it again!! > .json reader is erroring up every time we open the composer.json for each new > opend project > --- > > Key: NETBEANS-2340 > URL: https://issues.apache.org/jira/browse/NETBEANS-2340 > Project: NetBeans > Issue Type: Bug > Components: javascript - JSON >Affects Versions: 9.0 >Reporter: Rajab Natshah >Priority: Major > Labels: ParserExtension, json, parser > Original Estimate: 168h > Remaining Estimate: 168h > > h3. *Problem/Motivation* > {{(Why the issue was filed, steps to reproduce the problem, etc.)}} > > > {code:java} > Given that we have created new projects with any .json file > When we close Apache NetBeans IDE > And We open it again > And we try to open the project again > And we try to open the .json file ( composer.json or package.json ) > Then we will run into an interface to re-install the .json parser > {code} > h3. {{*Proposed resolution*}} > Description of the proposed solution, the rationale behind it, and > workarounds for people who cannot use the patch.) > {{Use another .json parser or not the oracle one as a default as it keeps > crashing and been removed from the IDE}} > h3. *{{Remaining tasks}}* > {{(reviews needed, tests to be written or run, documentation to be written, > etc.)}} > > {{A way to replace the .json parser}} > h3. *{{User interface changes}}* > {{(New or changed features/functionality in the user interface, modules added > or removed, changes to URL paths, changes to user interface text.)}} > {{Better JSON layout and parser}} > > h4. API changes > API changes/additions that would affect module, install profile, and theme > developers, including examples of before/after code if appropriate.) > {{Not to let developers use or install the oracle .json parser by default}} > h3. {{*Data model changes*}} > (Database or configuration data changes that would make stored data on an > existing site incompatible with the site's updated codebase, including > changes , configuration schema or keys, or the expected format of stored > data, etc.) > -- 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-2408) Date.getTime() can be changed to System.currentTimeMillis()
[ https://issues.apache.org/jira/browse/NETBEANS-2408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822663#comment-16822663 ] Christian Lenz commented on NETBEANS-2408: -- Would be nice, to have a performance impact here, but please [~bd2019us] help us to identify you as you can read it inside of your PRs. Thx :) > Date.getTime() can be changed to System.currentTimeMillis() > --- > > Key: NETBEANS-2408 > URL: https://issues.apache.org/jira/browse/NETBEANS-2408 > Project: NetBeans > Issue Type: Bug >Reporter: bd2019us >Priority: Major > Labels: pull-request-available > Attachments: 1.patch > > Time Spent: 20m > Remaining Estimate: 0h > > Hello, > I found that System.currentTimeMillis() can be used here instead of new > Date.getTime(). > Since new Date() is a thin wrapper of light method > System.currentTimeMillis(). The performance will be greatly damaged if it is > invoked too much times. > According to my local testing at the same environment, > System.currentTimeMillis() can achieve a speedup to 5 times (435 ms vs 2073 > ms), when these two methods are invoked 5,000,000 times. -- 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