zielu / GitToolBox

GitToolBox IntelliJ plugin
GNU General Public License v3.0
607 stars 76 forks source link

[BUG] Exception in plugin and gitmoji autocomplete not available #551

Closed stvali2 closed 7 months ago

stvali2 commented 7 months ago

Describe the bug Exception in plugin and gitmoji autocomplete not available

To Reproduce Steps to reproduce the behavior:

  1. Start IntelliJ
  2. Go to Git -> Commit
  3. Type something (gitmoji related) into Commit Message
  4. A new Exception appears in IDE Internal Errors (please see below)

Expected behavior No Exception expected and gitmoji autocomplete works as expected.

Plugin version GitToolBox 500.2.5+233

IDE version IntelliJ IDEA 2024.1 (Ultimate Edition) Build #IU-241.14494.240, built on March 28, 2024 Subscription is active until November 2, 2024. Runtime version: 17.0.10+8-b1207.12 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 14.4.1 GC: G1 Young Generation, G1 Old Generation Memory: 4096M Cores: 14 Metal Rendering is ON Registry: ide.experimental.ui=true Non-Bundled Plugins: com.mnr.java.intellij.idea.plugin.base64helper (4.0.0) Key Promoter X (2024.1.0) org.jetbrains.plugins.go (241.14494.240) Pythonid (241.14494.314) com.jetbrains.space (241.14494.150) com.intellij.bigdatatools.core (241.14494.240) kotest-plugin-intellij (1.3.74-241.9959-EAP-CANDIDATE-SNAPSHOT) mobi.hsz.idea.gitignore (4.5.3) com.intellij.bigdatatools.kafka (241.14494.158) com.intellij.plugins.html.instantEditing (241.14494.140) com.jetbrains.php (241.14494.240) org.jetbrains.plugins.phpstorm-remote-interpreter (241.14494.158) org.jetbrains.plugins.phpstorm-docker (241.14494.158) zielu.gittoolbox (500.2.5+233) Kotlin: 241.14494.240-IJ

java.util.MissingResourceException: Can't find bundle for base name zielu.gittoolbox.p, locale en_US
    at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2045)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1683)
    at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1586)
    at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:1280)
    at com.intellij.AbstractBundle.resolveResourceBundleWithFallback(AbstractBundle.java:165)
    at com.intellij.AbstractBundle.resolveResourceBundle(AbstractBundle.java:147)
    at com.intellij.AbstractBundle.getResourceBundle(AbstractBundle.java:134)
    at com.intellij.AbstractBundle.getResourceBundle(AbstractBundle.java:126)
    at zielu.gittoolbox.p.a.a(a.java:1)
    at zielu.gittoolbox.h.a.c.a(c.java:1)
    at zielu.gittoolbox.h.a.b.a(b.java:8)
    at zielu.gittoolbox.h.a.b.a(b.java:21)
    at zielu.gittoolbox.h.c.addCompletions(c.java:20)
    at com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:23)
    at zielu.gittoolbox.h.a.a.fillCompletionVariants(a.java:1)
    at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributor(CompletionService.java:81)
    at com.intellij.codeInsight.completion.impl.CompletionServiceImpl.getVariantsFromContributor(CompletionServiceImpl.kt:219)
    at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:73)
    at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:56)
    at com.intellij.codeInsight.completion.CompletionService.performCompletion(CompletionService.java:130)
    at com.intellij.codeInsight.completion.BaseCompletionService.performCompletion(BaseCompletionService.java:48)
    at com.intellij.codeInsight.completion.impl.CompletionServiceImpl.performCompletion(CompletionServiceImpl.kt:234)
    at com.intellij.codeInsight.completion.CompletionProgressIndicator.lambda$calculateItems$12(CompletionProgressIndicator.java:973)
    at com.intellij.util.indexing.FileBasedIndex.lambda$ignoreDumbMode$0(FileBasedIndex.java:219)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.util.indexing.FileBasedIndexEx.ignoreDumbMode(FileBasedIndexEx.java:637)
    at com.intellij.util.indexing.FileBasedIndex.ignoreDumbMode(FileBasedIndex.java:218)
    at com.intellij.util.indexing.DumbModeAccessType.ignoreDumbMode(DumbModeAccessType.java:43)
    at com.intellij.codeInsight.completion.CompletionProgressIndicator.calculateItems(CompletionProgressIndicator.java:969)
    at com.intellij.codeInsight.completion.CompletionProgressIndicator.runContributors(CompletionProgressIndicator.java:957)
    at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$7(CodeCompletionHandlerBase.java:383)
    at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212)
    at com.intellij.codeInsight.completion.CompletionThreadingKt.tryReadOrCancel$lambda$0(CompletionThreading.kt:76)
    at com.intellij.openapi.application.impl.RwLockHolder.tryRunReadAction(RwLockHolder.kt:310)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:958)
    at com.intellij.codeInsight.completion.CompletionThreadingKt.tryReadOrCancel(CompletionThreading.kt:74)
    at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.lambda$startContributorThread$8(CodeCompletionHandlerBase.java:375)
    at io.opentelemetry.context.Context.lambda$wrap$1(Context.java:212)
    at com.intellij.codeInsight.completion.AsyncCompletion.startThread$lambda$1$lambda$0(CompletionThreading.kt:98)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:217)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202)
    at com.intellij.codeInsight.completion.AsyncCompletion.startThread$lambda$1(CompletionThreading.kt:93)
    at com.intellij.codeInsight.completion.AsyncCompletion$startThread$future$1.invokeSuspend(CompletionThreading.kt:104)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
zielu commented 7 months ago

Hi, I'm on it.

zielu commented 7 months ago

Done in 500.2.6