java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.RuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class org.deeplearning4j.models.embeddings.loader.VectorsConfiguration] from Floating-point number (0.0024726231566347748); no one-double/Double-arg constructor/factory method at [Source: java.io.StringReader@6c372fe6; line: 1, column: 1] at org.deeplearning4j.models.embeddings.loader.VectorsConfiguration.fromJson(VectorsConfiguration.java:96) at org.deeplearning4j.models.embeddings.loader.WordVectorSerializer.loadFullModel(WordVectorSerializer.java:787) at org.deeplearning4j.examples.nlp.word2vec.Word2VecUptrainingExample.main(Word2VecUptrainingExample.java:86) Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class org.deeplearning4j.models.embeddings.loader.VectorsConfiguration] from Floating-point number (0.0024726231566347748); no one-double/Double-arg constructor/factory method at [Source: java.io.StringReader@6c372fe6; line: 1, column: 1] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148) at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:843) at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromDouble(StdValueInstantiator.java:336) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromDouble(BeanDeserializerBase.java:1172) at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:157) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:144) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3562) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2578) at org.deeplearning4j.models.embeddings.loader.VectorsConfiguration.fromJson(VectorsConfiguration.java:93) ... 2 more

Users with the same issue

tvrmsmith
15 times, last one,
Axelo
3 times, last one,
Unknown visitor1 times, last one,
jstrayer
1 times, last one,
zsamboki
3 times, last one,
139 more bugmates