-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The bot was working for about a week, had to restart it once a day, because it just stopped reacting to messages in any way.
Later it just started crashing on startup.
Clear data folder didn't help (also it defies purpose of the whole "learning" of a bot)
tarasus@raspberrypi:~ $ sudo java -jar /home/tarasus/Documents/markovBot/markov-telegram-bot-0.2.3-jar-with-dependencies.jar -c /home/tarasus/Documents/markovBot/config.yml -d /home/tarasus/Documents/markovBot/data
Exception in thread "main" java.lang.ClassFormatError: Unknown constant tag 140 in class file java/lang/reflect/Proxy
at java.base/sun.reflect.annotation.AnnotationParser$1.run(AnnotationParser.java:306)
at java.base/sun.reflect.annotation.AnnotationParser$1.run(AnnotationParser.java:304)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.reflect.annotation.AnnotationParser.annotationForMap(AnnotationParser.java:304)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:294)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
at java.base/sun.reflect.annotation.AnnotationParser.parseSelectAnnotations(AnnotationParser.java:102)
at java.base/sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:145)
at java.base/sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:85)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:267)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
at java.base/java.lang.Class.createAnnotationData(Class.java:3757)
at java.base/java.lang.Class.annotationData(Class.java:3746)
at java.base/java.lang.Class.getDeclaredAnnotations(Class.java:3713)
at com.fasterxml.jackson.databind.util.ClassUtil.findClassAnnotations(ClassUtil.java:1095)
at com.fasterxml.jackson.databind.introspect.AnnotatedClassResolver.resolveClassAnnotations(AnnotatedClassResolver.java:154)
at com.fasterxml.jackson.databind.introspect.AnnotatedClassResolver.resolveFully(AnnotatedClassResolver.java:118)
at com.fasterxml.jackson.databind.introspect.AnnotatedClassResolver.resolve(AnnotatedClassResolver.java:69)
at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector._resolveAnnotatedClass(BasicClassIntrospector.java:282)
at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.collectProperties(BasicClassIntrospector.java:192)
at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:112)
at com.fasterxml.jackson.databind.introspect.BasicClassIntrospector.forDeserialization(BasicClassIntrospector.java:16)
at com.fasterxml.jackson.databind.DeserializationConfig.introspect(DeserializationConfig.java:731)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createDeserializer(DeserializerCache.java:324)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:264)
at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:244)
at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:142)
at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:477)
at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:4190)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4009)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2902)
at clockvapor.telegram.markov.Config$Companion.read(Config.kt:12)
at clockvapor.telegram.markov.MarkovTelegramBot$Companion$main$1.invoke(MarkovTelegramBot.kt:25)
at clockvapor.telegram.markov.MarkovTelegramBot$Companion$main$1.invoke(MarkovTelegramBot.kt:19)
at com.xenomachina.argparser.SystemExitExceptionKt.mainBody(SystemExitException.kt:74)
at com.xenomachina.argparser.SystemExitExceptionKt.mainBody$default(SystemExitException.kt:72)
at clockvapor.telegram.markov.MarkovTelegramBot$Companion.main(MarkovTelegramBot.kt:23)
at clockvapor.telegram.markov.MarkovTelegramBot.main(MarkovTelegramBot.kt)
Metadata
Metadata
Assignees
Labels
No labels