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.
Summary: | Missing READ-LOCK when accessing TokenHierarchy from CndFormat.createFromTemplate | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | Editor | Assignee: | Egor Ushakov <gorrus> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alexvsimon |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2012-10-11 09:17:29 UTC
Scenario: - Create C/C++ Application project in Oracle Solaris Studio - Check messages.log ==> other but same exception INFO [org.netbeans.spi.lexer.MutableTextInput]: !!WARNING!! Missing READ-LOCK when accessing TokenHierarchy: input-source:org.netbeans.modules.editor.NbEditorDocument@1ee3d8e, mimeType='text/x-c++', kitClass=null, length=201, version=34, file=null java.lang.Exception at org.netbeans.lib.lexer.TokenHierarchyOperation.ensureReadLocked(TokenHierarchyOperation.java:397) at org.netbeans.lib.lexer.TokenHierarchyOperation.tokenSequenceList(TokenHierarchyOperation.java:434) at org.netbeans.api.lexer.TokenHierarchy.tokenSequenceList(TokenHierarchy.java:229) at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.indentRegions(TaskHandler.java:433) at org.netbeans.modules.editor.indent.spi.Context.indentRegions(Context.java:258) at org.netbeans.modules.cnd.editor.reformat.Reformatter.reformat(Reformatter.java:104) at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:548) at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:316) at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:357) at org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:154) at org.netbeans.modules.cnd.source.SourceAbstractDataLoader$CndFormat.createFromTemplate(SourceAbstractDataLoader.java:270) A similar error has already been fixed. Maybe you can adopt the solution? Have a look at http://netbeans.org/bugzilla/show_bug.cgi?id=220312#c1 *** Bug 221172 has been marked as a duplicate of this bug. *** There several similar issues with the same stacktrace - see http://netbeans.org/bugzilla/buglist.cgi?list_id=113249&short_desc=%20Missing%20READ-LOCK%20when%20accessing%20TokenHierarchy&query_format=advanced&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=STARTED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&short_desc_type=allwordssubstr So i like to see this issue given more priority. P2-Canidate? I'll leave two issues in two different bugs, just renamed them to reflect caller *** This bug has been marked as a duplicate of bug 220309 *** |