有赞新零售社区

发帖
API使用问题»IntelliJ IDE插件报错

[API调用-其它] IntelliJ IDE插件报错

系统触发 2023-06-07 977 浏览 8 评论 | 只看楼主 [打印]  关闭
IntelliJ版本:IntelliJ IDEA 2023.1.2 (Ultimate Edition)
插件版本:Youzan Cloud Tools(1.0.15)
  
错误信息:
  1. java.lang.Throwable: Read access is allowed from inside read-action (or EDT) only (see com.intellij.openapi.application.Application.runReadAction())
  2. Current thread: Thread[io-worker-thread-15,5,main] 628493823 (EventQueue.isDispatchThread()=false)
  3. SystemEventQueueThread: Thread[AWT-EventQueue-0,6,main] 2075979212
  4.         at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
  5.         at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:1004)
  6.         at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.ensureIsUpToDate(WorkspaceFileIndexDataImpl.kt:127)
  7.         at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexDataImpl.getFileInfo(WorkspaceFileIndexDataImpl.kt:70)
  8.         at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.getFileInfo(WorkspaceFileIndexImpl.kt:220)
  9.         at com.intellij.workspaceModel.core.fileIndex.impl.WorkspaceFileIndexImpl.findFileSet(WorkspaceFileIndexImpl.kt:180)
  10.         at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.isInLibraryClasses(ProjectFileIndexImpl.java:278)
  11.         at com.intellij.openapi.roots.impl.ProjectFileIndexFacade.isInLibraryClasses(ProjectFileIndexFacade.java:51)
  12.         at com.intellij.psi.ClassFileViewProvider.createFile(ClassFileViewProvider.java:40)
  13.         at com.intellij.psi.SingleRootFileViewProvider.createFile(SingleRootFileViewProvider.java:149)
  14.         at com.intellij.psi.SingleRootFileViewProvider.getPsiInner(SingleRootFileViewProvider.java:105)
  15.         at com.intellij.psi.AbstractFileViewProvider.getPsi(AbstractFileViewProvider.java:190)
  16.         at com.intellij.psi.impl.file.impl.FileManagerImpl.areViewProvidersEquivalent(FileManagerImpl.java:542)
  17.         at com.intellij.psi.impl.file.impl.FileManagerImpl.shouldResurrect(FileManagerImpl.java:639)
  18.         at com.intellij.psi.impl.file.impl.FileManagerImpl.evaluateValidity(FileManagerImpl.java:607)
  19.         at com.intellij.psi.impl.file.impl.FileManagerImpl.findCachedViewProvider(FileManagerImpl.java:225)
  20.         at com.intellij.psi.impl.file.impl.FileManagerImpl.findViewProvider(FileManagerImpl.java:182)
  21.         at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:362)
  22.         at com.intellij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java:156)
  23.         at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:50)
  24.         at com.intellij.psi.stubs.StubIndexEx.lambda$processElements$4(StubIndexEx.java:146)
  25.         at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:210)
  26.         at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:102)
  27.         at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:90)
  28.         at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:34)
  29.         at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:80)
  30.         at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:103)
  31.         at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:40)
  32.         at com.intellij.psi.impl.JavaPsiFacadeImpl.doFindClass(JavaPsiFacadeImpl.java:94)
  33.         at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:72)
  34.         at com.youzan.cloud.intellij.common.service.impl.ExtensionPointDocServiceImpl.getImplExtensionPointModelMap(ExtensionPointDocServiceImpl.java:168)
  35.         at com.youzan.cloud.intellij.common.service.CloudToolsHandler.queryImplExtensionPointList(CloudToolsHandler.java:387)
  36.         at com.youzan.cloud.intellij.common.service.CloudToolsHandler.channelRead0(CloudToolsHandler.java:89)
  37.         at com.youzan.cloud.intellij.common.service.CloudToolsHandler.channelRead0(CloudToolsHandler.java:47)
  38.         at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
  39.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  40.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  41.         at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
  42.         at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
  43.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  44.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  45.         at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
  46.         at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
  47.         at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
  48.         at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
  49.         at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
  50.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  51.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  52.         at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
  53.         at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359)
  54.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
  55.         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
  56.         at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935)
  57.         at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:138)
  58.         at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
  59.         at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
  60.         at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
  61.         at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
  62.         at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
  63.         at java.base/java.lang.Thread.run(Thread.java:833)
复制代码



本帖最后由 系统触发 于 2023-6-6 18:07 编辑
用手机打开
收藏 ··· 回复
    千寻   有赞云团队   2023-06-07 | 只看该作者
    您好,您的问题非有赞可解决的问题, IntelliJ IDE:https://www.jetbrains.com/idea/

    千寻   有赞云团队   2023-06-08 | 只看该作者
    您好,这个插件已经不维护了,建议用zanCli
    文档:https://doc.youzanyun.com/resource/doc/3711

    1跳至
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    复制链接
    新浪微博
    QQ空间
    微信扫码
    • 回复

    • 评分

    客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

    复制成功