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

dubbo 录制的时候日志报错:no valid classloader found in routing 要怎么处理? #213

Open
T-Xbai opened this issue Aug 9, 2023 · 2 comments

Comments

@T-Xbai
Copy link

T-Xbai commented Aug 9, 2023

2023-08-09 18:15:51 WARN no valid classloader found in routing,routing=PluginClassRouting{targetClass='org.apache.dubbo.rpc.model.ApplicationModel', classPattern='^org.apache.dubbo..*', identity='dubbo', matcher=REPEATER, block=false}
2023-08-09 18:15:51 INFO enable plugin http success
2023-08-09 18:15:52 INFO add watcher success,type=http,watcherId=1016
2023-08-09 18:15:52 INFO enable plugin java-entrance success
2023-08-09 18:15:52 ERROR error occurred when initialize module
java.lang.NullPointerException: null
at com.alibaba.jvm.sandbox.repeater.plugin.core.impl.AbstractInvokePluginAdapter.watchIfNecessary(AbstractInvokePluginAdapter.java:125)
at com.alibaba.jvm.sandbox.repeater.plugin.core.impl.AbstractInvokePluginAdapter.watch(AbstractInvokePluginAdapter.java:62)
at com.alibaba.jvm.sandbox.repeater.module.RepeaterModule.initialize(RepeaterModule.java:174)
at com.alibaba.jvm.sandbox.repeater.module.RepeaterModule.access$500(RepeaterModule.java:64)
at com.alibaba.jvm.sandbox.repeater.module.RepeaterModule$1.run(RepeaterModule.java:142)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

@peterZhang000
Copy link

需要修改这个,dubbo3应该路径不一样了
// dubbo回放器中对dubbo框架路由
PluginClassRouting dubboRepeaterRouting = PluginClassRouting.builder()
.targetClass("org.apache.dubbo.rpc.model.ApplicationModel")
.classPattern("^org.apache.dubbo..*")
.identity("dubbo")
.matcher(Matcher.REPEATER)
.block(false)
.build();

@luoweiyang666
Copy link

我的日志为啥没生成啊,我指定的opt/log目录下,我新建的文件夹,就是那个log文件没新建,为啥没有日志文件生成啊

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

3 participants