UnitTestBot / UnitTestBot/usvm

ArrayStoreException in test executor

Open
#147 1 comment 0 reactions 1 assignee View on GitHub

@DaniilStepanov is already working on this.

Since Nov 24, 2023.

Dominant language
Kotlin
Stars
33
Forks
27
Avg merge
4d 3h
Merged PRs (30d)
15

Description

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:?]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.