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

Title (English): Error enabling and disabling AxMinions v1.0.11 on Minecraft 1.21.1 Title (Spanish): Error al habilitar y deshabilitar AxMinions v1.0.11 en Minecraft 1.21.1 #33

Open
servicomcr opened this issue Sep 19, 2024 · 1 comment

Comments

@servicomcr
Copy link

Report (English):
An error occurred while enabling and disabling the AxMinions plugin version 1.0.11 on a Minecraft 1.21.1 server. The error stems from uninitialized lateinit properties (INSTANCE and dataHandler) in Kotlin, causing UninitializedPropertyAccessException during plugin start and shutdown. This makes the plugin non-functional. Here is part of the error log:

python
Copiar código
kotlin.UninitializedPropertyAccessException: lateinit property INSTANCE has not been initialized
at AxMinions-1.0.11-all.jar/com.artillexstudios.axminions.api.AxMinionsAPI$Companion.getINSTANCE(AxMinionsAPI.kt:34) ~[AxMinions-1.0.11-all.jar:?]
...
kotlin.UninitializedPropertyAccessException: lateinit property dataHandler has not been initialized
at AxMinions-1.0.11-all.jar/com.artillexstudios.axminions.AxMinionsPlugin$Companion.getDataHandler(AxMinionsPlugin.kt:49) ~[AxMinions-1.0.11-all.jar:?]
Report (Spanish):
Ocurrió un error al habilitar y deshabilitar el plugin AxMinions versión 1.0.11 en un servidor Minecraft 1.21.1. El error proviene de propiedades lateinit no inicializadas (INSTANCE y dataHandler) en Kotlin, lo que causa UninitializedPropertyAccessException durante el inicio y apagado del plugin. Esto hace que el plugin no funcione. A continuación, se muestra parte del registro de errores:

python
Copiar código
kotlin.UninitializedPropertyAccessException: lateinit property INSTANCE has not been initialized
at AxMinions-1.0.11-all.jar/com.artillexstudios.axminions.api.AxMinionsAPI$Companion.getINSTANCE(AxMinionsAPI.kt:34) ~[AxMinions-1.0.11-all.jar:?]
...
kotlin.UninitializedPropertyAccessException: lateinit property dataHandler has not been initialized
at AxMinions-1.0.11-all.jar/com.artillexstudios.axminions.AxMinionsPlugin$Companion.getDataHandler(AxMinionsPlugin.kt:49) ~[AxMinions-1.0.11-all.jar:?]

@AverageGithub
Copy link
Member

Update to 1.0.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants