Electrostat-Lab / jMonkeyBuilder

Alex's Jme3 Scene editor Maintained Version
https://hub.jmonkeyengine.org/t/editor-jmonkeybuilder/35179/1232
Apache License 2.0
6 stars 3 forks source link

Initialization manager exception in rlib #13

Closed pavly-gerges closed 2 years ago

pavly-gerges commented 2 years ago

Sometimes the initialization manager throws this exception when trying to initialize the managers :

NFO 19:08:51:600 Editor: OS: Zorin OS 15.3 (bionic)
java.lang.Exception: Stack trace
    at java.lang.Thread.dumpStack(Thread.java:1336)
    at com.ss.rlib.manager.InitializeManager.valid(InitializeManager.java:80)
    at com.ss.editor.manager.WorkspaceManager.<init>(WorkspaceManager.java:58)
    at com.ss.editor.manager.WorkspaceManager.getInstance(WorkspaceManager.java:47)
    at com.ss.editor.ui.component.editor.area.EditorAreaComponent.<clinit>(EditorAreaComponent.java:84)
    at com.ss.editor.ui.builder.EditorFXSceneBuilder.build(EditorFXSceneBuilder.java:105)
    at com.ss.editor.ui.builder.EditorFXSceneBuilder.build(EditorFXSceneBuilder.java:89)
    at com.ss.editor.JFXApplication.buildScene(JFXApplication.java:114)
    at com.ss.editor.JFXApplication.start(JFXApplication.java:65)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$419(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$399(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$397(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$398(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$203(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:748)
java.lang.Exception: Stack trace
    at java.lang.Thread.dumpStack(Thread.java:1336)
    at com.ss.rlib.manager.InitializeManager.valid(InitializeManager.java:80)
    at com.ss.editor.manager.JavaFXImageManager.<init>(JavaFXImageManager.java:133)
    at com.ss.editor.manager.JavaFXImageManager.getInstance(JavaFXImageManager.java:116)
    at com.ss.editor.ui.component.editor.impl.ImageViewerEditor.<clinit>(ImageViewerEditor.java:34)
    at com.ss.editor.ui.component.editor.EditorRegistry.loadDescriptions(EditorRegistry.java:74)
    at com.ss.editor.ui.component.editor.EditorRegistry.<init>(EditorRegistry.java:64)
    at com.ss.editor.ui.component.editor.EditorRegistry.<clinit>(EditorRegistry.java:36)
    at com.ss.editor.ui.component.editor.area.EditorAreaComponent.<clinit>(EditorAreaComponent.java:93)
    at com.ss.editor.ui.builder.EditorFXSceneBuilder.build(EditorFXSceneBuilder.java:105)
    at com.ss.editor.ui.builder.EditorFXSceneBuilder.build(EditorFXSceneBuilder.java:89)
    at com.ss.editor.JFXApplication.buildScene(JFXApplication.java:114)
    at com.ss.editor.JFXApplication.start(JFXApplication.java:65)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$419(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$399(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$397(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$398(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$203(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:748)
java.lang.Exception: Stack trace
    at java.lang.Thread.dumpStack(Thread.java:1336)
    at com.ss.rlib.manager.InitializeManager.valid(InitializeManager.java:80)
    at com.ss.editor.manager.FileIconManager.<init>(FileIconManager.java:140)
    at com.ss.editor.manager.FileIconManager.getInstance(FileIconManager.java:117)
    at com.ss.editor.ui.component.editor.area.EditorAreaComponent.<clinit>(EditorAreaComponent.java:96)
    at com.ss.editor.ui.builder.EditorFXSceneBuilder.build(EditorFXSceneBuilder.java:105)
    at com.ss.editor.ui.builder.EditorFXSceneBuilder.build(EditorFXSceneBuilder.java:89)
    at com.ss.editor.JFXApplication.buildScene(JFXApplication.java:114)
    at com.ss.editor.JFXApplication.start(JFXApplication.java:65)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$419(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$399(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$397(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$398(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$203(GtkApplication.java:139)
    at java.lang.Thread.run(Thread.java:748)