Dansoftowner / Boomega

A modern book explorer/catalog application written in Kotlin and Java.
GNU General Public License v3.0
73 stars 5 forks source link

Login faliure on Windows when running the app as a jar #165

Open Dansoftowner opened 2 years ago

Dansoftowner commented 2 years ago

Description When I try to login, an unexpected error occurs.

To Reproduce Run the app on Windows as a Jar (with the help of the runAsJar gradle task).

Screenshots image

The stacktrace(s):

java.lang.NoClassDefFoundError: org/bridj/ValuedEnum
    at com.nativejavafx.taskbar.TaskbarProgressbarFactory.getTaskbarProgressbarImpl(TaskbarProgressbarFactory.java:31)
    at com.nativejavafx.taskbar.TaskbarProgressbarFactory.getTaskbarProgressbar(TaskbarProgressbarFactory.java:50)
    at com.dansoftware.boomega.gui.base.BaseView.getTaskbarProgressbar(BaseView.java:405)
    at com.dansoftware.boomega.gui.base.BaseView.stopProgress(BaseView.java:397)
    at com.dansoftware.boomega.gui.login.LoginBox$loginRequest$$inlined$login$1$3.handle(Concurrency.kt:81)
    at com.dansoftware.boomega.gui.login.LoginBox$loginRequest$$inlined$login$1$3.handle(Concurrency.kt:55)
    at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.EventHelper.fireEvent(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.Task.fireEvent(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.Task.setState(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.Task$TaskCallable.lambda$call$1(Unknown Source)
    at javafx.graphics@18/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at javafx.graphics@18/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
    at javafx.graphics@18/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
    at javafx.graphics@18/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at javafx.graphics@18/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.bridj.ValuedEnum
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    ... 25 more
java.lang.NoClassDefFoundError: org/bridj/ValuedEnum
    at com.nativejavafx.taskbar.TaskbarProgressbarFactory.getTaskbarProgressbarImpl(TaskbarProgressbarFactory.java:31)
    at com.nativejavafx.taskbar.TaskbarProgressbarFactory.getTaskbarProgressbar(TaskbarProgressbarFactory.java:50)
    at com.dansoftware.boomega.gui.base.BaseView.getTaskbarProgressbar(BaseView.java:405)
    at com.dansoftware.boomega.gui.base.BaseView.showIndeterminateProgress(BaseView.java:372)
    at com.dansoftware.boomega.gui.login.LoginBox$loginRequest$$inlined$login$1$1.handle(Concurrency.kt:81)
    at com.dansoftware.boomega.gui.login.LoginBox$loginRequest$$inlined$login$1$1.handle(Concurrency.kt:63)
    at javafx.base@18/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
    at javafx.base@18/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
    at javafx.base@18/javafx.event.Event.fireEvent(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.EventHelper.fireEvent(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.Task.fireEvent(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.Task.setState(Unknown Source)
    at javafx.graphics@18/javafx.concurrent.Task$TaskCallable.lambda$call$0(Unknown Source)
    at javafx.graphics@18/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at javafx.graphics@18/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
    at javafx.graphics@18/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
    at javafx.graphics@18/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at javafx.graphics@18/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.bridj.ValuedEnum
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    ... 25 more