You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/08/09 10:38:18 UTC

[GitHub] [pulsar] leizhiyuan commented on issue #16827: java.lang.NoClassDefFoundError: org/apache/pulsar/shade/io/netty/buffer/PoolArena$1

leizhiyuan commented on issue #16827:
URL: https://github.com/apache/pulsar/issues/16827#issuecomment-1209211578

   It maybe an issue of flink classloader
   
   ```
   Caused by: java.lang.ClassNotFoundException: org.apache.pulsar.shade.io.netty.buffer.PoolArena$1
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$ChildFirstClassLoader.loadClass(FlinkUserCodeClassLoaders.java:129)
   ```
   
   if you can debug this , you can  print 
   
   org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$ChildFirstClassLoader
   
   
   ```
   .loadClass("org.apache.pulsar.shade.io.netty.buffer.PoolArena").getProtectionDomain().getCodeSource().getLocation()
   ```
   to see which one is loaded by this classloader , and see the original jar file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org