开发者社区 > 通义大模型 > 正文

#通义灵码1.3.0 回答问题提示异常 Update answer error

   java.lang.reflect.InvocationTargetException
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1393)
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1368)
    at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
    at com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor.doTyping(ChatAnswerProcessor.java:161)
    at com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor.lambda$updateAnswer$1(ChatAnswerProcessor.java:115)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: Cannot invoke (class=GenerateContentForm$$Lambda$7819/0x00000008027b4448, method=push, topic=Generate Stream Push Notifier)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:676)

详细日志

 SEVERE - #com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor - Update answer error.
java.lang.reflect.InvocationTargetException
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1393)
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1368)
    at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
    at com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor.doTyping(ChatAnswerProcessor.java:161)
    at com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor.lambda$updateAnswer$1(ChatAnswerProcessor.java:115)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: Cannot invoke (class=GenerateContentForm$$Lambda$7819/0x00000008027b4448, method=push, topic=Generate Stream Push Notifier)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:676)
    at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:422)
    at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:401)
    at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
    at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:460)
    at jdk.proxy5/jdk.proxy5.$Proxy212.push(Unknown Source)
    at com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor.lambda$doTyping$2(ChatAnswerProcessor.java:162)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:690)
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:593)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(ApplicationImpl.java:1485)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593)
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:997)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:997)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.IllegalArgumentException: Illegal group reference
    at java.base/java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1067)
    at java.base/java.util.regex.Matcher.appendReplacement(Matcher.java:997)
    at com.alibabacloud.intellij.cosy.util.FileUtil.detectFileUrl(FileUtil.java:423)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.TextMarkdownComponent.buildText(TextMarkdownComponent.java:148)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.TextMarkdownComponent.updateText(TextMarkdownComponent.java:154)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.MarkdownStreamPanel.renderBlocks(MarkdownStreamPanel.java:162)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.MarkdownStreamPanel.renderComponent(MarkdownStreamPanel.java:124)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.MarkdownStreamPanel.append(MarkdownStreamPanel.java:112)
    at com.alibabacloud.intellij.cosy.ui.search.generate.GenerateAnswerPanel.appendText(GenerateAnswerPanel.java:373)
    at com.alibabacloud.intellij.cosy.ui.search.generate.GenerateContentForm.pushGenerate(GenerateContentForm.java:812)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:699)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:659)
    ... 35 more
2024-08-21 11:24:45,332 [ 256429] SEVERE - #com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor - PhpStorm 2023.2.3  Build #PS-232.10072.32
2024-08-21 11:24:45,332 [ 256429] SEVERE - #com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor - JDK: 17.0.8.1; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2024-08-21 11:24:45,332 [ 256429] SEVERE - #com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor - OS: Windows 10
2024-08-21 11:24:45,332 [ 256429] SEVERE - #com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor - Plugin to blame: TONGYI Lingma - Your AI Coding Assistant. Type less, Code more. version: 1.3.0
2024-08-21 11:24:48,689 [ 259786]   WARN - #com.alibabacloud.intellij.cosy.core.lsp.LanguageWebSocketService - cosy chat ask request timeout
2024-08-21 11:24:56,761 [ 267858]   INFO - STDOUT - 
2024-08-21 11:25:03,944 [ 275041]   INFO - #c.i.i.p.m.MarketplaceRequests - Error reading Marketplace file: java.net.SocketTimeoutException: Connect timed out (file=C:\Users\pc\AppData\Local\JetBrains\PhpStorm2023.2\plugins\brokenPlugins.json URL=https://plugins.jetbrains.com/files/brokenPlugins.json)
2024-08-21 11:25:03,944 [ 275041]   INFO - #c.i.i.p.m.MarketplaceRequests - Can not get broken plugins file from Marketplace: Connect timed out
2024-08-21 11:25:28,704 [ 299801]   INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files
2024-08-21 11:25:35,508 [ 306605]   INFO - #com.alibabacloud.intellij.cosy.core.websocket.CosyHeartbeatRunner - [Thread-108] cosy start ping heart beat
2024-08-21 11:25:35,508 [ 306605]   INFO - #com.alibabacloud.intellij.cosy.core.websocket.CosyHeartbeatRunner - [Thread-108] cosy ping heart beat succeed
2024-08-21 11:25:37,509 [ 308606]   INFO - #com.alibabacloud.intellij.cosy.core.websocket.CosyHeartbeatRunner - [Thread-110] cosy start ping heart beat
2024-08-21 11:25:37,509 [ 308606]   INFO - #com.alibabacloud.intellij.cosy.core.websocket.CosyHeartbeatRunner - [Thread-110] cosy ping heart beat succeed
2024-08-21 11:25:38,891 [ 309988]   INFO - #com.alibabacloud.intellij.cosy.core.lsp.LanguageClientImpl - Ask finish. sessionId=1c57bfce-4190-4546-8894-8c6baa273199 requestId=df41a0fd-9cf0-4326-ac03-5411bdcd25ab
2024-08-21 11:25:38,901 [ 309998]   INFO - com.alibabacloud.intellij.cosy.service.impl.CosyServiceImpl - Get chat reply list. count=2, requestId=df41a0fd-9cf0-4326-ac03-5411bdcd25ab
2024-08-21 11:25:38,905 [ 310002] SEVERE - #com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor - Update answer error.
java.lang.reflect.InvocationTargetException
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1393)
    at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1368)
    at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1480)
    at com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor.lambda$updateAnswer$1(ChatAnswerProcessor.java:108)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: Cannot invoke (class=GenerateContentForm$$Lambda$7819/0x00000008027b4448, method=push, topic=Generate Stream Push Notifier)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:676)
    at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:422)
    at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:401)
    at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
    at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:460)
    at jdk.proxy5/jdk.proxy5.$Proxy212.push(Unknown Source)
    at com.alibabacloud.intellij.cosy.chat.processor.ChatAnswerProcessor.lambda$updateAnswer$0(ChatAnswerProcessor.java:109)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:690)
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:593)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(ApplicationImpl.java:1485)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593)
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:997)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:997)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Caused by: java.lang.IllegalArgumentException: Illegal group reference
    at java.base/java.util.regex.Matcher.appendExpandedReplacement(Matcher.java:1067)
    at java.base/java.util.regex.Matcher.appendReplacement(Matcher.java:997)
    at com.alibabacloud.intellij.cosy.util.FileUtil.detectFileUrl(FileUtil.java:423)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.TextMarkdownComponent.buildText(TextMarkdownComponent.java:148)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.TextMarkdownComponent.<init>(TextMarkdownComponent.java:94)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.MarkdownStreamPanel.renderBlocks(MarkdownStreamPanel.java:143)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.MarkdownStreamPanel.renderComponent(MarkdownStreamPanel.java:124)
    at com.alibabacloud.intellij.cosy.ui.search.component.markdown.MarkdownStreamPanel.append(MarkdownStreamPanel.java:112)
    at com.alibabacloud.intellij.cosy.ui.search.generate.GenerateAnswerPanel.appendText(GenerateAnswerPanel.java:373)
    at com.alibabacloud.intellij.cosy.ui.search.generate.GenerateContentForm.pushGenerate(GenerateContentForm.java:812)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:699)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:659)
    ... 35 more

展开
收起
游客zvbdiopy5ixbq 2024-08-21 11:40:32 25 0
0 条回答
写回答
取消 提交回答

通义千问大模型家族全面升级更大参数规模模型首次面世,全新通义千问2.0版本欢迎体验。https://tongyi.aliyun.com/

相关电子书

更多
AI 编程技术周 | 通义灵码公开课 第一期 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载