java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `io.qameta.allure.model.Status` from String "passed": not one of the values accepted for Enum class: [SKIPPED, FAILED, PASSED, BROKEN]
at [Source: (File); line: 1, column: 652] (through reference chain: io.github.eroshenkoam.allure.model.TestResult["status"])
at io.github.eroshenkoam.allure.MainCommand.run(MainCommand.java:57)
at picocli.CommandLine.executeUserObject(CommandLine.java:1769)
at picocli.CommandLine.access$900(CommandLine.java:145)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2141)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2108)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1975)
at picocli.CommandLine.execute(CommandLine.java:1904)
at io.github.eroshenkoam.allure.AllurePDF.main(AllurePDF.java:13)
Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `io.qameta.allure.model.Status` from String "passed": not one of the values accepted for Enum class: [SKIPPED, FAILED, PASSED, BROKEN]
at [Source: (File); line: 1, column: 652] (through reference chain: io.github.eroshenkoam.allure.model.TestResult["status"])
at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:67)
at com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:1991)
at com.fasterxml.jackson.databind.DeserializationContext.handleWeirdStringValue(DeserializationContext.java:1219)
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._deserializeAltString(EnumDeserializer.java:356)
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer._fromString(EnumDeserializer.java:230)
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:198)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:313)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:176)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4674)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3494)
at io.github.eroshenkoam.allure.AllurePDFGenerator.generate(AllurePDFGenerator.java:99)
at io.github.eroshenkoam.allure.MainCommand.run(MainCommand.java:54)
... 7 more
The problem
After update to new allure-model version (just wanted to see how it works):
I received this error:
Failed test result JSON:
Tell us about your environment