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 253462

Summary: Missing READ-LOCK in TODO highlighter
Product: third-party Reporter: sreimers <sreimers>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description sreimers 2015-07-14 10:46:46 UTC
INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.modules.editor.NbEditorDocument@4642daf5, mimeType='text/x-properties', kitClass=null, length=689, version=1, file=org.netbeans.modules.properties.PropertiesDataObject@5d58de1e[/home/sarah/oss/sqe-develop/nbproject/platform.properties@e0a47f36:c7a9c02]
java.lang.Exception
        at org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOperation.java:406)
        at org.netbeans.lib.lexer.TokenHierarchyOperation.isActive(TokenHierarchyOperation.java:366)
        at org.netbeans.api.lexer.TokenHierarchy.isActive(TokenHierarchy.java:331)
        at org.netbeans.modules.showtodos.TodoSourceParsing.parse(TodoSourceParsing.java:71)
        at org.netbeans.modules.showtodos.TodoSourceParsing.parseForAnnotatable(TodoSourceParsing.java:135)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.parse(TodoAnnotationProvider.java:123)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.annotate(TodoAnnotationProvider.java:108)
        at org.netbeans.modules.showtodos.TodoAnnotationProvider.annotate(TodoAnnotationProvider.java:93)
        at org.openide.text.CloneableEditorSupport.ensureAnnotationsLoaded(CloneableEditorSupport.java:391)
        at org.openide.text.CloneableEditorInitializer.initAnnotations(CloneableEditorInitializer.java:642)
        at org.openide.text.CloneableEditorInitializer.run(CloneableEditorInitializer.java:351)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
        at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)