You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/12/18 03:23:01 UTC

[GitHub] [dubbo] js20166098 opened a new issue #9441: dubbo 3.0 is not support jdk17?

js20166098 opened a new issue #9441:
URL: https://github.com/apache/dubbo/issues/9441


   Caused by: java.lang.IllegalStateException: Failed to compile class, cause: null, class: org.apache.dubbo.metadata.report.MetadataReportFactory$Adaptive, code: 
   package org.apache.dubbo.metadata.report;
   import org.apache.dubbo.rpc.model.ScopeModel;
   import org.apache.dubbo.rpc.model.ScopeModelUtil;
   public class MetadataReportFactory$Adaptive implements org.apache.dubbo.metadata.report.MetadataReportFactory {
   public org.apache.dubbo.metadata.report.MetadataReport getMetadataReport(org.apache.dubbo.common.URL arg0)  {
   if (arg0 == null) throw new IllegalArgumentException("url == null");
   org.apache.dubbo.common.URL url = arg0;
   String extName = ( url.getProtocol() == null ? "redis" : url.getProtocol() );
   if(extName == null) throw new IllegalStateException("Failed to get extension (org.apache.dubbo.metadata.report.MetadataReportFactory) name from url (" + url.toString() + ") use keys([protocol])");
   ScopeModel scopeModel = ScopeModelUtil.getOrDefault(url.getScopeModel(), org.apache.dubbo.metadata.report.MetadataReportFactory.class);
   org.apache.dubbo.metadata.report.MetadataReportFactory extension = (org.apache.dubbo.metadata.report.MetadataReportFactory)scopeModel.getExtensionLoader(org.apache.dubbo.metadata.report.MetadataReportFactory.class).getExtension(extName);
   return extension.getMetadataReport(arg0);
   }
   public void destroy()  {
   throw new UnsupportedOperationException("The method public default void org.apache.dubbo.metadata.report.MetadataReportFactory.destroy() of interface org.apache.dubbo.metadata.report.MetadataReportFactory is not adaptive method!");
   }
   }
   , stack: java.lang.ExceptionInInitializerError: 
   java.lang.ExceptionInInitializerError
   	at javassist.util.proxy.DefineClassHelper.<clinit>(DefineClassHelper.java:216)
   	at javassist.ClassPool.toClass(ClassPool.java:1120)
   	at javassist.CtClass.toClass(CtClass.java:1319)
   	at org.apache.dubbo.common.compiler.support.JavassistCompiler.doCompile(JavassistCompiler.java:81)
   	at org.apache.dubbo.common.compiler.support.AbstractCompiler.compile(AbstractCompiler.java:70)
   	at org.apache.dubbo.common.compiler.support.AdaptiveCompiler.compile(AdaptiveCompiler.java:53)
   	at org.apache.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClass(ExtensionLoader.java:1194)
   	at org.apache.dubbo.common.extension.ExtensionLoader.getAdaptiveExtensionClass(ExtensionLoader.java:1178)
   	at org.apache.dubbo.common.extension.ExtensionLoader.createAdaptiveExtension(ExtensionLoader.java:1162)
   	at org.apache.dubbo.common.extension.ExtensionLoader.getAdaptiveExtension(ExtensionLoader.java:662)
   	at org.apache.dubbo.metadata.report.MetadataReportInstance.init(MetadataReportInstance.java:48)
   	at org.apache.dubbo.config.deploy.DefaultApplicationDeployer.startMetadataCenter(DefaultApplicationDeployer.java:297)
   	at org.apache.dubbo.config.deploy.DefaultApplicationDeployer.initialize(DefaultApplicationDeployer.java:202)
   	at org.apache.dubbo.config.deploy.DefaultModuleDeployer.prepare(DefaultModuleDeployer.java:419)
   	at org.apache.dubbo.config.spring.context.DubboConfigApplicationListener.initDubboConfigBeans(DubboConfigApplicationListener.java:68)
   	at org.apache.dubbo.config.spring.context.DubboConfigApplicationListener.onApplicationEvent(DubboConfigApplicationListener.java:55)
   	at org.apache.dubbo.config.spring.context.DubboConfigApplicationListener.onApplicationEvent(DubboConfigApplicationListener.java:34)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143)
   	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131)
   	at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:881)
   	at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:580)
   	at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java:40002)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:41008)
   	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
   	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:730)
   	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:412)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1301)
   	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1290)
   	at com.js.UserStart.main(UserStart.java:22)
   Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @27082746
   	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
   	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
   	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
   	at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
   	at javassist.util.proxy.SecurityActions$3.run(SecurityActions.java:94)
   	at javassist.util.proxy.SecurityActions$3.run(SecurityActions.java:90)
   	at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
   	at javassist.util.proxy.SecurityActions.getMethodHandle(SecurityActions.java:89)
   	at javassist.util.proxy.DefineClassHelper$SecuredPrivileged$2.getDefineClassMethodHandle(DefineClassHelper.java:143)
   	at javassist.util.proxy.DefineClassHelper$SecuredPrivileged$2.<init>(DefineClassHelper.java:136)
   	at javassist.util.proxy.DefineClassHelper$SecuredPrivileged.<clinit>(DefineClassHelper.java:134)
   	... 32 more
   
   	at org.apache.dubbo.common.compiler.support.AbstractCompiler.compile(AbstractCompiler.java:74)
   	at org.apache.dubbo.common.compiler.support.AdaptiveCompiler.compile(AdaptiveCompiler.java:53)
   	at org.apache.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClass(ExtensionLoader.java:1194)
   	at org.apache.dubbo.common.extension.ExtensionLoader.getAdaptiveExtensionClass(ExtensionLoader.java:1178)
   	at org.apache.dubbo.common.extension.ExtensionLoader.createAdaptiveExtension(ExtensionLoader.java:1162)
   	... 23 common frames omitted
   2021-12-18 11:12:13.361 [,] [main-EventThread] ERROR o.a.c.f.r.c.NodeCache - [handleException,353] - 
   java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED]
   	at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823)
   	at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:423)
   	at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkExists(CuratorFrameworkImpl.java:450)
   	at org.apache.curator.framework.recipes.cache.NodeCache.reset(NodeCache.java:261)
   	at org.apache.curator.framework.recipes.cache.NodeCache.access$100(NodeCache.java:60)
   	at org.apache.curator.framework.recipes.cache.NodeCache$2.process(NodeCache.java:104)
   	at org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:77)
   	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:576)
   	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:551)
   2021-12-18 11:12:13.362 [,] [main-EventThread] ERROR o.a.c.f.r.c.NodeCache - [handleException,353] - 
   java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED]
   	at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823)
   	at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:423)
   	at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkExists(CuratorFrameworkImpl.java:450)
   	at org.apache.curator.framework.recipes.cache.NodeCache.reset(NodeCache.java:261)
   	at org.apache.curator.framework.recipes.cache.NodeCache.access$100(NodeCache.java:60)
   	at org.apache.curator.framework.recipes.cache.NodeCache$2.process(NodeCache.java:104)
   	at org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:77)
   	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:576)
   	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:551)
   2021-12-18 11:12:13.363 [,] [main-EventThread] ERROR o.a.c.f.r.c.NodeCache - [handleException,353] - 
   java.lang.IllegalStateException: Expected state [STARTED] was [STOPPED]
   	at org.apache.curator.shaded.com.google.common.base.Preconditions.checkState(Preconditions.java:823)
   	at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkState(CuratorFrameworkImpl.java:423)
   	at org.apache.curator.framework.imps.CuratorFrameworkImpl.checkExists(CuratorFrameworkImpl.java:450)
   	at org.apache.curator.framework.recipes.cache.NodeCache.reset(NodeCache.java:261)
   	at org.apache.curator.framework.recipes.cache.NodeCache.access$100(NodeCache.java:60)
   	at org.apache.curator.framework.recipes.cache.NodeCache$2.process(NodeCache.java:104)
   	at org.apache.curator.framework.imps.NamespaceWatcher.process(NamespaceWatcher.java:77)
   	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:576)
   	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:551)


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM commented on issue #9441: dubbo 3.0 is not support jdk17?

Posted by GitBox <gi...@apache.org>.
CrazyHZM commented on issue #9441:
URL: https://github.com/apache/dubbo/issues/9441#issuecomment-997332858


   Already in progress, it is expected that 3.0.6 will support.


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] CrazyHZM closed issue #9441: dubbo 3.0 is not support jdk17?

Posted by GitBox <gi...@apache.org>.
CrazyHZM closed issue #9441:
URL: https://github.com/apache/dubbo/issues/9441


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org