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 249031 - Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.editor.BaseDocument
Summary: Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.ed...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 10:43 UTC by Jiri Skrivanek
Modified: 2014-12-01 10:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack traces. (14.12 KB, text/plain)
2014-12-01 10:43 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2014-12-01 10:43:01 UTC
Created attachment 150809 [details]
Stack traces.

Several exceptions about missing READ-LOCK appear while running automated tests. In attached file you can find 3 stack traces. I am not sure where it should be fixed.

    [junit] INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.editor.BaseDocument@3d924277, mimeType='text/x-jsp', kitClass=null, length=382, version=1, file=null
    [junit] java.lang.Exception
    [junit] 	at org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOperation.java:406)
    [junit] 	at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequenceList(TokenHierarchyOperation.java:447)

System Info: 
Product Version         = NetBeans IDE Dev (Build 201412010001) (#a96ca3679a17)
Operating System        = Linux version 3.8.0-19-generic running on amd64
Java; VM; Vendor        = 1.7.0_71; Java HotSpot(TM) 64-Bit Server VM 24.71-b01; Oracle Corporation
Runtime                 = Java(TM) SE Runtime Environment 1.7.0_71-b14