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: | IllegalStateException: Race condition: usageCount = 1 | ||
---|---|---|---|
Product: | editor | Reporter: | Jesse Glick <jglick> |
Component: | Painting & Printing | Assignee: | issues@editor <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gtg, jglick, juhrik, misterm, tmysik, ukko |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 171989 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace Nested reuse of HighlightViewFactory |
Description
Jesse Glick
2010-08-17 18:20:20 UTC
Created attachment 101463 [details]
stacktrace
Created attachment 101464 [details]
stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=171989 Created attachment 101526 [details]
stacktrace
Deleted property file and the exception appeared...
Created attachment 101535 [details]
stacktrace
Created attachment 101536 [details]
stacktrace
Created attachment 101537 [details]
stacktrace
I have added remembering of the thread that uses HighlightsViewFactory. With this I should be able to find the problem more easily. http://hg.netbeans.org/jet-main/rev/8a7413bc7004 *** Bug 189214 has been marked as a duplicate of this bug. *** Integrated into 'main-golden', will be available in build *201008270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8a7413bc7004 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #189608 - IllegalStateException: Race condition: usageCount = 1 - added last usage's stack remembering to find the culprit thread. I was finally able to reproduce - though only in a test. There is no race condition but rather a nested attempt to reuse the HighlightViewFactory. I will fix it ASAP. Created attachment 101860 [details]
Nested reuse of HighlightViewFactory
It should now be fixed: http://hg.netbeans.org/jet-main/rev/1d31c1f01454 Integrated into 'main-golden', will be available in build *201009070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1d31c1f01454 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #189608 - IllegalStateException: Race condition: usageCount = 1. Integrated into 'main-golden', will be available in build *201009080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1d31c1f01454 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #189608 - IllegalStateException: Race condition: usageCount = 1. |