[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16463786#comment-16463786 ] Jiří Kovalský commented on NETBEANS-373: (y) I was not aware of yet another build job. :) Thanks for your answer. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Labels: pull-request-available > Fix For: 9.0 > > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > Time Spent: 1.5h > Remaining Estimate: 0h > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16463755#comment-16463755 ] Thomas Corte commented on NETBEANS-373: --- I downloaded the build today, from [https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-release/lastSuccessfulBuild/artifact/] (Artifacts of incubator-netbeans-release #289). > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Labels: pull-request-available > Fix For: 9.0 > > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > Time Spent: 1.5h > Remaining Estimate: 0h > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail:
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16463722#comment-16463722 ] Thomas Corte commented on NETBEANS-373: --- I can no longer reproduce the issue with Build incubator-netbeans-release-289-on-20180504. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Labels: pull-request-available > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > Time Spent: 1.5h > Remaining Estimate: 0h > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459951#comment-16459951 ] Geertjan Wielenga commented on NETBEANS-373: OK, done: https://github.com/apache/incubator-netbeans/pull/530 > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Labels: pull-request-available > Fix For: 9.0 > > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > Time Spent: 10m > Remaining Estimate: 0h > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459934#comment-16459934 ] Geertjan Wielenga commented on NETBEANS-373: Or tell me what exactly needs to be changed, i.e., provide line numbers and precise details, and I'll do it. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Fix For: 9.0 > > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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:
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459930#comment-16459930 ] Geertjan Wielenga commented on NETBEANS-373: OK. Can you remove what in your opinion and the opinion of the others in this thread need to be removed and provide a pull request? I.e., clone the repo, change the file, and provide a pull request back to the repo? > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Fix For: 9.0 > > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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:
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459925#comment-16459925 ] Austin Stephens commented on NETBEANS-373: -- It is at "refactoring.api/src/org/netbeans/modules/refactoring/spi/impl/ParametersPanel.java" I am more in favor of removing the synchronized things in the file in question. No one know why they are there. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Fix For: 9.0 > > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459629#comment-16459629 ] Geertjan Wielenga commented on NETBEANS-373: I think [~timboudreau] has the most recent analysis of the way forward here: {quote}The bug is really in the JDK. Here we just need to find an effective workaround. In this case, replanning the listener add to the event thread will do the job - we just need to verify what the actual code path and target component that's triggering the deadlock is. Most likely it is the accessible component created by the dialog, simply because there is a decent chance of another thread getting hold of the dialog thanks to the native peer being assigned when pack() is called.{quote} > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Fix For: 9.0 > > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 >
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16452456#comment-16452456 ] Thomas Corte commented on NETBEANS-373: --- I can confirm that this still happens with Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202). > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Assignee: Laszlo Kishalmi >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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:
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16451793#comment-16451793 ] Thomas Corte commented on NETBEANS-373: --- Not sure how this issue got assigned to me, but I'm not the maintainer of this code, just a user. Assigned back to the previous assignee. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Assignee: Laszlo Kishalmi >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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:
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16450444#comment-16450444 ] Austin Stephens commented on NETBEANS-373: -- I use the 9.0 version. It breaks with that. I am the one that submitted the bug. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Assignee: Thomas Corte >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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:
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16449669#comment-16449669 ] Geertjan Wielenga commented on NETBEANS-373: Here you're making use of NetBeans IDE 8.2, i.e., this issue is not about Apache NetBeans. If this issue cannot be reproduced in Apache NetBeans (incubating) 9.0 Beta, it cannot be a blocker for the release of Apache NetBeans (incubating) 9.0. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Assignee: Thomas Corte >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16446638#comment-16446638 ] Austin Stephens commented on NETBEANS-373: -- I have tested removing the synchronized from the showDialog method and have yet to see issues. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16432706#comment-16432706 ] Jan Lahoda commented on NETBEANS-373: - Regarding the old CVS, some have it, but it is fairly difficult to work with that (as it was never converted to hg/git; and also the layout of some things changed several times). I think Austin's question is valid: why is showDialog synchronized? Looking at the CVS, there's no real help with that (the method appears to be synchronized from the beginning, but there may be some much bigger context I am missing.). And it does not appear to be very meaningful (the lock is locked for the whole duration the dialog is showing - why do that? That feels like asking for trouble (the dialog may be showing for a long time). My suggestion would be to delete the synchronized flag from the showDialog method; and also delete the "synchronized (this)" from cancelActionPerformed. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 >
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16431078#comment-16431078 ] Austin Stephens commented on NETBEANS-373: -- Is it possible to hook them into this thread, or did you already do so by referencing them? > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16429248#comment-16429248 ] Gili commented on NETBEANS-373: --- [~Sir Intellegence] Good question, I'm not sure. [~jlahoda] probably knows the answer. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16429247#comment-16429247 ] Austin Stephens commented on NETBEANS-373: -- [~cowwoc] I was checking that one. I meant the one before that. The sources page ([https://web.archive.org/web/20171022112341/https://netbeans.org/community/sources/]) (using a wayback machine link since it will likely change) mentions "the old CVS repository". I was thinking the refactor sources would have come from there possibly since I don't know where else the code could have come from. Here is a link to the revision I tracked the things down to: http://hg.netbeans.org/releases/rev/bb5436a892c1 > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16429234#comment-16429234 ] Gili commented on NETBEANS-373: --- [~Sir Intellegence] I think you're looking for this: https://github.com/apache/incubator-netbeans#full-history > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16428986#comment-16428986 ] Austin Stephens commented on NETBEANS-373: -- Why is `ParametersPanel.showDialog` (in refactoring.api) `synchronized` anyway? I tried to get a blame on that line, and it goes back to 10/24/2006 with what appears to be the creation of the file in the repo from somewhere else... Does anyone happen to have a copy of the old CVS repo anywhere? > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422817#comment-16422817 ] Austin Stephens commented on NETBEANS-373: -- I have added some screen shots showing any outstanding locks on the stack. It looks like it is syncing on "this" and not the tree lock. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: Screen Shot 2018-04-02 at 11.22.11 AM.png, Screen Shot > 2018-04-02 at 11.23.15 AM.png, nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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:
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16422000#comment-16422000 ] Michael Bar-Sinai commented on NETBEANS-373: Workaround: the problem goes away when switching to NimbusLaF. Persists on MacOS and Darcula LaFs. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16416841#comment-16416841 ] Tim Boudreau commented on NETBEANS-373: --- It's not "we" per-se - it's the AWT tree lock - a global lock baked into the bones of AWT and Swing, and the root cause of almost all the deadlocks I fixed over 11 years of working on it. In short, it is _never_ __ safe to do _anything_ to AWT or Swing components on any thread other the event thread (even if it looks like it works, a different Swing look and feel may call different methods or the same methods in a different order, and far too many component methods will take the tree lock - exactly the problem here). The bug is really in the JDK. Here we just need to find an effective workaround. In this case, replanning the listener add to the event thread will do the job - we just need to verify what the actual code path and target component that's triggering the deadlock _is._ Most likely it is the accessible component created by the dialog, simply because there is a decent chance of another thread getting hold of the dialog thanks to the native peer being assigned when pack() is called. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged >
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415963#comment-16415963 ] Austin Stephens commented on NETBEANS-373: -- My main question here is why do we need to hold a lock on the object while the dialog is visible? Also, would a heap dump help more? > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Attachments: nbpresenter.diff > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415776#comment-16415776 ] Tim Boudreau commented on NETBEANS-373: --- The root of the problem is here: [http://hg.openjdk.java.net/jdk/jdk/file/ce86061aff12/src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessible.java#l102] What's missing from the stack trace is how CAccessible gets a reference to the dialog or its contents, since that is missing from the stack trace. Best guess is some code path through the bowels of the JDK when the dialog's native peer is created - ? > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands,
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415728#comment-16415728 ] Austin Stephens commented on NETBEANS-373: -- This will still render Netbeans nigh unusable to Mac users unless they decide to never use refactoring if using an up-to-date version of the JDK. This includes Java 9. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16415443#comment-16415443 ] Jiří Kovalský commented on NETBEANS-373: This is not fixed yet. Removing 9.0 version. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16406335#comment-16406335 ] Fabian Bahle commented on NETBEANS-373: --- I have exactly the same issue and not only on NetBeans 8.2, also on NetBeans 9.0 beta. I'm on macOS High Sierra and JDK 1.8.0_162 It's really annoying that the IDE always freezes when I try to refactor/rename something. As soon as the refactor dialog shows up the IDE freezes. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Fix For: 9.0 > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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,
[jira] [Commented] (NETBEANS-373) Netbeans sometimes freezes when showing any refactor dialog when running with jdk 1.8.0_152-b16 or later
[ https://issues.apache.org/jira/browse/NETBEANS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16397599#comment-16397599 ] Austin Stephens commented on NETBEANS-373: -- It has come to the point where I hope that I can press enter in the dialog before it dead-locks on itself. > Netbeans sometimes freezes when showing any refactor dialog when running with > jdk 1.8.0_152-b16 or later > > > Key: NETBEANS-373 > URL: https://issues.apache.org/jira/browse/NETBEANS-373 > Project: NetBeans > Issue Type: Bug > Components: java - Refactoring >Affects Versions: 8.2, 9.0 > Environment: Mac >Reporter: Austin Stephens >Priority: Blocker > Fix For: 9.0 > > > Sometimes (or almost always), when you try to do some refactor action, > NetBeans freezes. It appears that a lock is obtained on a panel when the > dialog is shown, and the AppKit Thread tries to get the lock while trying to > add an accessible listener to it. > AppKit Thread: > {code:java} > Container.addContainerListener:2142 > Container$AccessibleAWTContainer.addPropertyChangeListener:3885 > JComponent$AccessibleJComponent.addPropertyChangeListener:3765 > Hidden Source Calls > CAccessible.addNotificationListeners:102 > CAccessible.:84 > CAccessible.getCAccessible:60 > {code} > EDT Thread: > {code:java} > Hidden Source Calls > Unsafe.park > LockSupport.park:194 > AbstractQueuedSynchronizer$ConditionObject.await:2062 > EventQueue.getNextEvent:557 > EventDispatchThread.pumpOneEventForFilters:173 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForFilter:117 > WaitDispatchSupport$2.run:190 > WaitDispatchSupport$4.run:235 > WaitDispatchSupport$4.run:233 > AccessController.doPrivileged > WaitDispatchSupport.enter:233 > Dialog.show:1070 > NbPresenter.superShow:1060 > NbPresenter.doShow:1110 > NbPresenter.run:1082 > NbPresenter.run:105 > NbMutexEventProvider$Event.doEventAccess:115 > NbMutexEventProvider$Event.readAccess:75 > LazyMutexImplementation.readAccess:71 > Mutex.readAccess:193 > NbPresenter.show:1067 > Component.show:1669 > Component.setVisible:1616 > Window.setVisible:1017 > Dialog.setVisible:1005 > ParametersPanel.showDialog:674 > RefactoringPanel.refresh:660 > RefactoringPanel.:144 > UI.openRefactoringUI:61 > ContextAnalyzer$4.show:648 > ContextAnalyzer$TextComponentTask.run:369 > RefactoringActionsProvider.doFindUsages:232 > ActionsImplementationFactory.doFindUsages:91 > WhereUsedAction.performAction:52 > RefactoringGlobalAction$ContextAction.actionPerformed:172 > TopComponent.processKeyBinding:1151 > JComponent.processKeyBindings:2963 > JComponent.processKeyEvent:2863 > Component.processEvent:6355 > Container.processEvent:2259 > Component.dispatchEventImpl:4961 > Container.dispatchEventImpl:2317 > Component.dispatchEvent:4793 > KeyboardFocusManager.redispatchEvent:1955 > DefaultKeyboardFocusManager.dispatchKeyEvent:827 > DefaultKeyboardFocusManager.preDispatchKeyEvent:1096 > DefaultKeyboardFocusManager.typeAheadAssertions:966 > DefaultKeyboardFocusManager.dispatchEvent:792 > Component.dispatchEventImpl:4842 > Container.dispatchEventImpl:2317 > Window.dispatchEventImpl:2758 > Component.dispatchEvent:4793 > EventQueue.dispatchEventImpl:766 > EventQueue.access$500:97 > EventQueue$3.run:717 > EventQueue$3.run:711 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:99 > EventQueue$4.run:739 > EventQueue$4.run:737 > AccessController.doPrivileged > ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:89 > EventQueue.dispatchEvent:736 > TimableEventQueue.dispatchEvent:136 > EventDispatchThread.pumpOneEventForFilters:199 > EventDispatchThread.pumpEventsForFilter:124 > EventDispatchThread.pumpEventsForHierarchy:113 > EventDispatchThread.pumpEvents:109 > EventDispatchThread.pumpEvents:101 > EventDispatchThread.run:90 > {code} > -- 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