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.

Bug 221782 - Warning in log: Missing READ-LOCK when accessing TokenHierarchy
Summary: Warning in log: Missing READ-LOCK when accessing TokenHierarchy
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 07:03 UTC by Alexander Simon
Modified: 2012-11-09 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-11-09 07:03:48 UTC
WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with the position attribute: [org-netbeans-modules-editor-java-JavaBracesMatcher.shadow], but some are: [org-netbeans-modules-editor-bracesmatching-LegacyEssMatcher.instance, org-netbeans-modules-editor-bracesmatching-DefaultMatcher.instance]
INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.modules.editor.NbEditorDocument@8673f8, mimeType='text/x-java', kitClass=null, length=4555, version=48, file=org.netbeans.modules.java.JavaDataObject@c94d89[/export/home/as204739/cnd-main/cnd.antlr/src/org/netbeans/modules/cnd/antlr/TokenBuffer.java@5d900992:c99dd3]
java.lang.Exception
        at org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOperation.java:397)
        at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOperation.java:422)
        at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequence(TokenHierarchyOperation.java:418)
        at org.netbeans.api.lexer.TokenHierarchy.tokenSequence(TokenHierarchy.java:186)
        at org.netbeans.api.java.source.SourceUtils.getJavaTokenSequence(SourceUtils.java:149)
        at org.netbeans.modules.java.editor.imports.ClipboardHandler$ImportingTransferHandler.insideToken(ClipboardHandler.java:558)
        at org.netbeans.modules.java.editor.imports.ClipboardHandler$ImportingTransferHandler.exportToClipboard(ClipboardHandler.java:378)
        at org.openide.text.QuietEditorPane$DelegatingTransferHandler.exportToClipboard(QuietEditorPane.java:349)
        at javax.swing.TransferHandler$TransferAction.actionPerformedImpl(TransferHandler.java:1745)
        at javax.swing.TransferHandler$TransferAction.access$700(TransferHandler.java:1684)
        at javax.swing.TransferHandler$TransferAction$1.run(TransferHandler.java:1707)
        at javax.swing.TransferHandler$TransferAction$1.run(TransferHandler.java:1705)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at javax.swing.TransferHandler$TransferAction$2.run(TransferHandler.java:1722)
        at javax.swing.TransferHandler$TransferAction$2.run(TransferHandler.java:1720)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at javax.swing.TransferHandler$TransferAction.actionPerformed(TransferHandler.java:1719)
        at javax.swing.text.JTextComponent.invokeAction(JTextComponent.java:1513)
        at javax.swing.text.JTextComponent.copy(JTextComponent.java:1474)
        at org.netbeans.editor.BaseKit$CopyAction.actionPerformed(BaseKit.java:2050)
        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(DefaultKeyboardFocusManager.java:762)
        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java: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:76)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        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:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
Comment 1 Alexander Simon 2012-11-09 07:10:31 UTC
IDE info from log:
>Log Session: Friday, November 9, 2012 11:04:20 AM MSK
>System Info: 
  Product Version         = NetBeans IDE 7.3 Beta 2 (Build 201211062253) (#4b9ddecda013)
  Operating System        = SunOS version 5.10 running on x86
  Java; VM; Vendor        = 1.7.0_09; Java HotSpot(TM) Client VM 23.5-b02; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_09-b05
  Java Home               = /usr/jdk/instances/jdk1.7.0_09/jre
  System Locale; Encoding = en (nb); ISO646-US
Comment 2 Jan Lahoda 2012-11-09 07:16:05 UTC
Already fixed:
http://hg.netbeans.org/jet-main/rev/6432e104f110