intellij-aicoder icon indicating copy to clipboard operation
intellij-aicoder copied to clipboard

bug

Open Ktvic991 opened this issue 1 year ago • 0 comments

Log Message: Error in Action MultiDiffChatAction Error Message: Cannot get content of directory: file://C:/Users/anonymous/Documents/GitHub/html-games/Chutes and ladders Error Type: java.io.IOException API Base: {OpenAI=https://api.openai.com/v1}

OS: Windows 11 / 10.0 / amd64 Locale: US / en

Error Details:

java.io.IOException: Cannot get content of directory: file://C:/Users/anonymous/Documents/GitHub/html-games/Chutes and ladders
	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.contentsToByteArray(VirtualDirectoryImpl.java:593)
	at com.github.simiacryptus.aicoder.actions.generic.MultiDiffChatAction.handle(MultiDiffChatAction.kt:49)
	at com.github.simiacryptus.aicoder.actions.BaseAction.actionPerformed(BaseAction.kt:39)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.kt:304)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks$lambda$4(ActionUtil.kt:275)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.performWithActionCallbacks(ActionManagerImpl.kt:1161)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.kt:274)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction$lambda$5(ActionMenuItem.kt:269)
	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:227)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.performAction(ActionMenuItem.kt:260)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem._init_$lambda$0(ActionMenuItem.kt:71)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed$lambda$4(ActionMenuItem.kt:102)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:95)
	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.kt:101)
	at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:525)
	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:558)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385)
	at java.desktop/java.awt.Component.processEvent(Component.java:6422)
	at java.desktop/java.awt.Container.processEvent(Container.java:2266)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4969)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4583)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4524)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2809)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)
	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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)
	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:763)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:699)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:638)
	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:584)
	at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:138)
	at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:129)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:584)
	at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:77)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:362)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:361)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:361)
	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:356)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1022)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1022)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:356)
	at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:209)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:398)
	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)

Action History:

  • Action: GenericChatAction
  • Chat Response: { "prompt_tokens" : 12, "completion_tokens" : 9, "total_tokens" : 21 }
  • Action: WebDevelopmentAssistantAction
  • Chat Response: { "prompt_tokens" : 111, "completion_tokens" : 710, "total_tokens" : 821 }
  • Chat Response: { "prompt_tokens" : 111, "completion_tokens" : 733, "total_tokens" : 844 }
  • Chat Response: { "prompt_tokens" : 111, "completion_tokens" : 666, "total_tokens" : 777 }
  • Chat Response: { "prompt_tokens" : 859, "completion_tokens" : 183, "total_tokens" : 1042 }
  • Chat Response: { "prompt_tokens" : 111, "completion_tokens" : 641, "total_tokens" : 752 }
  • Chat Response: { "prompt_tokens" : 111, "completion_tokens" : 618, "total_tokens" : 729 }
  • Chat Response: { "prompt_tokens" : 111, "completion_tokens" : 592, "total_tokens" : 703 }
  • Chat Response: { "prompt_tokens" : 111, "completion_tokens" : 749, "total_tokens" : 860 }
  • Chat Response: { "prompt_tokens" : 884, "completion_tokens" : 280, "total_tokens" : 1164 }
  • Chat Response: { "prompt_tokens" : 711, "completion_tokens" : 594, "total_tokens" : 1305 }
  • Chat Response: { "prompt_tokens" : 693, "completion_tokens" : 1935, "total_tokens" : 2628 }
  • Chat Response: { "prompt_tokens" : 693, "completion_tokens" : 655, "total_tokens" : 1348 }
  • Chat Response: { "prompt_tokens" : 693, "completion_tokens" : 737, "total_tokens" : 1430 }
  • Chat Response: { "prompt_tokens" : 1608, "completion_tokens" : 781, "total_tokens" : 2389 }
  • Action: MultiDiffChatAction
  • Chat Response: { "prompt_tokens" : 478, "completion_tokens" : 473, "total_tokens" : 951 }
  • Action: MultiDiffChatAction
  • Chat Response: { "prompt_tokens" : 1115, "completion_tokens" : 91, "total_tokens" : 1206 }
  • Action: MultiDiffChatAction
  • Chat Response: { "prompt_tokens" : 1121, "completion_tokens" : 505, "total_tokens" : 1626 }
  • Action: MultiDiffChatAction

Error History:

Ktvic991 avatar May 05 '24 13:05 Ktvic991