-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 46 #21
Comments
所做操作是导入list: 然后选择了镜像站链接并保存,此时可以用,再关闭插件再打开就一直打不开页面,然后看到idea有提示报错 |
@mylovesaber 感谢反馈,
这里关闭插件是指关闭 Tool Window 吗?我按照你的步骤没有复现这个问题,如果是阻塞性的,可以尝试先把设置里的链接列表全删除,只剩初始的和默认的试试。 |
java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
at java.base/java.util.Vector.removeElementAt(Vector.java:549)
at java.desktop/javax.swing.DefaultComboBoxModel.removeElementAt(DefaultComboBoxModel.java:153)
at java.desktop/javax.swing.JComboBox.removeItemAt(JComboBox.java:789)
at com.lilittlecat.chatgpt.setting.ChatGPTSettingsConfigurable$1.removeRow(ChatGPTSettingsConfigurable.java:114)
at com.lilittlecat.chatgpt.setting.ChatGPTSettingsConfigurable$3.setValue(ChatGPTSettingsConfigurable.java:183)
at com.lilittlecat.chatgpt.setting.ChatGPTSettingsConfigurable$3.setValue(ChatGPTSettingsConfigurable.java:167)
at com.intellij.util.ui.ListTableModel.setValueAt(ListTableModel.java:116)
at com.intellij.util.ui.ListTableModel.setValueAt(ListTableModel.java:102)
at java.desktop/javax.swing.JTable.setValueAt(JTable.java:2787)
at java.desktop/javax.swing.JTable.editingStopped(JTable.java:4785)
at java.desktop/javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:152)
at java.desktop/javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:375)
at java.desktop/javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:234)
at com.intellij.openapi.ui.cellvalidators.StatefulValidatingCellEditor.stopCellEditing(StatefulValidatingCellEditor.java:78)
at java.desktop/javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1049)
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.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6645)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3392)
at com.intellij.ui.table.JBTable.processMouseEvent(JBTable.java:764)
at java.desktop/ja 让别人帮尝试了下,微信单次消息字数限制只有开头这些提示,他那边具体操作是全新安装,也是idea内市场点击安装,然后打开,把那个镜像的json导入,然后点击保存后保存不了,应用和保存按钮都是灰色(不排除是他电脑问题),但直接关闭设置界面是可以的,然后直接重启了idea(全部idea窗口关闭),然后打开插件界面,点击设置,重新加入json链接,然后保存设置后关掉已经打开的默认openai的tab页,插件界面就关了,然后再点开。 细节操作有点忘了,但能确认的是我和别人都是首次安装此插件并进行设置的时候弹出报错信息,如果只是idea卸载插件并重启后再安装,不会复现问题,有什么办法可以卸载插件的时候把他的所有配置文件都删掉? |
这里是这样的,编辑列表的话是即时生效,不用点击 Apply(应用),所以按钮是灰的。
我试了下,较新的版本如果关闭了唯一打开的 Tab,会导致整个 Tool Window 关闭,暂时还没发现原因,可能内部 API 改了。但是关掉之后重新打开一个不会阻塞使用,这个问题我再看看。
设置的持久化文件是一个叫 BTW,你用的 IDE 的版本是多少? |
idea报错,但Report and Clear All 按钮是灰的发送不了,只能发这里了
The text was updated successfully, but these errors were encountered: