ani-memes / AMII

A plugin that adds Anime Memes to your JetBrains IDEs
https://plugins.jetbrains.com/plugin/15865-amii
Apache License 2.0
268 stars 15 forks source link

Problems with Meme Dismissal #123

Closed Unthrottled closed 3 years ago

Unthrottled commented 3 years ago

Problem

Stacktrace ``` java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.desktop/javax.swing.JLayeredPane.getComponentsInLayer(JLayeredPane.java:561) at io.unthrottled.amii.memes.MemeService.dismissAllMemesInPane(MemeService.kt:122) at io.unthrottled.amii.memes.MemeService.access$dismissAllMemesInPane(MemeService.kt:21) at io.unthrottled.amii.memes.MemeService$attemptToDisplayMeme$1.accept(MemeService.kt:84) at io.unthrottled.amii.memes.MemeService$attemptToDisplayMeme$1.accept(MemeService.kt:21) at java.base/java.util.Optional.ifPresent(Optional.java:183) at io.unthrottled.amii.memes.MemeService.attemptToDisplayMeme(MemeService.kt:84) at io.unthrottled.amii.memes.MemeService.access$attemptToDisplayMeme(MemeService.kt:21) at io.unthrottled.amii.memes.MemeService$buildMeme$1$2.invoke(MemeService.kt:60) at io.unthrottled.amii.memes.MemeService$buildMeme$1$2.invoke(MemeService.kt:21) at io.unthrottled.amii.tools.ToolBoxKt$doOrElse$4.accept(ToolBox.kt:36) at io.unthrottled.amii.tools.ToolBoxKt$doOrElse$4.accept(ToolBox.kt) at java.base/java.util.Optional.ifPresent(Optional.java:183) at io.unthrottled.amii.tools.ToolBoxKt.doOrElse(ToolBox.kt:34) at io.unthrottled.amii.memes.MemeService$buildMeme$1.invoke(MemeService.kt:59) at io.unthrottled.amii.memes.MemeService$buildMeme$1.invoke(MemeService.kt:21) at io.unthrottled.amii.services.ExecutionService$sam$java_lang_Runnable$0.run(ExecutionService.kt) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:265) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 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) ```

Extra Info

Additional Info None
App Name IntelliJ IDEA 2021.2 (Ultimate Edition)
Build Info Build #IU-212.4746.92, built on July 27, 2021
Cores 12
Current LAF FutureDiary: Gasai Yuno
GC G1 Young Generation,G1 Old Generation
JRE Runtime version: 11.0.11+9-b1504.13 amd64
Memory 1934
Non-Bundled Plugins IdeaVIM,io.acari.DDLCTheme,io.unthrottled.amii,com.aegamesi.java_visualizer.plugin,zd.zero.waifu-motivator-plugin,Dart,io.flutter
Plugin Config { "memeVolume": 8, "soundEnabled": true, "memeDisplayModeValue": "TIMED", "memeDisplayAnchorValue": "MIDDLE_RIGHT", "idleMemeDisplayAnchorValue": "CENTER", "memeDisplayInvulnerabilityDuration": 3, "memeDisplayTimedDuration": 40, "userId": "b6187afc-b695-4db9-b8d0-1397ede1eb15", "version": "0.11.0", "allowedExitCodes": "0,130", "positiveExitCodes": "", "idleTimeoutInMinutes": 5, "silenceTimeoutInMinutes": 20, "allowFrustration": true, "eventsBeforeFrustration": 5, "probabilityOfFrustration": 75, "preferredCharacters": "", "blackListedCharacters": "", "logSearchTerms": "", "logSearchIgnoreCase": true, "preferredGenders": 7, "enabledEvents": 253, "showMood": true, "minimalMode": true, "capDimensions": false, "maxMemeWidth": -1, "maxMemeHeight": -1 }
Registry ide.intellij.laf.enable.animation=true
System Info Linux 5.13.4-200.fc34.x86_64
VM VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.