This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 201301172100 ] [ JDK VERSION : 1.7.0_09 ] Line breakpoint in angular.js resource success function. During break added new watch on a function reference. Step-over. Click "run" (green arrow) to continue execution. Netbeans connector disconnected. I was unable to reproduce the bug on a second try. During that I was running PHP with the PHP embedded webserver, progressbar was moving. Logfile: INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.modules.csl.core.GsfDocument@f308230, mimeType='text/javascript', kitClass=null, length=1437, version=236, file=org.netbeans.modules.csl.core.GsfDataObject@198f8c5a[..../js/controllers.js @142dba9f:2b115c9b] java.lang.Exception at org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOp eration.java:397) at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOpera tion.java:422) at org.netbeans.api.lexer.TokenHierarchy.tokenSequence(TokenHierarchy.java:201) at org.netbeans.modules.javascript2.editor.lexer.LexUtilities.getTokenSequence(LexU tilities.java:124) at org.netbeans.modules.javascript2.editor.lexer.LexUtilities.getPositionedSequence (LexUtilities.java:378) at org.netbeans.modules.javascript2.editor.lexer.LexUtilities.getPositionedSequence (LexUtilities.java:357) at org.netbeans.modules.javascript2.editor.lexer.LexUtilities.getToken(LexUtilities .java:236) at org.netbeans.modules.javascript2.editor.JsTypedTextInterceptor.afterInsert(JsTyp edTextInterceptor.java:145) at org.netbeans.modules.editor.lib2.typinghooks.TypedTextInterceptorsManager$Transa ction.afterInsertion(TypedTextInterceptorsManager.java:131) at org.netbeans.editor.BaseKit$DefaultKeyTypedAction.actionPerformed(BaseKit.java:1 209) at org.netbeans.editor.ext.ExtKit$ExtDefaultKeyTypedAction.actionPerformed(ExtKit.j ava:1022) at org.netbeans.modules.csl.core.CslEditorKit$GsfDefaultKeyTypedAction.actionPerfor med(CslEditorKit.java:241) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664) at javax.swing.JComponent.processKeyBinding(JComponent.java:2879) at javax.swing.JComponent.processKeyBindings(JComponent.java:2926) at javax.swing.JComponent.processKeyEvent(JComponent.java:2842) at java.awt.Component.processEvent(Component.java:6282) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManage r.java:762) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusMan ager.java:1027) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusMan ager.java:899) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.j ava:727) at java.awt.Component.dispatchEventImpl(Component.java:4731) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:682) at java.awt.EventQueue$3.run(EventQueue.java:680) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:7 6) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:8 7) at java.awt.EventQueue$4.run(EventQueue.java:696) at java.awt.EventQueue$4.run(EventQueue.java:694) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:7 6) at java.awt.EventQueue.dispatchEvent(EventQueue.java:693) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242 ) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150 ) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) INFO [org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer]: Disabled an invalid highlighting layer: hlStartOffset=119 < previous hlEndOffset=124 for layer=org.netbeans.modules.html.editor.coloring.EmbeddingHighlightsContainer@218 85fda
I think the "Missing READ-LOCK" warning has nothing to do with the disconnecting as it is printed to log on simple JavaScript editing. It probably belongs to JavaScript/Debugger as you were debugging when this happened. Reassigning Do you have by any chance the original IDE log? I'm not sure about the priority as it happened only once. I tried debugging angular application while other project was running on PHP built-in server and I haven't reproduced it.
Sorry I did not save the original log - apart from that there was nothing more besides netbeans startup messages. As I stated ealier I could not reproduce the bug neither. I don't think it is angular related, but related to the changes of watches and/or breakpoints while javascript was interrupted and stepped through and "resume" after making the changes during stepping. Sorry that I can not provide more insight into this, perhaps it should be resolved as not reproducible.
Adding a random keyword and resolving as works for me. If it happens next time, please provide the content of Output tabs WebKit Protocol and Browser Log. Thanks.
Could you point out how to enable/find the "webkit protocol output tab", I could neither find it or related documentation.
Please pass -J-Dshow.webkit.protocol=true argument to NetBeans. Then you should see WebKit Protocol tab in Output.