java.io.IOException: java.lang.RuntimeException: CLASSNAME:com.bvg.models.enums.Gender

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This might be an issue with the file location in the Spark submit command. Try it with

spark-submit --master spark://master:7077 \
     hello_world_from_pyspark.py {file location}

,

You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

Solutions on the web

via GitHub by apotapov
, 2 years ago
java.lang.RuntimeException: CLASSNAME:com.bvg.models.enums.Gender
via GitHub by apotapov
, 1 year ago
java.lang.RuntimeException: CLASSNAME:com.bvg.models.enums.Gender
via GitHub by eweise
, 1 year ago
java.lang.RuntimeException: java.io.StreamCorruptedException: Unknown serialized type
via GitHub by cooniur
, 1 year ago
java.lang.RuntimeException: java.io.StreamCorruptedException: Unknown serialized type
via GitHub by gbehrmann
, 2 years ago
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
via GitHub by gbehrmann
, 2 years ago
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException: com.bvg.models.enums.Gender
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:340)
at de.ruedigermoeller.serialization.FSTClazzNameRegistry.classForName(FSTClazzNameRegistry.java:184)
at de.ruedigermoeller.serialization.FSTClazzNameRegistry.classForName(FSTClazzNameRegistry.java:178)
at de.ruedigermoeller.serialization.FSTClazzNameRegistry.decodeClass(FSTClazzNameRegistry.java:161)
at de.ruedigermoeller.serialization.FSTObjectInput.readClass(FSTObjectInput.java:879)
at de.ruedigermoeller.serialization.FSTObjectInput.instantiateEnum(FSTObjectInput.java:335)
at de.ruedigermoeller.serialization.FSTObjectInput.instantiateSpecialTag(FSTObjectInput.java:272)
at de.ruedigermoeller.serialization.FSTObjectInput.readObjectWithHeader(FSTObjectInput.java:254)
at de.ruedigermoeller.serialization.FSTObjectInput.readArray(FSTObjectInput.java:816)
at de.ruedigermoeller.serialization.FSTObjectInput.instantiateArray(FSTObjectInput.java:325)
at de.ruedigermoeller.serialization.FSTObjectInput.instantiateSpecialTag(FSTObjectInput.java:287)
at de.ruedigermoeller.serialization.FSTObjectInput.readObjectWithHeader(FSTObjectInput.java:254)
at de.ruedigermoeller.serialization.FSTObjectInput.readObjectFields(FSTObjectInput.java:522)
at de.ruedigermoeller.serialization.FSTObjectInput.instantiateAndReadNoSer(FSTObjectInput.java:402)
at de.ruedigermoeller.serialization.FSTObjectInput.readObjectWithHeader(FSTObjectInput.java:261)
at de.ruedigermoeller.serialization.FSTObjectInput.readObjectInternal(FSTObjectInput.java:230)
at de.ruedigermoeller.serialization.FSTObjectInput.readObject(FSTObjectInput.java:210)
at de.ruedigermoeller.serialization.FSTObjectInput.readObject(FSTObjectInput.java:165)
at org.hibernate.cache.redis.serializer.FstRedisSerializer.deserialize(FstRedisSerializer.java:51)
at org.hibernate.cache.redis.serializer.SnappyRedisSerializer.deserialize(SnappyRedisSerializer.java:41)
at org.hibernate.cache.redis.jedis.JedisClient.deserializeValue(JedisClient.java:475)
at org.hibernate.cache.redis.jedis.JedisClient.get(JedisClient.java:165)
at org.hibernate.cache.redis.regions.RedisTransactionalDataRegion.get(RedisTransactionalDataRegion.java:75)
at org.hibernate.cache.redis.strategy.AbstractReadWriteRedisAccessStrategy.get(AbstractReadWriteRedisAccessStrategy.java:52)
at org.hibernate.engine.internal.CacheHelper.fromSharedCache(CacheHelper.java:55)
at org.hibernate.engine.internal.CacheHelper.fromSharedCache(CacheHelper.java:67)
at org.hibernate.event.internal.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:597)
at org.hibernate.event.internal.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:451)
at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:212)
at org.hibernate.event.internal.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:274)
at org.hibernate.event.internal.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:150)
at org.hibernate.internal.SessionImpl.fireLoad(SessionImpl.java:1070)
at org.hibernate.internal.SessionImpl.access$2000(SessionImpl.java:176)
at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2551)
at org.hibernate.internal.SessionImpl.get(SessionImpl.java:955)
at com.bvg.models.daos.DaoImpl.get(DaoImpl.java:78)
at com.bvg.models.daos.DaoImpl.getWithRetry(DaoImpl.java:83)
at com.bvg.actors.DbBasedActor.execute(DbBasedActor.java:52)
at com.bvg.actors.DbBasedActor.execute(DbBasedActor.java:16)
at com.bvg.models.session.HibernateSessionHelper.executeTransactionally(HibernateSessionHelper.java:82)
at com.bvg.actors.DbBasedActor.onReceive(DbBasedActor.java:37)
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498)
at akka.actor.ActorCell.invoke(ActorCell.scala:456)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237)
at akka.dispatch.Mailbox.run(Mailbox.scala:219)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Users with the same issue

Once, 1 week ago
Once, 1 month ago
Once, 2 months ago
Once, 2 months ago
5 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.