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

Summary: Concurrent computation of @ComputedProperty yields exceptions
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: Html4jAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

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