[jira] [Resolved] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mck resolved NETBEANS-888. -- Resolution: Fixed > 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 > JDK 11 >Reporter: Javier A. Ortiz >Assignee: mck >Priority: Major > Labels: pull-request-available > Fix For: 12.0 > > Time Spent: 2h > Remaining Estimate: 0h > > 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] [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=16825487#comment-16825487 ] mck edited comment on NETBEANS-888 at 4/24/19 8:34 PM: --- Using the popup menu listener was recreating the menuItems too frequently, leading to the ScreenMenuItems not being connected to them. Replaced the popup menu listener with a property change listener based on {{RecentFile}}. This matches the approach taken by {{RecentProjects}}. Pull Request at https://github.com/apache/incubator-netbeans/pull/1216 was (Author: michaelsembwever): Using the popup menu listener was recreating the menuItems too frequently, leading to the {{ScreenMenuItem}}s not being connected to them. Replaced the popup menu listener with a property change listener based on {{RecentFile}}. This matches the approach taken by {{RecentProjects}}. Pull Request at https://github.com/apache/incubator-netbeans/pull/1216 > 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 > JDK 11 >Reporter: Javier A. Ortiz >Assignee: mck >Priority: Major > Labels: pull-request-available > Fix For: 12.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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] [Commented] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16825487#comment-16825487 ] mck commented on NETBEANS-888: -- Using the popup menu listener was recreating the menuItems too frequently, leading to the {{ScreenMenuItem}}s not being connected to them. Replaced the popup menu listener with a property change listener based on {{RecentFile}}. This matches the approach taken by {{RecentProjects}}. Pull Request at https://github.com/apache/incubator-netbeans/pull/1216 > 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 > JDK 11 >Reporter: Javier A. Ortiz >Assignee: mck >Priority: Major > Labels: pull-request-available > Fix For: 12.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mck updated NETBEANS-888: - Fix Version/s: 12.0 > 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 > JDK 11 >Reporter: Javier A. Ortiz >Assignee: mck >Priority: Major > Fix For: 12.0 > > > 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] [Assigned] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mck reassigned NETBEANS-888: Assignee: mck > 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 > JDK 11 >Reporter: Javier A. Ortiz >Assignee: mck >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] [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=16825049#comment-16825049 ] mck edited comment on NETBEANS-888 at 4/24/19 11:49 AM: The stacktrace for choosing an menuItem under {{RecentProjects}} is {code} at org.netbeans.modules.project.ui.actions.RecentProjects$MenuItemActionListener.actionPerformed(RecentProjects.java:219) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369) at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:129) at java.desktop/java.awt.MenuItem.processActionEvent(MenuItem.java:690) at java.desktop/java.awt.MenuItem.processEvent(MenuItem.java:649) at java.desktop/java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:375) at java.desktop/java.awt.MenuComponent.dispatchEvent(MenuComponent.java:363) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:139) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) {code} The stacktrace for {{RecentFileAction}} doesn't make it through the {{MenuComponent.dispatchEventImpl(..)}} call as the following code in {{MenuItem}} returns false {code} boolean eventEnabled(AWTEvent e) { if (e.id == ActionEvent.ACTION_PERFORMED) { if ((eventMask & AWTEvent.ACTION_EVENT_MASK) != 0 || actionListener != null) { return true; } return false; } return super.eventEnabled(e); } {code} This method returns {{true}} for {{RecentProjects}} because the {{actionListener}} exists. It is of type {{ScreenMenuItem}}, with its {{fMenuItem}} field of type {{RecentProjects$1}} that's created here: https://github.com/apache/incubator-netbeans/blob/release110/ide/projectui/src/org/netbeans/modules/project/ui/actions/RecentProjects.java#L151 was (Author: michaelsembwever): Under these conditions the {{java.awt.event.ActionEvent}} passes through {{java.awt.EventQueue}} without being handled. See https://hg.openjdk.java.net/jdk/jdk11/file/1ddf9a99e4ad/src/java.desktop/share/classes/java/awt/EventQueue.java#l765 The method argument {{src}} is of class {{com.apple.laf.ScreenMenuItem}} and is a subclass of {{MenuComponent}}. The stacktrace for choosing an menuItem under {{RecentProjects}} is {code} at org.netbeans.modules.project.ui.actions.RecentProjects$MenuItemActionListener.actionPerformed(RecentProjects.java:219) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at
[jira] [Commented] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16825049#comment-16825049 ] mck commented on NETBEANS-888: -- Under these conditions the {{java.awt.event.ActionEvent}} passes through {{java.awt.EventQueue}} without being handled. See https://hg.openjdk.java.net/jdk/jdk11/file/1ddf9a99e4ad/src/java.desktop/share/classes/java/awt/EventQueue.java#l765 The method argument {{src}} is of class {{com.apple.laf.ScreenMenuItem}} and is a subclass of {{MenuComponent}}. The stacktrace for choosing an menuItem under {{RecentProjects}} is {code} at org.netbeans.modules.project.ui.actions.RecentProjects$MenuItemActionListener.actionPerformed(RecentProjects.java:219) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369) at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:129) at java.desktop/java.awt.MenuItem.processActionEvent(MenuItem.java:690) at java.desktop/java.awt.MenuItem.processEvent(MenuItem.java:649) at java.desktop/java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:375) at java.desktop/java.awt.MenuComponent.dispatchEvent(MenuComponent.java:363) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:139) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) {code} The stacktrace for {{RecentFileAction}} doesn't make it through the {{MenuComponent.dispatchEventImpl(..)}} call as the following code in {{MenuItem}} returns false {code} boolean eventEnabled(AWTEvent e) { if (e.id == ActionEvent.ACTION_PERFORMED) { if ((eventMask & AWTEvent.ACTION_EVENT_MASK) != 0 || actionListener != null) { return true; } return false; } return super.eventEnabled(e); } {code} This method returns {{true}} for {{RecentProjects}} because the {{actionListener}} exists. It is of type {{ScreenMenuItem}}, with its {{fMenuItem}} field of type {{RecentProjects$1}} that's created here: https://github.com/apache/incubator-netbeans/blob/release110/ide/projectui/src/org/netbeans/modules/project/ui/actions/RecentProjects.java#L151 > 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 > JDK 11 >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)
[jira] [Updated] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mck updated NETBEANS-888: - Environment: MacOS High Sierra version 10.13.4 MacOS Mojave 10.14.4 JDK 11 was: MacOS High Sierra version 10.13.4 MacOS Mojave 10.14.4 > 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 > JDK 11 >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] [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=16824906#comment-16824906 ] mck edited comment on NETBEANS-888 at 4/24/19 8:29 AM: --- bq. Only mac related? For me, on windows 10 with NB 10 and JDK 11.0.2 the menu entry is working. Indeed. The bug depends on - macos - {{`apple.laf.useScreenMenuBar=true`}} - jdk >1.8 (currently experiencing it with 11.0.3) was (Author: michaelsembwever): bq. Only mac related? For me, on windows 10 with NB 10 and JDK 11.0.2 the menu entry is working. Indeed. The bug depends on - macos - {{`apple.laf.useScreenMenuBar=true`}} - jdk >1.8 (currently experiencing it with 11.03) > 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] [Commented] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16824906#comment-16824906 ] mck commented on NETBEANS-888: -- bq. Only mac related? For me, on windows 10 with NB 10 and JDK 11.0.2 the menu entry is working. Indeed. The bug depends on - macos - {{`apple.laf.useScreenMenuBar=true`}} - jdk >1.8 (currently experiencing it with 11.03) > 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] [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=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] [Commented] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16822399#comment-16822399 ] mck commented on NETBEANS-888: -- 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] [Commented] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16822398#comment-16822398 ] mck commented on NETBEANS-888: -- Previously this was entered as https://netbeans.org/bugzilla/show_bug.cgi?id=271788 > 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] [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=16822385#comment-16822385 ] mck edited comment on NETBEANS-888 at 4/20/19 7:43 AM: --- This happens on both jdk's 1.8 and 11.0.1 was (Author: michaelsembwever): This happens on both jdk's 1.8 and 11.0.1 When closing an java recent file I get the following in the logs… {noformat} INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=org.netbeans.modules.openfile.RecentFileAction$1 ] {noformat} > 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] [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=16822385#comment-16822385 ] mck edited comment on NETBEANS-888 at 4/20/19 7:35 AM: --- This happens on both jdk's 1.8 and 11.0.1 When closing an java recent file I get the following in the logs… {noformat} INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=org.netbeans.modules.openfile.RecentFileAction$1 ] {noformat} was (Author: michaelsembwever): This happens on both openjdk 1.8 and 11.0.1 When closing an java recent file I get the following in the logs… {noformat} INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=org.netbeans.modules.openfile.RecentFileAction$1 ] {noformat} > 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] [Commented] (NETBEANS-888) Open Recent file not working
[ https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16822385#comment-16822385 ] mck commented on NETBEANS-888: -- This happens on both openjdk 1.8 and 11.0.1 When closing an java recent file I get the following in the logs… {noformat} INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for kind = CLASS INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=org.netbeans.modules.openfile.RecentFileAction$1 ] {noformat} > 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-1066) Profiler won't attach to local process using jdk10
[ https://issues.apache.org/jira/browse/NETBEANS-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mck updated NETBEANS-1066: -- Description: Following these steps - start a java process (on the command line `java -jar ...`) - from netbeans 'profile -> attach to external process...' - open 'setup attach to process...' - choose 'already running local java process' and the process from list. then "OK" - hit 'attach' An error dialog with only the text "0" appears. !Screen Shot 2018-07-22 at 16.41.06.png! The logs report the following exception {noformat} com.sun.tools.attach.AgentLoadException: 0 at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:104) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:115) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:139) at org.netbeans.modules.profiler.NetBeansProfiler.loadAgentIntoTargetJVM(NetBeansProfiler.java:791) at org.netbeans.modules.profiler.NetBeansProfiler.attachToApp(NetBeansProfiler.java:759) at org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$ProfilerSessionImpl$1.run(ProfilerLauncher.java:112) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){noformat} This same process works with netbeans started using jdk1.8 And using 'manually started local java process' (against a local process started with the corresponding agent jvm options) does work with jdk10 was: Following these steps - start a java process (on the command line `java -jar ...`) - from netbeans 'profile -> attach to external process...' - open 'setup attach to process...' - choose 'already running local java process' and the process from list. then "OK" - hit 'attach' An error dialog with only the text "0" appears. The logs report the following exception {noformat} com.sun.tools.attach.AgentLoadException: 0 at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:104) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:115) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:139) at org.netbeans.modules.profiler.NetBeansProfiler.loadAgentIntoTargetJVM(NetBeansProfiler.java:791) at org.netbeans.modules.profiler.NetBeansProfiler.attachToApp(NetBeansProfiler.java:759) at org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$ProfilerSessionImpl$1.run(ProfilerLauncher.java:112) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){noformat} This same process works with netbeans started using jdk1.8 And using 'manually started local java process' (against a local process started with the corresponding agent jvm options) does work with jdk10 > Profiler won't attach to local process using jdk10 > -- > > Key: NETBEANS-1066 > URL: https://issues.apache.org/jira/browse/NETBEANS-1066 > Project: NetBeans > Issue Type: Bug > Components: profiler - Attach >Affects Versions: 9.0 > Environment: NetBeans git SHA 6e9f6f8 > . > MacOSX 10.13.6 (17G65) > . > $ java -version > java version "10.0.1" 2018-04-17 > Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10) > Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode) > . >Reporter: mck >Priority: Major > Labels: jdk10 > Attachments: Screen Shot 2018-07-22 at 16.41.06.png > > > Following these steps > - start a java process (on the command line `java -jar ...`) > - from netbeans 'profile -> attach to external process...' > - open 'setup attach to process...' > - choose 'already running local java process' and the process from list. > then "OK" > - hit 'attach' > An error dialog with only the text "0" appears. > !Screen Shot 2018-07-22 at 16.41.06.png! > The logs report the following exception > {noformat} > com.sun.tools.attach.AgentLoadException: 0 > at > jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:104) > at >
[jira] [Updated] (NETBEANS-1066) Profiler won't attach to local process using jdk10
[ https://issues.apache.org/jira/browse/NETBEANS-1066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mck updated NETBEANS-1066: -- Attachment: Screen Shot 2018-07-22 at 16.41.06.png > Profiler won't attach to local process using jdk10 > -- > > Key: NETBEANS-1066 > URL: https://issues.apache.org/jira/browse/NETBEANS-1066 > Project: NetBeans > Issue Type: Bug > Components: profiler - Attach >Affects Versions: 9.0 > Environment: NetBeans git SHA 6e9f6f8 > . > MacOSX 10.13.6 (17G65) > . > $ java -version > java version "10.0.1" 2018-04-17 > Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10) > Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode) > . >Reporter: mck >Priority: Major > Labels: jdk10 > Attachments: Screen Shot 2018-07-22 at 16.41.06.png > > > Following these steps > - start a java process (on the command line `java -jar ...`) > - from netbeans 'profile -> attach to external process...' > - open 'setup attach to process...' > - choose 'already running local java process' and the process from list. > then "OK" > - hit 'attach' > An error dialog with only the text "0" appears. > The logs report the following exception > {noformat} > com.sun.tools.attach.AgentLoadException: 0 > at > jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:104) > at > jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:115) > at > jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:139) > at > org.netbeans.modules.profiler.NetBeansProfiler.loadAgentIntoTargetJVM(NetBeansProfiler.java:791) > at > org.netbeans.modules.profiler.NetBeansProfiler.attachToApp(NetBeansProfiler.java:759) > at > org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$ProfilerSessionImpl$1.run(ProfilerLauncher.java:112) > at > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) > at > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > at > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){noformat} > This same process works with netbeans started using jdk1.8 > And using 'manually started local java process' (against a local process > started with the corresponding agent jvm options) does work with jdk10 -- 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-1066) Profiler won't attach to local process using jdk10
mck created NETBEANS-1066: - Summary: Profiler won't attach to local process using jdk10 Key: NETBEANS-1066 URL: https://issues.apache.org/jira/browse/NETBEANS-1066 Project: NetBeans Issue Type: Bug Components: profiler - Attach Affects Versions: 9.0 Environment: NetBeans git SHA 6e9f6f8 . MacOSX 10.13.6 (17G65) . $ java -version java version "10.0.1" 2018-04-17 Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode) . Reporter: mck Following these steps - start a java process (on the command line `java -jar ...`) - from netbeans 'profile -> attach to external process...' - open 'setup attach to process...' - choose 'already running local java process' and the process from list. then "OK" - hit 'attach' An error dialog with only the text "0" appears. The logs report the following exception {noformat} com.sun.tools.attach.AgentLoadException: 0 at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:104) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:115) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:139) at org.netbeans.modules.profiler.NetBeansProfiler.loadAgentIntoTargetJVM(NetBeansProfiler.java:791) at org.netbeans.modules.profiler.NetBeansProfiler.attachToApp(NetBeansProfiler.java:759) at org.netbeans.modules.profiler.nbimpl.actions.ProfilerLauncher$ProfilerSessionImpl$1.run(ProfilerLauncher.java:112) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){noformat} This same process works with netbeans started using jdk1.8 And using 'manually started local java process' (against a local process started with the corresponding agent jvm options) does work with jdk10 -- 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