Opening two state spaces in parallel might lead to Exceptions
Description
Environment
Java 8, Prob2 3.2.12-SNAPSHOT
Attachments
1
- 11 Jan 2019, 05:26 PM
Activity
Show:
Fixed
Details
Details
Assignee
Jens Bendisposto
Jens BendispostoReporter
Jannik Dunkelau
Jannik DunkelauPriority
Created January 11, 2019 at 5:34 PM
Updated January 15, 2019 at 2:18 PM
Resolved January 15, 2019 at 2:18 PM
If I try to load two B machines via Api.b_load simultaneously on different threads, chances are that one call throws a NullPointerException during AST parsing.
I provided a minimal working example, just run
./gradlew run
a few times and the exception should occur for at least one of the parallel calls. The sequential call is fine though.I think the problem lies in de.prob.model.classicalb.DomBuilder. Locally changing the attribute EOF to not be static fixed it for me.