Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Kryo-serializers 0.45, I see there is compatibility issue for with java 11. #110

Open
svatada opened this issue Feb 25, 2019 · 0 comments

Comments

@svatada
Copy link

svatada commented Feb 25, 2019

I have migrated to 0.45 version and while testing my code changes , I could see an run time error with Kryo-serializer-0.45 -> SubListSerialiser. As this issue is lied on SubListSerialiser class. I have opened a this ticket. Please help me to fix this.

public static final Class<?> SUBLIST_CLASS = SubListSerializers.getClassOrNull("java.util.SubList");

java.lang.ClassNotFoundException: java.util.SubList
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:899)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:498)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:560)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at de.javakaffee.kryoserializers.SubListSerializers$JavaUtilSubListSerializer.(SubListSerializers.java:267)
at com.snaplogic.snaps.transform.util.Serializers.kryo(Serializers.java:50)
at com.snaplogic.snaps.transform.inmemory.AbstractInMemoryLookupCache.(AbstractInMemoryLookupCache.java:104)
at com.snaplogic.snaps.transform.inmemory.SingleInMemoryLookupCache.(SingleInMemoryLookupCache.java:28)
at com.snaplogic.snaps.transform.inmemory.AbstractInMemoryLookupCache.create(AbstractInMemoryLookupCache.java:369)
at com.snaplogic.snaps.transform.InMemoryLookup.execute(InMemoryLookup.java:223)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.executeSnap(SnapRunnableImpl.java:773)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.execute(SnapRunnableImpl.java:519)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.doRun(SnapRunnableImpl.java:839)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.access$000(SnapRunnableImpl.java:115)
at com.snaplogic.cc.snap.common.SnapRunnableImpl$1.run(SnapRunnableImpl.java:362)
at com.snaplogic.cc.snap.common.SnapRunnableImpl$1.run(SnapRunnableImpl.java:358)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.call(SnapRunnableImpl.java:357)
at com.snaplogic.cc.snap.common.SnapRunnableImpl.call(SnapRunnableImpl.java:115)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Suppressed: java.lang.ClassNotFoundException: java.util.SubList
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at org.eclipse.jetty.webapp.WebAppClassLoader.findClass(WebAppClassLoader.java:631)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:522)
... 28 more

Error Fingerprint[0] = efp:java.net.3eTnuRD1

@svatada svatada changed the title This is causing an issue with java 11. For Kryo-serializers 0.45, I see there is compatibility issue for with java 11. Feb 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant