引出报错Could not initialize class ImportingPlugin原创
金蝶云社区-我心中的一团火是不会熄灭的
我心中的一团火是不会熄灭的
3人赞赏了该文章 1,314次浏览 未经作者许可,禁止转载编辑于2021年01月11日 18:04:58

关键字:引入引出报错Caused by: java.lang.NoClassDefFoundError: Could not initialize class kd.bos.form.plugin.ImportingPlugin

场景:引出操作报错

解决方案:检查mc参数里面是不是没有设置bos.importing.thread.max 如果没有,就设置为12

service:调用服务mservice.FormService的方法createConfig失败:Could not initialize class kd.bos.form.plugin.ImportingPlugin
Key: btnok
TraceId:2981d02c0d58f008
Instance:mservice-6336311299
发生时间:Mon Jan 11 17:28:33 GMT+08:00 2021
===================================================
调用堆栈:
java.lang.RuntimeException: 调用服务mservice.FormService的方法createConfig失败:Could not initialize class kd.bos.form.plugin.ImportingPlugin
 at kd.bos.service.DispatchServiceImpl.invoke(DispatchServiceImpl.java:83)
 at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at kd.bos.mservice.rpc.dubbo.debug.LocalDebugProxy$1.lambda$invoke$0(LocalDebugProxy.java:61)
 at kd.bos.mservice.rpc.dubbo.debug.DubboDebugUtil.invoke(DubboDebugUtil.java:49)
 at kd.bos.mservice.rpc.dubbo.debug.LocalDebugProxy$1.invoke(LocalDebugProxy.java:58)
 at com.sun.proxy.$Proxy44.invoke(Unknown Source)
 at kd.bos.servicehelper.DispatchServiceHelper.invokeBOSService(DispatchServiceHelper.java:98)
 at kd.bos.mvc.FormConfigFactory.createConfig(FormConfigFactory.java:115)
 at kd.bos.mvc.form.FormView.sendShowFormAction(FormView.java:655)
 at kd.bos.mvc.form.FormView.showForm(FormView.java:601)
 at kd.bos.form.plugin.ImportStartPlugin.importData(ImportStartPlugin.java:367)
 at kd.bos.form.plugin.ImportStartPlugin.importData(ImportStartPlugin.java:332)
 at kd.bos.form.plugin.ImportStartPlugin.click(ImportStartPlugin.java:289)
 at kd.bos.form.control.Button.fireClick(Button.java:185)
 at kd.bos.form.control.Button.click(Button.java:138)
 at sun.reflect.GeneratedMethodAccessor2085.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:278)
 at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:222)
 at kd.bos.mservice.form.FormServiceImpl.invokeMethod(FormServiceImpl.java:953)
 at kd.bos.mservice.form.FormServiceImpl.invokeAction(FormServiceImpl.java:456)
 at kd.bos.mservice.form.FormServiceImpl.batchInvokeAction(FormServiceImpl.java:316)
 at sun.reflect.GeneratedMethodAccessor479.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at kd.bos.service.DispatchServiceImpl.invoke(DispatchServiceImpl.java:53)
 at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at kd.bos.mservice.rpc.dubbo.debug.LocalDebugProxy$1.lambda$invoke$0(LocalDebugProxy.java:61)
 at kd.bos.mservice.rpc.dubbo.debug.DubboDebugUtil.invoke(DubboDebugUtil.java:49)
 at kd.bos.mservice.rpc.dubbo.debug.LocalDebugProxy$1.invoke(LocalDebugProxy.java:58)
 at com.sun.proxy.$Proxy44.invoke(Unknown Source)
 at kd.bos.web.DispatchServiceHelper.invokeBOSServiceByAppId(DispatchServiceHelper.java:96)
 at kd.bos.web.actions.FormAction.batchInvokeAction(FormAction.java:358)
 at sun.reflect.GeneratedMethodAccessor478.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at kd.bos.actiondispatcher.Invoker.invoke(Invoker.java:23)
 at kd.bos.actiondispatcher.ActionFilter.doFilter(ActionFilter.java:149)
 at kd.bos.service.web.filter.KFilterConfig$2.doFilter(KFilterConfig.java:275)
 at kd.bos.service.web.filter.KDCommonFilter$2.doFilter(KDCommonFilter.java:65)
 at kd.bos.login.filter.LoginFilter.doFilter(LoginFilter.java:632)
 at kd.bos.service.web.filter.KFilterConfig$2.doFilter(KFilterConfig.java:275)
 at kd.bos.service.web.filter.KDCommonFilter$2.doFilter(KDCommonFilter.java:65)
 at kd.bos.metric.instruments.servlet.MetricFilter.doFilter(MetricFilter.java:104)
 at kd.bos.service.web.filter.KFilterConfig$2.doFilter(KFilterConfig.java:275)
 at kd.bos.service.web.filter.KDCommonFilter$2.doFilter(KDCommonFilter.java:65)
 at kd.bos.trace.instrument.web.TraceFilter.generateTraceId(TraceFilter.java:112)
 at kd.bos.trace.instrument.web.TraceFilter.doFilter(TraceFilter.java:94)
 at kd.bos.service.web.filter.KFilterConfig$2.doFilter(KFilterConfig.java:275)
 at kd.bos.service.web.filter.KDCommonFilter$2.doFilter(KDCommonFilter.java:65)
 at kd.bos.framework.filter.ThreadLifeCycleFilter.doFilter(ThreadLifeCycleFilter.java:33)
 at kd.bos.service.web.filter.KFilterConfig$2.doFilter(KFilterConfig.java:275)
 at kd.bos.service.web.filter.KDCommonFilter$2.doFilter(KDCommonFilter.java:65)
 at kd.bos.mservice.circuitbreaker.filter.web.CircuitbreakerFilter.lambda$doFilter$0(CircuitbreakerFilter.java:42)
 at kd.bos.mservice.circuitbreaker.noop.NoopCircuitbreaker.call(NoopCircuitbreaker.java:33)
 at kd.bos.mservice.circuitbreaker.filter.web.CircuitbreakerFilter.doFilter(CircuitbreakerFilter.java:39)
 at kd.bos.service.web.filter.KFilterConfig$2.doFilter(KFilterConfig.java:275)
 at kd.bos.service.web.filter.KDCommonFilter$2.doFilter(KDCommonFilter.java:65)
 at kd.bos.service.web.filter.KDCommonFilter.doFilter(KDCommonFilter.java:92)
 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)
 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
 at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
 at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
 at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1609)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:561)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1612)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1582)
 at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
 at org.eclipse.jetty.server.Server.handle(Server.java:516)
 at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
 at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
 at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
 at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
 at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class kd.bos.form.plugin.ImportingPlugin
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:264)
 at kd.bos.dataentity.TypesContainer.lambda$getOrRegister$1(TypesContainer.java:63)
 at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688)
 at kd.bos.dataentity.TypesContainer.getOrRegister(TypesContainer.java:61)
 at kd.bos.dataentity.TypesContainer.createInstance(TypesContainer.java:83)
 at kd.bos.form.FormConfig.createPlugin(FormConfig.java:244)
 at kd.bos.form.FormShowParameter.createClientConfig(FormShowParameter.java:569)
 at kd.bos.mvc.FormConfigFactory.createConfigInCurrentAppService(FormConfigFactory.java:138)
 at kd.bos.mservice.form.FormServiceImpl.createConfig(FormServiceImpl.java:962)
 at sun.reflect.GeneratedMethodAccessor1661.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at kd.bos.service.DispatchServiceImpl.invoke(DispatchServiceImpl.java:53)
 ... 100 more



图标赞 3
3人点赞
还没有人点赞,快来当第一个点赞的人吧!
图标打赏
0人打赏
还没有人打赏,快来当第一个打赏的人吧!