You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/10 08:57:23 UTC

[GitHub] [netbeans] alex-rsk opened a new issue, #4493: Netbeans for PHP hangs up after clicking code autocomplete option.

alex-rsk opened a new issue, #4493:
URL: https://github.com/apache/netbeans/issues/4493

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   If I [click code autocomplete option of some class](https://ibb.co/bQ6RGxC) , then current code line disappears, and I got an error in my tray, and Netbeans getting hanged.  I'm able to kill process to shutdown it only.
   
   
   
   ### How to reproduce
   
   1. Define some custom PHP class/enum 
   2. Try to type it's name somewhere for code autocomplete appearance.
   3. Click the option of code autocomplete.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 14
   
   ### Operating System
   
   Ubuntu 18.04
   
   ### JDK
   
   openjdk version "11.0.15" 2022-04-19
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   Occurs every time.
   
   Exception dump:
   
   `java.lang.IllegalMonitorStateException
   	at java.base/java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:149)
   	at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1302)
   	at java.base/java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:439)
   	at org.netbeans.modules.parsing.impl.TaskProcessor.releaseParserLock(TaskProcessor.java:427)
   	at org.netbeans.modules.parsing.impl.Utilities.releaseParserLock(Utilities.java:76)
   	at org.netbeans.modules.csl.core.GsfReformatTask$Lock.unlock(GsfReformatTask.java:130)
   	at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.unlock(TaskHandler.java:556)
   	at org.netbeans.modules.editor.indent.TaskHandler.unlock(TaskHandler.java:288)
   	at org.netbeans.modules.editor.indent.IndentImpl.reformatUnlock(IndentImpl.java:212)
   	at org.netbeans.modules.editor.indent.IndentImpl.reformatLock(IndentImpl.java:195)
   	at org.netbeans.modules.editor.indent.api.Reformat.lock(Reformat.java:89)
   	at org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.insertTemplate(CodeTemplateInsertHandler.java:256)
   	at org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:228)
   	at org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
   	at org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
   	at org.netbeans.modules.csl.editor.completion.GsfCompletionItem$DelegatedItem.defaultSubstituteText(GsfCompletionItem.java:359)
   	at org.netbeans.modules.csl.editor.completion.GsfCompletionItem$DelegatedItem.substituteText(GsfCompletionItem.java:329)
   	at org.netbeans.modules.csl.editor.completion.GsfCompletionItem.defaultAction(GsfCompletionItem.java:481)
   	at org.netbeans.modules.csl.editor.completion.GsfCompletionItem$DelegatedItem.defaultAction(GsfCompletionItem.java:96)
   	at org.netbeans.modules.editor.completion.CompletionImpl.dispatchKeyEvent(CompletionImpl.java:785)
   	at org.netbeans.modules.editor.completion.CompletionImpl.keyPressed(CompletionImpl.java:386)
   	at java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258)
   	at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590)
   	at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849)
   	at java.desktop/java.awt.Component.processEvent(Component.java:6409)
   	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
   	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
   	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
   	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
   	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
   	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
   	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
   	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
   	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
   	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
   	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
   	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
   	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
   	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
   	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
   	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
   	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
   [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
   	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
   	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
   	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
   `
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] junichi11 closed issue #4493: Netbeans for PHP hangs up after clicking code autocomplete option.

Posted by GitBox <gi...@apache.org>.
junichi11 closed issue #4493: Netbeans for PHP hangs up after clicking code autocomplete option.
URL: https://github.com/apache/netbeans/issues/4493


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] alex-rsk commented on issue #4493: Netbeans for PHP hangs up after clicking code autocomplete option.

Posted by GitBox <gi...@apache.org>.
alex-rsk commented on issue #4493:
URL: https://github.com/apache/netbeans/issues/4493#issuecomment-1210380645

   > Can you test with [15-rc3](https://lists.apache.org/thread/vzx1jm5gz2w1rtof4swlvrclng0xsq8q)? There have been some changes in code completion that might affect this.
   
   Thank you, I'll try after my working day.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4493: Netbeans for PHP hangs up after clicking code autocomplete option.

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4493:
URL: https://github.com/apache/netbeans/issues/4493#issuecomment-1210378479

   Can you test with [15-rc3](https://lists.apache.org/thread/vzx1jm5gz2w1rtof4swlvrclng0xsq8q)?  There have been some changes in code completion that might affect this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists