java-json-tools/json-schema-core

Crashes on Android 9

yzheng988 opened this issue · 0 comments

Hi,

We saw some crashes on Android 9 device, can you please give some insights/recommendations to the problem?
Thanks,

Library Version: json-schema-core: 1.2.8
json-schema-validator: 2.2.8
Most affected Android Devices: Samsung Galaxy J7
Most affected Android Version: Android 9

Caused by java.util.zip.ZipException invalid stored block lengths java.util.zip.InflaterInputStream.read (InflaterInputStream.java:175) java.net.URL.openStream (URL.java:1072) com.github.fge.jackson.JsonLoader.fromResource (JsonLoader.java:98) com.github.fge.jsonschema.SchemaVersion.<init> (SchemaVersion.java:63) com.github.fge.jsonschema.SchemaVersion.<clinit> (SchemaVersion.java:44) com.github.fge.jsonschema.SchemaVersion.values (SchemaVersion.java:39) com.github.fge.jsonschema.core.load.configuration.LoadingConfigurationBuilder.<init> (LoadingConfigurationBuilder.java:119) com.github.fge.jsonschema.core.load.configuration.LoadingConfiguration.byDefault (LoadingConfiguration.java:151) com.github.fge.jsonschema.main.JsonSchemaFactoryBuilder.<init> (JsonSchemaFactoryBuilder.java:67) com.github.fge.jsonschema.main.JsonSchemaFactory.newBuilder (JsonSchemaFactory.java:123) com.github.fge.jsonschema.main.JsonSchemaFactory.byDefault (JsonSchemaFactory.java:113)

Caused by java.lang.NoClassDefFoundError com.github.fge.jsonschema.SchemaVersion com.github.fge.jsonschema.SchemaVersion.values (SchemaVersion.java:39) com.github.fge.jsonschema.core.load.configuration.LoadingConfigurationBuilder.<init> (LoadingConfigurationBuilder.java:119) com.github.fge.jsonschema.core.load.configuration.LoadingConfiguration.byDefault (LoadingConfiguration.java:151) com.github.fge.jsonschema.main.JsonSchemaFactoryBuilder.<init> (JsonSchemaFactoryBuilder.java:67) com.github.fge.jsonschema.main.JsonSchemaFactory.newBuilder (JsonSchemaFactory.java:123) com.github.fge.jsonschema.main.JsonSchemaFactory.byDefault (JsonSchemaFactory.java:113)

Caused by java.lang.ExceptionInInitializerError com.github.fge.jsonschema.SchemaVersion.<init> (SchemaVersion.java:65) com.github.fge.jsonschema.SchemaVersion.<clinit> (SchemaVersion.java:44) com.github.fge.jsonschema.SchemaVersion.values (SchemaVersion.java:39) com.github.fge.jsonschema.core.load.configuration.LoadingConfigurationBuilder.<init> (LoadingConfigurationBuilder.java:119) com.github.fge.jsonschema.core.load.configuration.LoadingConfiguration.byDefault (LoadingConfiguration.java:151) com.github.fge.jsonschema.main.JsonSchemaFactoryBuilder.<init> (JsonSchemaFactoryBuilder.java:67) com.github.fge.jsonschema.main.JsonSchemaFactory.newBuilder (JsonSchemaFactory.java:123) com.github.fge.jsonschema.main.JsonSchemaFactory.byDefault (JsonSchemaFactory.java:113)