Skip to content

Tests ArrayOfArrays.testReallyMultiDimensionalArray and testReallyMultiDimensionalArrayMutation are failed with new ksmt #2718

Open

Description

@EgorkaKulikov

Description

The mentioned tests were disabled after we updated ksmt because they started failing due to some problem in ValueConstructor

java.lang.IllegalArgumentException: array element type mismatch
	at java.base/java.lang.reflect.Array.set(Native Method)
	at org.utbot.framework.plugin.api.util.constructor.ValueConstructor.constructArray(ValueConstructor.kt:323)
	at org.utbot.framework.plugin.api.util.constructor.ValueConstructor.construct(ValueConstructor.kt:193)
	at org.utbot.framework.plugin.api.util.constructor.ValueConstructor.constructArray(ValueConstructor.kt:322)
	at org.utbot.framework.plugin.api.util.constructor.ValueConstructor.construct(ValueConstructor.kt:193)
	at org.utbot.framework.plugin.api.util.constructor.ValueConstructor.constructParamsAndMocks(ValueConstructor.kt:165)
	at org.utbot.framework.plugin.api.util.constructor.ValueConstructor.constructState(ValueConstructor.kt:112)
	at org.utbot.framework.plugin.api.util.constructor.ValueConstructor.construct(ValueConstructor.kt:127)
	at org.utbot.framework.util.EngineUtilsKt.toValueTestCase(EngineUtils.kt:22)
	at org.utbot.testing.UtValueTestCaseChecker.walk(UtValueTestCaseChecker.kt:2139)
	at org.utbot.examples.arrays.ArrayOfArraysTest.testReallyMultiDimensionalArray(ArrayOfArraysTest.kt:1177)

Activity

  1. added
    ctg-bug
    comp-instrumented-process
    on Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp-instrumented-processctg-bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions