ho-dev / HattrickOrganizer

Assistant for Hattrick online football manager
https://ho-dev.github.io/HattrickOrganizer/
GNU Lesser General Public License v3.0
195 stars 79 forks source link

[BUG] Error during startup #1880

Open RanzEckenklauer opened 1 year ago

RanzEckenklauer commented 1 year ago

Describe the bug Every time I try to start two or more Ho-Databases (teams) at one time there is an error: The startup responds with an error window... "Starting error: An error has occurred during startup": java.lang.UnsatisfiedLinkError: 'void com.github.weisj.darklaf.platform.windows.JNIDecorationsWindows.init()' at com.github.weisj.darklaf.platform.windows.JNIDecorationsWindows.init(Native Method) at com.github.weisj.darklaf.platform.windows.WindowsLibrary.afterLoad(WindowsLibrary.java:44) at com.github.weisj.darklaf.nativeutil.AbstractLibrary.updateLibrary(AbstractLibrary.java:49) at com.github.weisj.darklaf.platform.windows.WindowsDecorationsProvider.initialize(WindowsDecorationsProvider.java:54) at com.github.weisj.darklaf.platform.decorations.NativeDecorationsManager.initialize(NativeDecorationsManager.java:96) at com.github.weisj.darklaf.DarkLaf.setupDecorations(DarkLaf.java:146) at com.github.weisj.darklaf.DarkLaf.initialize(DarkLaf.java:138) at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:592) at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:639) at core.gui.theme.light.SolarizedLightTheme.loadTheme(SolarizedLightTheme.java:29) at core.gui.theme.ThemeManager.setCurrentTheme(ThemeManager.java:354) at core.HO.main(HO.java:164) at core.HOLauncher.main(HOLauncher.java:81) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:84) at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94) at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)

There never is any problem when I only start one Database, and the next when the first Startup completely finished. best regards Ranz Eckenklauer - Leo

github-actions[bot] commented 1 year ago

Hey, thanks for opening your first issue! 🙂 Be sure to check out the wiki and the HT forum for support.

wsbrenk commented 1 year ago

@RanzEckenklauer when i try to reproduce this error i changed my theme from Nimbus to Solarized Light and startet all of my 4 HO database instances in parallel without any problems or longer waiting times. the task manager shows a workspace memory from 350 up to 430 MBytes for each HO process which seems to be no problem on my computer. Memory usage of Nimbus theme (my favorite setting) is a little lower. Before the team is selected (and the database is opened) the memory usage is around 60MBytes.

image

wsbrenk commented 1 year ago

possible workaround: use of Nimbus skin instead of Solarized light