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 259132 - Concurrent computation of @ComputedProperty yields exceptions
Summary: Concurrent computation of @ComputedProperty yields exceptions
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-05 03:16 UTC by Jaroslav Tulach
Modified: 2016-05-25 06:12 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 Jaroslav Tulach 2016-05-05 03:16:23 UTC
java.lang.IllegalStateException: Inconsistency: org.netbeans.html.json.spi.Proto@171067df != org.netbeans.html.json.spi.Proto@1b320b74
org.netbeans.html.json.spi.Observers.finishComputing(Observers.java:96)
org.netbeans.html.json.spi.Proto.releaseLock(Proto.java:144)


java.lang.IllegalStateException: Re-entrant attempt to access org.netbeans.html.json.spi.Proto@16dd9d34
org.netbeans.html.json.spi.Observers.verifyUnlocked(Observers.java:76)
org.netbeans.html.json.spi.Proto.verifyUnlocked(Proto.java:137)


Probably caused by global state in Observers that gets mixed up by access from multiple threads.
Comment 1 Jaroslav Tulach 2016-05-05 03:19:19 UTC
Test written at
http://hg.netbeans.org/html4j/rev/0f5f964766b3
Comment 2 Jaroslav Tulach 2016-05-25 06:12:26 UTC
will be fixed in post 1.3 release:

http://hg.netbeans.org/html4j/rev/9329156bb5d4