全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 问答详情

idea apipost-helper-2.0报错

ApiPost使用 58次浏览

java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 10

at java.base/java.util.Vector.elementData(Vector.java:731)

at java.base/java.util.Vector.elementAt(Vector.java:469)

at java.desktop/javax.swing.table.DefaultTableModel.setValueAt(DefaultTableModel.java:677)

at java.desktop/javax.swing.JTable.setValueAt(JTable.java:2793)

at cn.apipost.restful.debug.CellEditorFile$1.mousePressed(CellEditorFile.java:62)

at java.desktop/java.awt.Component.processMouseEvent(Component.java:6662)

at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3394)

at java.desktop/java.awt.Component.processEvent(Component.java:6430)

at java.desktop/java.awt.Container.processEvent(Container.java:2266)

at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5035)

at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)

at java.desktop/java.awt.Component.dispatchEvent(Component.java:4860)

at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(BasicTableUI.java:978)

at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(BasicTableUI.java:1140)

at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1068)

at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:288)

at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)

at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)

at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)

at java.desktop/java.awt.Component.processMouseEvent(Component.java:6662)

at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3394)

at com.intellij.ui.table.JBTable.processMouseEvent(JBTable.java:799)

at java.desktop/java.awt.Component.processEvent(Component.java:6430)

at java.desktop/java.awt.Container.processEvent(Container.java:2266)

at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5035)

at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)

at java.desktop/java.awt.Component.dispatchEvent(Component.java:4860)

at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4963)

at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4574)

at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4518)

at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)

at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2810)

at java.desktop/java.awt.Component.dispatchEvent(Component.java:4860)

at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:783)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)

at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)

at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:755)

at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:753)

at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)

at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)

at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:752)

at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:696)

at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:635)

at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$14(IdeEventQueue.kt:581)

at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:84)

at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:581)

at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:73)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1$1.compute(IdeEventQueue.kt:357)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1$1.compute(IdeEventQueue.kt:356)

at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.invoke(IdeEventQueue.kt:356)

at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.invoke(IdeEventQueue.kt:351)

at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke$lambda$0(IdeEventQueue.kt:1035)

at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)

at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:84)

at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:910)

at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)

at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)

at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke(IdeEventQueue.kt:1035)

at com.intellij.ide.IdeEventQueueKt$performActivity$runnableWithWIL$1.invoke(IdeEventQueue.kt:1035)

at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1036)

at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:114)

at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1036)

at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$10(IdeEventQueue.kt:351)

at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:397)

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)

| 0 收藏

1 个回答

加一下微信 发你个本地安装包试试

Apipost 私有化火热进行中

撰写答案

只服务于

前后端、移动端、测试人员

提问题 发布您遇到的Bug和问题,上万名大牛和开发者来帮您解决!