YiiGuxing / TranslationPlugin

Translation plugin for IntelliJ based IDEs/Android Studio.
https://intellij-translation.yiiguxing.top
MIT License
11.23k stars 780 forks source link

[Auto Generated]Plugin error occurred: Index 3 out of bounds for length 3 #5870

Closed intellij-translation-plugin-bot closed 2 months ago

intellij-translation-plugin-bot commented 2 months ago

:warning:[Auto Generated Report]-=247A033357245983FBF0B996405AE966=-

Description

Index 3 out of bounds for length 3

Environments

Plugin version: 3.6.2+203u212

IntelliJ IDEA 2021.2.1 (Ultimate Edition) Build #IU-212.5080.55, built on August 24, 2021 Runtime version: 11.0.11+9-b1504.16 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Operating system: Windows 10 10.0 Last action id: null

Stack Trace

java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
    at com.intellij.credentialStore.kdbx.KdbxHeader.readKdbxHeader(KdbxHeader.kt:198)
    at com.intellij.credentialStore.kdbx.KdbxHeader.<init>(KdbxHeader.kt:83)
    at com.intellij.credentialStore.kdbx.KdbxKt.readKeePassDatabase(kdbx.kt:25)
    at com.intellij.credentialStore.kdbx.KdbxKt.loadKdbx(kdbx.kt:21)
    at com.intellij.credentialStore.keePass.KeePassCredentialStore.<init>(KeePassCredentialStore.kt:39)
    at com.intellij.credentialStore.keePass.KeePassCredentialStore.<init>(KeePassCredentialStore.kt:30)
    at com.intellij.ide.passwordSafe.impl.PasswordSafeImplKt.computeProvider(PasswordSafeImpl.kt:201)
    at com.intellij.ide.passwordSafe.impl.PasswordSafeImplKt.access$computeProvider(PasswordSafeImpl.kt:1)
    at com.intellij.ide.passwordSafe.impl.BasePasswordSafe$_currentProvider$1.invoke(PasswordSafeImpl.kt:43)
    at com.intellij.ide.passwordSafe.impl.BasePasswordSafe$_currentProvider$1.invoke(PasswordSafeImpl.kt:33)
    at com.intellij.util.concurrency.SynchronizedClearableLazy.getValue(SynchronizedClearableLazy.kt:37)
    at com.intellij.ide.passwordSafe.impl.BasePasswordSafe.getCurrentProvider$intellij_platform_credentialStore(PasswordSafeImpl.kt:49)
    at com.intellij.ide.passwordSafe.impl.BasePasswordSafe.get(PasswordSafeImpl.kt:98)
    at com.intellij.credentialStore.CredentialStore.getPassword(CredentialStore.java:30)
    at cn.yiiguxing.plugin.translate.util.PasswordSafeDelegate.getValue(PasswordSafeDelegate.kt:17)
    at cn.yiiguxing.plugin.translate.util.credential.SimpleStringCredentialManager.get_credential(SimpleStringCredentialManager.kt:14)
    at cn.yiiguxing.plugin.translate.util.credential.SimpleStringCredentialManager.getCredential(SimpleStringCredentialManager.kt:19)
    at cn.yiiguxing.plugin.translate.util.credential.SimpleStringCredentialManager.isCredentialSet(SimpleStringCredentialManager.kt:31)
    at cn.yiiguxing.plugin.translate.trans.deepl.DeeplCredential.isCredentialSet(DeeplCredential.kt)
    at cn.yiiguxing.plugin.translate.trans.deepl.DeeplCredential$Companion.isAuthKeySet(DeeplCredential.kt:21)
    at cn.yiiguxing.plugin.translate.ui.settings.TranslationEngine.isConfigured(TranslationEngine.kt:97)
    at cn.yiiguxing.plugin.translate.action.TranslationEngineAction.isAvailable(TranslationEngineAction.kt:19)
    at cn.yiiguxing.plugin.translate.action.TranslationEngineAction$Companion.actionsGroupedByAvailability(TranslationEngineAction.kt:39)
    at cn.yiiguxing.plugin.translate.action.TranslationEngineActionGroup.<init>(TranslationEngineActionGroup.kt:19)
    at cn.yiiguxing.plugin.translate.action.TranslationEngineActionGroup.<init>(TranslationEngineActionGroup.kt:13)
    at cn.yiiguxing.plugin.translate.ui.TranslationWidget$showPopup$$inlined$runAsync$1.run(promise.kt:402)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:829)
github-actions[bot] commented 2 months ago

This issue has been automatically closed because it is not an issue for this project. If you think there are something really wrong, please reply this issue. Thanks for your cooperation.