Skip to content

ArrayStoreException in test executor #147

@Damtev

Description

@Damtev

Run the Contest Estimator with the following settings:

val timeLimit = 120
methodFilter = "com.google.common.collect.TreeMultiset.*"
projectFilter = listOf("guava")

Sometimes the following exception appears:

16:29:23.465 | WARN  | Execution failed before method under test call on (id:73)com.google.common.collect.TreeMultiset#tailMultiset(java.lang.Object, com.google.common.collect.BoundType)
java.lang.ArrayStoreException: [I
	at org.usvm.instrumentation.testcase.executor.UTestExpressionExecutor.executeUTestArraySetStatement(UTestExpressionExecutor.kt:132) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.testcase.executor.UTestExpressionExecutor.exec(UTestExpressionExecutor.kt:61) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.testcase.executor.UTestExpressionExecutor.executeUTestInst-IoAF18A(UTestExpressionExecutor.kt:39) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.testcase.executor.UTestExpressionExecutor.executeUTestInsts-CmtIpJM(UTestExpressionExecutor.kt:49) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.rd.UTestExecutor.executeUTest(UTestExecutor.kt:76) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.rd.InstrumentedProcess.callUTest(InstrumentedProcess.kt:204) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.rd.InstrumentedProcess.access$callUTest(InstrumentedProcess.kt:33) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.rd.InstrumentedProcess$setup$1.invoke(InstrumentedProcess.kt:136) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.rd.InstrumentedProcess$setup$1.invoke(InstrumentedProcess.kt:134) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]
	at org.usvm.instrumentation.rd.InstrumentedProcess$measureExecutionForTermination$1.invoke(InstrumentedProcess.kt:219) ~[usvm-jvm-instrumentation-comp-231123-2300.jar:?]

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions