-
Choerodon平台版本: 0.14.0
-
遇到问题的执行步骤:
-
文档地址:
-
环境信息(如:节点信息):
-
报错日志:
升级0.14.0后,choerodon wiki用户同步失败,显示P-AdminGroup不存在,请问应该如何解决?
您好,请问wiki-service确定升级到0.14.0版本吗?
麻烦把异常信息贴出来。
io.choerodon.core.exception.CommonException: P-AdminGroup not found in wiki
at io.choerodon.wiki.domain.service.impl.IWikiClassServiceImpl.getPageClassResource(IWikiClassServiceImpl.java:43)
at io.choerodon.wiki.app.service.impl.WikiGroupServiceImpl.getGroupsObjectNumber(WikiGroupServiceImpl.java:411)
at io.choerodon.wiki.app.service.impl.WikiGroupServiceImpl.lambda$createWikiGroupUsers$1(WikiGroupServiceImpl.java:134)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at io.choerodon.wiki.app.service.impl.WikiGroupServiceImpl.createWikiGroupUsers(WikiGroupServiceImpl.java:116)
at io.choerodon.wiki.api.eventhandler.WikiEventHandler.handleCreateGroupMemberEvent(WikiEventHandler.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at io.choerodon.asgard.saga.consumer.SagaConsumer.invoke(SagaConsumer.java:87)
at io.choerodon.asgard.saga.consumer.SagaConsumer.lambda$null$0(SagaConsumer.java:59)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
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)
Caused by: java.lang.NullPointerException
at io.choerodon.wiki.domain.service.impl.IWikiClassServiceImpl.getPageClassResource(IWikiClassServiceImpl.java:39)
… 23 more
您好,我们有P-XXXAdminGroup和P-XXXUserGroup的组,我们没有的组是P-AdminGroup,也没有一个Admin的项目啊,是升级后出现这个问题,以前没有这个问题的。
请问这个问题有没有什么更新吗?现在好多这个报错
您好,出现P-AdminGroup的组,是因为没有在wiki系统查到对应的组引起的。
这个抛错我们修改了。方便在Wiki把搜索结果发出来吗?
您好,用事务的项目code也能在这里搜索到吗?
这是全局事务的报错,不是某个项目下的事务报错