Huang Xingbo created FLINK-29427: ------------------------------------ Summary: LookupJoinITCase failed with classloader problem Key: FLINK-29427 URL: https://issues.apache.org/jira/browse/FLINK-29427 Project: Flink Issue Type: Bug Components: Table SQL / Planner Affects Versions: 1.16.0 Reporter: Huang Xingbo
{code:java} 2022-09-27T02:49:20.9501313Z Sep 27 02:49:20 Caused by: org.codehaus.janino.InternalCompilerException: Compiling "KeyProjection$108341": Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'. 2022-09-27T02:49:20.9502654Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:382) 2022-09-27T02:49:20.9503366Z Sep 27 02:49:20 at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:237) 2022-09-27T02:49:20.9504044Z Sep 27 02:49:20 at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java:465) 2022-09-27T02:49:20.9504704Z Sep 27 02:49:20 at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:216) 2022-09-27T02:49:20.9505341Z Sep 27 02:49:20 at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:207) 2022-09-27T02:49:20.9505965Z Sep 27 02:49:20 at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80) 2022-09-27T02:49:20.9506584Z Sep 27 02:49:20 at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:75) 2022-09-27T02:49:20.9507261Z Sep 27 02:49:20 at org.apache.flink.table.runtime.generated.CompileUtils.doCompile(CompileUtils.java:104) 2022-09-27T02:49:20.9507883Z Sep 27 02:49:20 ... 30 more 2022-09-27T02:49:20.9509266Z Sep 27 02:49:20 Caused by: java.lang.IllegalStateException: Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'. 2022-09-27T02:49:20.9510835Z Sep 27 02:49:20 at org.apache.flink.util.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.ensureInner(FlinkUserCodeClassLoaders.java:184) 2022-09-27T02:49:20.9511760Z Sep 27 02:49:20 at org.apache.flink.util.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.loadClass(FlinkUserCodeClassLoaders.java:192) 2022-09-27T02:49:20.9512456Z Sep 27 02:49:20 at java.lang.Class.forName0(Native Method) 2022-09-27T02:49:20.9513014Z Sep 27 02:49:20 at java.lang.Class.forName(Class.java:348) 2022-09-27T02:49:20.9513649Z Sep 27 02:49:20 at org.codehaus.janino.ClassLoaderIClassLoader.findIClass(ClassLoaderIClassLoader.java:89) 2022-09-27T02:49:20.9514339Z Sep 27 02:49:20 at org.codehaus.janino.IClassLoader.loadIClass(IClassLoader.java:312) 2022-09-27T02:49:20.9514990Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.findTypeByName(UnitCompiler.java:8556) 2022-09-27T02:49:20.9515659Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6749) 2022-09-27T02:49:20.9516337Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6594) 2022-09-27T02:49:20.9516989Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:6573) 2022-09-27T02:49:20.9517632Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.access$13900(UnitCompiler.java:215) 2022-09-27T02:49:20.9518319Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler$22$1.visitReferenceType(UnitCompiler.java:6481) 2022-09-27T02:49:20.9519018Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler$22$1.visitReferenceType(UnitCompiler.java:6476) 2022-09-27T02:49:20.9519680Z Sep 27 02:49:20 at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3928) 2022-09-27T02:49:20.9520386Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler$22.visitType(UnitCompiler.java:6476) 2022-09-27T02:49:20.9521042Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler$22.visitType(UnitCompiler.java:6469) 2022-09-27T02:49:20.9521677Z Sep 27 02:49:20 at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3927) 2022-09-27T02:49:20.9522299Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:6469) 2022-09-27T02:49:20.9522929Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.hasAnnotation(UnitCompiler.java:1365) 2022-09-27T02:49:20.9523658Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:1349) 2022-09-27T02:49:20.9524365Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:1330) 2022-09-27T02:49:20.9525030Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:822) 2022-09-27T02:49:20.9525750Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:432) 2022-09-27T02:49:20.9526383Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.access$400(UnitCompiler.java:215) 2022-09-27T02:49:20.9527069Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:411) 2022-09-27T02:49:20.9527832Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:406) 2022-09-27T02:49:20.9528560Z Sep 27 02:49:20 at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java:1414) 2022-09-27T02:49:20.9529217Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:406) 2022-09-27T02:49:20.9529862Z Sep 27 02:49:20 at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:378) 2022-09-27T02:49:20.9530427Z Sep 27 02:49:20 ... 37 more 2022-09-27T02:49:20.9530852Z Sep 27 02:49:20 {code} https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=41369&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4 -- This message was sent by Atlassian Jira (v8.20.10#820010)