Skip to content
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

Plugin breaks when Bluemap is reloaded #50

Closed
FlorianFreudiger opened this issue Apr 9, 2024 · 2 comments
Closed

Plugin breaks when Bluemap is reloaded #50

FlorianFreudiger opened this issue Apr 9, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@FlorianFreudiger
Copy link

Plugins works great until Bluemap is reloaded via bluemap reload.

The markers disappear and the following exception is logged:

[Thread-20/INFO]: WebServer started.
[BlueMap-Plugin-ReloadCommand/ERROR]: BlueMapAPI: A BlueMapAPI listener threw an exception (onEnable)!
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@67a0e838[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@69852910[Wrapped task = com.tpwalke2.bluemapsignmarkers.core.reactive.ReactiveQueue$$Lambda/0x00007f79f4e0fdc8@595f5c6a]] rejected from java.util.concurrent.ThreadPoolExecutor@11703ff2[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 6]
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source) ~[?:?]
        at java.util.concurrent.AbstractExecutorService.submit(Unknown Source) ~[?:?]
        at com.tpwalke2.bluemapsignmarkers.core.reactive.ReactiveQueue.process(ReactiveQueue.java:32) ~[bluemapsignmarkers-1.20.1-0.1.1.10.jar:?]
        at com.tpwalke2.bluemapsignmarkers.core.bluemap.BlueMapAPIConnector.onEnable(BlueMapAPIConnector.java:97) ~[bluemapsignmarkers-1.20.1-0.1.1.10.jar:?]
        at de.bluecolored.bluemap.api.BlueMapAPI.registerInstance(BlueMapAPI.java:211) ~[BlueMap-3.20-fabric-1.20.jar:?]
        at de.bluecolored.bluemap.common.api.BlueMapAPIImpl.register(BlueMapAPIImpl.java:175) ~[BlueMap-3.20-fabric-1.20.jar:?]
        at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:351) ~[BlueMap-3.20-fabric-1.20.jar:?]
        at de.bluecolored.bluemap.common.plugin.Plugin.load(Plugin.java:112) ~[BlueMap-3.20-fabric-1.20.jar:?]
        at de.bluecolored.bluemap.common.plugin.Plugin.reload(Plugin.java:465) ~[BlueMap-3.20-fabric-1.20.jar:?]
        at de.bluecolored.bluemap.common.plugin.commands.Commands.lambda$reloadCommand$5(Commands.java:398) ~[BlueMap-3.20-fabric-1.20.jar:?]
        at java.lang.Thread.run(Unknown Source) ~[?:?]

Tested with version 1.20.1-0.1.1.10 and both Bluemap version 3.20 and snapshot version 4.1

@tpwalke2 tpwalke2 added the bug Something isn't working label Apr 9, 2024
@tpwalke2 tpwalke2 self-assigned this Apr 9, 2024
tpwalke2 added a commit that referenced this issue Apr 14, 2024
tpwalke2 added a commit that referenced this issue Apr 14, 2024
tpwalke2 added a commit that referenced this issue Apr 14, 2024
#50 Reload signs on BlueMap reload
@tpwalke2
Copy link
Owner

@FlorianFreudiger, thank you for reporting this. I was out of town on vacation this past week but now have a fix pushed to the main branch. My token for authenticating with Modrinth in order to upload a release has expired and there is a bug that has broken their personal access token page (modrinth/code#1386). Once they have fixed the site, I'll generate a new token and get a release posted.

@tpwalke2
Copy link
Owner

@FlorianFreudiger, I have published the updated version to Modrinth here: https://modrinth.com/mod/bluemap-sign-markers/version/1.20.1-0.1.2.13

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants