Skip to content

Add handling when using invalid ArbitraryIntrospector #729

Add handling when using invalid ArbitraryIntrospector

Add handling when using invalid ArbitraryIntrospector #729

Triggered via pull request January 15, 2024 10:02
@seongahjoseongahjo
opened #877
Status Success
Total duration 17s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

auto-assign-action.yml

on: pull_request_target
add-reviews
6s
add-reviews
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 1 warning
FixtureMonkeyOptionsTest.registerRootAndChildElementGeneratingRoot: fixture-monkey/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyOptionsTest.java#L1030
java.lang.IllegalArgumentException: Given type class com.navercorp.fixturemonkey.test.FixtureMonkeyTestSpecs$ComplexObject could not be generated.Check the ArbitraryIntrospector used or the APIs used in the ArbitraryBuilder..
FixtureMonkeyTest.setDecomposedMapEntry: fixture-monkey/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyTest.java#L244
org.opentest4j.AssertionFailedError: expected: "a"=FixtureMonkeyTestSpecs.SimpleObject(str=null, character=?, wrapperCharacter=null, primitiveShort=0, wrapperShort=null, primitiveByte=0, wrapperByte=null, primitiveDouble=0.0, wrapperDouble=null, primitiveFloat=0.0, wrapperFloat=null, integer=0, wrapperInteger=null, primitiveLong=0, wrapperLong=null, primitiveBoolean=false, wrapperBoolean=null, bigInteger=null, bigDecimal=null, calendar=null, date=null, instant=null, localDate=null, localDateTime=null, localTime=null, zonedDateTime=null, monthDay=null, offsetDateTime=null, offsetTime=null, period=null, duration=null, year=null, yearMonth=null, zoneOffset=null, zoneId=null, optionalString=null, optionalInt=null, optionalLong=null, optionalDouble=null) but was: null
FixtureMonkeyJacksonTest.sampleGenericArray: fixture-monkey-jackson/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyJacksonTest.java#L123
java.lang.IllegalArgumentException: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
FixtureMonkeyJacksonTest.sampleGenericArray: fixture-monkey-jackson/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyJacksonTest.java#L123
java.lang.IllegalArgumentException: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
FixtureMonkeyJacksonTest.sampleGenericArray: fixture-monkey-jackson/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyJacksonTest.java#L123
java.lang.IllegalArgumentException: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
FixtureMonkeyOptionsTest.registerRootAndChildElementGeneratingRoot: fixture-monkey/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyOptionsTest.java#L1030
java.lang.IllegalArgumentException: Given type class com.navercorp.fixturemonkey.test.FixtureMonkeyTestSpecs$ComplexObject could not be generated.Check the ArbitraryIntrospector used or the APIs used in the ArbitraryBuilder..
FixtureMonkeyTest.setDecomposedMapEntry: fixture-monkey/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyTest.java#L244
org.opentest4j.AssertionFailedError: expected: "a"=FixtureMonkeyTestSpecs.SimpleObject(str=null, character=?, wrapperCharacter=null, primitiveShort=0, wrapperShort=null, primitiveByte=0, wrapperByte=null, primitiveDouble=0.0, wrapperDouble=null, primitiveFloat=0.0, wrapperFloat=null, integer=0, wrapperInteger=null, primitiveLong=0, wrapperLong=null, primitiveBoolean=false, wrapperBoolean=null, bigInteger=null, bigDecimal=null, calendar=null, date=null, instant=null, localDate=null, localDateTime=null, localTime=null, zonedDateTime=null, monthDay=null, offsetDateTime=null, offsetTime=null, period=null, duration=null, year=null, yearMonth=null, zoneOffset=null, zoneId=null, optionalString=null, optionalInt=null, optionalLong=null, optionalDouble=null) but was: null
FixtureMonkeyJacksonTest.sampleGenericArray: fixture-monkey-jackson/src/test/java/com/navercorp/fixturemonkey/test/FixtureMonkeyJacksonTest.java#L123
java.lang.IllegalArgumentException: No serializer found for class java.lang.Object and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
add-reviews
The following actions uses node12 which is deprecated and will be forced to run on node16: kentaro-m/auto-assign-action@v1.2.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/