DropSnorz / OwlPlug

Audio plugin manager. Small tool to manage VST / AU / LV2 plugins on Windows, MacOS and Linux.
https://owlplug.com
GNU General Public License v3.0
293 stars 11 forks source link

MacOS - Cant run project from source / how did you manage to delete files without read & write permission #187

Closed Yetispapa closed 1 year ago

Yetispapa commented 1 year ago

Hi @DropSnorz,

first of all. Thanks for this great project. Upfront a question: How did you manage to delete files / folders from /Library/Audio/Plug-Ins as those have not the read & write permission, so only administrators can delete them

Second, as i'm not a Java developer, I wanted to dig a bit in the project and wanted to run it from source, also to avoid the "damaged" error on MacOS. Unfortunately, I can't run it from source. Tried the latest release and master. As said, don't judge me, I have not that many expierence with Java.

When I run mvn clean install

I got this output, where owlplug-client has a failure:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] owlplug                                                            [pom]
[INFO] owlplug-host                                                       [jar]
[INFO] owlplug-client                                                     [jar]
[INFO] 
[INFO] ------------------------< com.owlplug:owlplug >-------------------------
[INFO] Building owlplug 1.22.1                                            [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ owlplug ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ owlplug ---
[INFO] Installing /Users/my-user/Development/Python/OwlPlug-1.22.1/pom.xml to /Users/my-user/.m2/repository/com/owlplug/owlplug/1.22.1/owlplug-1.22.1.pom
[INFO] 
[INFO] ----------------------< com.owlplug:owlplug-host >----------------------
[INFO] Building owlplug-host 1.22.1                                       [2/3]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ owlplug-host ---
[INFO] Deleting /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/target
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ owlplug-host ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ owlplug-host ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 14 source files to /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ owlplug-host ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ owlplug-host ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ owlplug-host ---
[INFO] Surefire report directory: /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.owlplug.host.NativeHostTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ owlplug-host ---
[INFO] Building jar: /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/target/owlplug-host-1.22.1.jar
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ owlplug-host ---
[INFO] Installing /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/target/owlplug-host-1.22.1.jar to /Users/my-user/.m2/repository/com/owlplug/owlplug-host/1.22.1/owlplug-host-1.22.1.jar
[INFO] Installing /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-host/pom.xml to /Users/my-user/.m2/repository/com/owlplug/owlplug-host/1.22.1/owlplug-host-1.22.1.pom
[INFO] 
[INFO] ---------------------< com.owlplug:owlplug-client >---------------------
[INFO] Building owlplug-client 1.22.1                                     [3/3]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ owlplug-client ---
[INFO] Deleting /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ owlplug-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 77 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ owlplug-client ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 136 source files to /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/src/main/java/com/owlplug/store/controllers/ProductInfoController.java: Some input files use or override a deprecated API.
[WARNING] /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/src/main/java/com/owlplug/store/controllers/ProductInfoController.java: Recompile with -Xlint:deprecation for details.
[WARNING] /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/src/main/java/com/owlplug/core/controllers/PluginInfoController.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/src/main/java/com/owlplug/core/controllers/PluginInfoController.java: Recompile with -Xlint:unchecked for details.
[INFO] 4 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/src/main/java/com/owlplug/core/tasks/AbstractTask.java:[102,32] reference to State is ambiguous
  both enum java.util.concurrent.Future.State in java.util.concurrent.Future and enum javafx.concurrent.Worker.State in javafx.concurrent.Worker match
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for owlplug 1.22.1:
[INFO] 
[INFO] owlplug ............................................ SUCCESS [  0.110 s]
[INFO] owlplug-host ....................................... SUCCESS [  0.968 s]
[INFO] owlplug-client ..................................... FAILURE [  1.173 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.352 s
[INFO] Finished at: 2023-01-06T16:27:01+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project owlplug-client: Compilation failure
[ERROR] /Users/my-user/Development/Python/OwlPlug-1.22.1/owlplug-client/src/main/java/com/owlplug/core/tasks/AbstractTask.java:[102,32] reference to State is ambiguous
[ERROR]   both enum java.util.concurrent.Future.State in java.util.concurrent.Future and enum javafx.concurrent.Worker.State in javafx.concurrent.Worker match
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :owlplug-client

This is probably the reason for this issue, after running:

306   INFO  o.s.boot.SpringApplication - Starting application using Java 17.0.5 on 4cbad17f-2c2c-40e5-8ee4-11684a2010ae.fritz.box with PID 51768 (started by my-user in /Users/my-user/Development/Python/OwlPlug-1.22.1)
307   INFO  o.s.boot.SpringApplication - No active profile set, falling back to default profiles: default
564   INFO  o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
609   INFO  o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 40 ms. Found 7 JPA repository interfaces.
728   INFO  c.o.c.c.ApplicationDefaults - Runtime Platform Resolved: RuntimePlatform [tag=osx, operatingSystem=MAC, arch=64]
1483  INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Initialized JPA EntityManagerFactory for persistence unit 'default'
1779  ERROR com.owlplug.host.io.LibraryLoader - Library owlplug-host-1.3.0.dylib not in classpath
1779  ERROR com.owlplug.host.io.LibraryLoader - No owlplug-host-1.3.0 in java.library.path or on the classpath
1779  ERROR c.o.host.io.ClassPathFileExtractor - Resource owlplug-scanner-0.1.0-osx not in classpath
1779  ERROR com.owlplug.host.io.LibraryLoader - Can't find owlplug scanner executable at /var/folders/0h/_p7t6jz52q77cvkg6l97z8qw0000gn/T/owlplug-scanner-0.1.0-osx
1780  INFO  c.o.core.services.NativeHostService - Preferred loader as been previously set to the fallback loader, OwlPlug will look for other available loader.
1781  INFO  c.o.core.services.NativeHostService - Native plugin loader set to dummy-loader
2063  INFO  c.o.c.components.ApplicationMonitor - Application monitor started
2134  INFO  o.s.boot.SpringApplication - Started application in 2.026 seconds (JVM running for 3.034)
java.lang.reflect.InaccessibleObjectException: Unable to make boolean java.lang.reflect.AccessibleObject.setAccessible0(boolean) accessible: module java.base does not "opens java.lang.reflect" to unnamed module @2ac158cd
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
        at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
        at com.jfoenix.adapters.ReflectionHelper.<clinit>(ReflectionHelper.java:48)
        at com.jfoenix.skins.JFXTextFieldSkin.<init>(JFXTextFieldSkin.java:59)
        at com.jfoenix.controls.JFXTextField.createDefaultSkin(JFXTextField.java:69)
        at javafx.scene.control.Control.doProcessCSS(Control.java:897)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSSImpl(ControlHelper.java:63)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSS(ControlHelper.java:55)
        at javafx.scene.control.Control.doProcessCSS(Control.java:900)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Node.processCSS(Node.java:9456)
        at javafx.scene.Scene.doCSSPass(Scene.java:572)
        at javafx.scene.Scene.preferredSize(Scene.java:1774)
        at javafx.scene.Scene$2.preferredSize(Scene.java:396)
        at com.sun.javafx.scene.SceneHelper.preferredSize(SceneHelper.java:66)
        at javafx.stage.Window$12.invalidated(Window.java:1114)
        at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
        at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
        at javafx.stage.Window.setShowing(Window.java:1190)
        at javafx.stage.Window.show(Window.java:1205)
        at javafx.stage.Stage.show(Stage.java:273)
        at com.owlplug.OwlPlug.start(OwlPlug.java:124)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Field.get(Object)" because "field" is null
        at com.jfoenix.skins.JFXTextFieldSkin.createPromptNode(JFXTextFieldSkin.java:152)
        at com.jfoenix.skins.JFXTextFieldSkin.lambda$new$1(JFXTextFieldSkin.java:70)
        at com.jfoenix.skins.PromptLinesWrapper.init(PromptLinesWrapper.java:123)
        at com.jfoenix.skins.JFXTextFieldSkin.<init>(JFXTextFieldSkin.java:70)
        at com.jfoenix.controls.JFXTextField.createDefaultSkin(JFXTextField.java:69)
        at javafx.scene.control.Control.doProcessCSS(Control.java:897)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSSImpl(ControlHelper.java:63)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSS(ControlHelper.java:55)
        at javafx.scene.control.Control.doProcessCSS(Control.java:900)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Node.processCSS(Node.java:9456)
        at javafx.scene.Scene.doCSSPass(Scene.java:572)
        at javafx.scene.Scene.preferredSize(Scene.java:1774)
        at javafx.scene.Scene$2.preferredSize(Scene.java:396)
        at com.sun.javafx.scene.SceneHelper.preferredSize(SceneHelper.java:66)
        at javafx.stage.Window$12.invalidated(Window.java:1114)
        at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
        at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
        at javafx.stage.Window.setShowing(Window.java:1190)
        at javafx.stage.Window.show(Window.java:1205)
        at javafx.stage.Stage.show(Stage.java:273)
        at com.owlplug.OwlPlug.start(OwlPlug.java:124)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Field.get(Object)" because "field" is null
        at com.jfoenix.skins.JFXTextFieldSkin.createPromptNode(JFXTextFieldSkin.java:152)
        at com.jfoenix.skins.JFXTextFieldSkin.lambda$new$1(JFXTextFieldSkin.java:70)
        at com.jfoenix.skins.PromptLinesWrapper.init(PromptLinesWrapper.java:123)
        at com.jfoenix.skins.JFXTextFieldSkin.<init>(JFXTextFieldSkin.java:70)
        at com.jfoenix.controls.JFXTextField.createDefaultSkin(JFXTextField.java:69)
        at javafx.scene.control.Control.doProcessCSS(Control.java:897)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSSImpl(ControlHelper.java:63)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSS(ControlHelper.java:55)
        at javafx.scene.control.Control.doProcessCSS(Control.java:900)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Node.processCSS(Node.java:9456)
        at javafx.scene.Scene.doCSSPass(Scene.java:572)
        at javafx.scene.Scene.preferredSize(Scene.java:1774)
        at javafx.scene.Scene$2.preferredSize(Scene.java:396)
        at com.sun.javafx.scene.SceneHelper.preferredSize(SceneHelper.java:66)
        at javafx.stage.Window$12.invalidated(Window.java:1114)
        at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
        at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
        at javafx.stage.Window.setShowing(Window.java:1190)
        at javafx.stage.Window.show(Window.java:1205)
        at javafx.stage.Stage.show(Stage.java:273)
        at com.owlplug.OwlPlug.start(OwlPlug.java:124)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Field.get(Object)" because "field" is null
        at com.jfoenix.skins.JFXTextFieldSkin.createPromptNode(JFXTextFieldSkin.java:152)
        at com.jfoenix.skins.JFXTextFieldSkin.lambda$new$1(JFXTextFieldSkin.java:70)
        at com.jfoenix.skins.PromptLinesWrapper.init(PromptLinesWrapper.java:123)
        at com.jfoenix.skins.JFXTextFieldSkin.<init>(JFXTextFieldSkin.java:70)
        at com.jfoenix.controls.JFXTextField.createDefaultSkin(JFXTextField.java:69)
        at javafx.scene.control.Control.doProcessCSS(Control.java:897)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSSImpl(ControlHelper.java:63)
        at com.sun.javafx.scene.control.ControlHelper.superProcessCSS(ControlHelper.java:55)
        at javafx.scene.control.Control.doProcessCSS(Control.java:900)
        at javafx.scene.control.Control$1.doProcessCSS(Control.java:89)
        at com.sun.javafx.scene.control.ControlHelper.processCSSImpl(ControlHelper.java:67)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Parent.doProcessCSS(Parent.java:1400)
        at javafx.scene.Parent$1.doProcessCSS(Parent.java:125)
        at com.sun.javafx.scene.ParentHelper.processCSSImpl(ParentHelper.java:98)
        at com.sun.javafx.scene.NodeHelper.processCSS(NodeHelper.java:146)
        at javafx.scene.Node.processCSS(Node.java:9456)
        at javafx.scene.Scene.doCSSPass(Scene.java:572)
        at javafx.scene.Scene.preferredSize(Scene.java:1774)
        at javafx.scene.Scene$2.preferredSize(Scene.java:396)
        at com.sun.javafx.scene.SceneHelper.preferredSize(SceneHelper.java:66)
        at javafx.stage.Window$12.invalidated(Window.java:1114)
        at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
        at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
        at javafx.stage.Window.setShowing(Window.java:1190)
        at javafx.stage.Window.show(Window.java:1205)
        at javafx.stage.Stage.show(Stage.java:273)
        at com.owlplug.OwlPlug.start(OwlPlug.java:124)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
Exception in Application start method
2716  INFO  c.o.c.components.ApplicationMonitor - Application monitor received shutdown event
2761  INFO  o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit 'default'
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:901)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NullPointerException: Cannot invoke "javafx.scene.Node.getLayoutBounds()" because "this.textNode" is null
        at com.jfoenix.skins.JFXTextFieldSkin.updateTextPos(JFXTextFieldSkin.java:109)
        at com.jfoenix.skins.JFXTextFieldSkin.layoutChildren(JFXTextFieldSkin.java:93)
        at javafx.scene.control.Control.layoutChildren(Control.java:601)
        at javafx.scene.Parent.layout(Parent.java:1207)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Parent.layout(Parent.java:1214)
        at javafx.scene.Scene.doLayoutPass(Scene.java:579)
        at javafx.scene.Scene.preferredSize(Scene.java:1777)
        at javafx.scene.Scene$2.preferredSize(Scene.java:396)
        at com.sun.javafx.scene.SceneHelper.preferredSize(SceneHelper.java:66)
        at javafx.stage.Window$12.invalidated(Window.java:1114)
        at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:110)
        at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
        at javafx.stage.Window.setShowing(Window.java:1190)
        at javafx.stage.Window.show(Window.java:1205)
        at javafx.stage.Stage.show(Stage.java:273)
        at com.owlplug.OwlPlug.start(OwlPlug.java:124)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)

Thanks in advance,

Cheers

DropSnorz commented 1 year ago

Hi @Yetispapa,

Thank you for using OwlPlug ! 🙂

Upfront a question: How did you manage to delete files / folders from /Library/Audio/Plug-Ins as those have not the read & write permission, so only administrators can delete them

If the current user has no rights to read or modify these files, OwlPlug can't display or delete them. The only way is to run OwlPlug with elevated privileges.

I got this output, where owlplug-client has a failure:

It seems you are compiling OwlPlug with Java 19. In this version, a new class java.util.concurrent.Future.State has been added. So there is now an ambiguous reference in the AbstractTask class

I think the compilation error can be fixed by adding the following line at the top of the AbstractTask.java file:

import javafx.concurrent.Worker.State;

I usually compile OwlPlug using openjdk17, so there might be some work to do for targeting openjdk19. For the last error, are you running the app with the command mvn spring-boot:run ?

DropSnorz commented 1 year ago

Whoops, I missed something 😄

You have to add the following import in AbstractTask:

import javafx.concurrent.Worker;

And also change line 102, with this

if (this.getState().equals(Worker.State.FAILED)) {
  prefix = "F";
}
Yetispapa commented 1 year ago

@DropSnorz, thanks for the fast response 😁

If the current user has no rights to read or modify these files, OwlPlug can't display or delete them. The only way is to run OwlPlug with elevated privileges.

Understand, but I normally don't run the app as a root, right? In MacOS its actually not that easy. You have to run the app through a terminal via sudo. Or how is it with Java?

It was no deal for me, to uninstall Java 19 and installed Java 17. Its now running in: openjdk version "17.0.5". What version do you have?

Unfortunately, if I follow your steps:

# Install dependencies
mvn clean install
# Move to owlplug client folder
cd owlplug-client
# (Optional) Create the runnable JAR file in /target/ folder
mvn clean install spring-boot:repackage
# Run owlplug
mvn spring-boot:run

I can now run mvn clean install without any issues, when I change the line 102 as you said, but got this issue now:

Jan 06, 2023 10:12:09 PM com.sun.javafx.application.PlatformImpl startup WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @1977694' 2023-01-06 22:12:10.407 java[80776:3389918] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1602

2023-01-06 22:12:10.409 java[80776:3389918] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.'
*** First throw call stack:
(
        0   CoreFoundation                      0x00000001ab9e33f8 __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x00000001ab52eea8 objc_exception_throw + 60
        2   Foundation                          0x00000001ac924a60 -[NSCalendarDate initWithCoder:] + 0
        3   AppKit                              0x00000001af19d258 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 200
        4   libglass.dylib                      0x000000010b553078 -[GlassViewDelegate setFrameSize:] + 360
        5   libglass.dylib                      0x000000010b558170 -[GlassView3D setFrameSize:] + 92
        6   AppKit                              0x00000001aec219e0 -[NSView setFrame:] + 304
        7   libglass.dylib                      0x000000010b5581d0 -[GlassView3D setFrame:] + 76
        8   AppKit                              0x00000001aec2f940 -[NSView resizeWithOldSuperviewSize:] + 508
        9   AppKit                              0x00000001aec2f330 -[NSView resizeSubviewsWithOldSize:] + 360
        10  AppKit                              0x00000001aec1391c -[NSView setFrameSize:] + 1136
        11  AppKit                              0x00000001aec219e0 -[NSView setFrame:] + 304
        12  AppKit                              0x00000001aec2f940 -[NSView resizeWithOldSuperviewSize:] + 508
        13  AppKit                              0x00000001aec2f330 -[NSView resizeSubviewsWithOldSize:] + 360
        14  AppKit                              0x00000001aec1391c -[NSView setFrameSize:] + 1136
        15  AppKit                              0x00000001aedb07b4 -[NSNextStepFrame setFrameSize:] + 116
        16  AppKit                              0x00000001aec2d8e4 -[NSWindow _oldPlaceWindow:fromServer:] + 540
        17  AppKit                              0x00000001aec2c9e8 -[NSWindow _setFrameCommon:display:fromServer:] + 1824
        18  libglass.dylib                      0x000000010b563140 Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 416
        19  ???                                 0x00000001147d453c 0x0 + 4638721340
        20  ???                                 0x00000001147d1398 0x0 + 4638708632
        21  ???                                 0x00000001147d1398 0x0 + 4638708632
        22  ???                                 0x00000001147d1398 0x0 + 4638708632
        23  ???                                 0x00000001147d17b8 0x0 + 4638709688
        24  ???                                 0x00000001147d1398 0x0 + 4638708632
        25  ???                                 0x00000001147d1398 0x0 + 4638708632
        26  ???                                 0x00000001147d1398 0x0 + 4638708632
        27  ???                                 0x00000001147d1398 0x0 + 4638708632
        28  ???                                 0x00000001147d1398 0x0 + 4638708632
        29  ???                                 0x00000001147d1398 0x0 + 4638708632
        30  ???                                 0x00000001147d1398 0x0 + 4638708632
        31  ???                                 0x00000001147d1398 0x0 + 4638708632
        32  ???                                 0x00000001147d1398 0x0 + 4638708632
        33  ???                                 0x00000001147d1398 0x0 + 4638708632
        34  ???                                 0x00000001147d1398 0x0 + 4638708632
        35  ???                                 0x00000001147d17b8 0x0 + 4638709688
        36  ???                                 0x00000001147d1398 0x0 + 4638708632
        37  ???                                 0x00000001147d17b8 0x0 + 4638709688
        38  ???                                 0x00000001147d11e0 0x0 + 4638708192
        39  ???                                 0x00000001147d1600 0x0 + 4638709248
        40  ???                                 0x00000001147d11e0 0x0 + 4638708192
        41  ???                                 0x00000001147d11e0 0x0 + 4638708192
        42  ???                                 0x00000001147d1398 0x0 + 4638708632
        43  ???                                 0x00000001147d17b8 0x0 + 4638709688
        44  ???                                 0x00000001147c0140 0x0 + 4638638400
        45  libjvm.dylib                        0x000000010bb21d34 _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP10JavaThread + 564
        46  libjvm.dylib                        0x000000010bb77c9c _ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP10JavaThread + 536
        47  libjvm.dylib                        0x000000010bb7b7c4 jni_CallVoidMethod + 224
        48  libglass.dylib                      0x000000010b54ea48 -[GlassRunnable run] + 88
        49  Foundation                          0x00000001ac88cb30 __NSThreadPerformPerform + 264
        50  CoreFoundation                      0x00000001ab968a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
        51  CoreFoundation                      0x00000001ab9689ac __CFRunLoopDoSource0 + 176
        52  CoreFoundation                      0x00000001ab96871c __CFRunLoopDoSources0 + 244
        53  CoreFoundation                      0x00000001ab967320 __CFRunLoopRun + 836
        54  CoreFoundation                      0x00000001ab966888 CFRunLoopRunSpecific + 612
        55  HIToolbox                           0x00000001b503bfa0 RunCurrentEventLoopInMode + 292
        56  HIToolbox                           0x00000001b503bc30 ReceiveNextEventCommon + 236
        57  HIToolbox                           0x00000001b503bb2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
        58  AppKit                              0x00000001aebe8424 _DPSNextEvent + 632
        59  AppKit                              0x00000001aebe75b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
        60  AppKit                              0x00000001aebdb9e4 -[NSApplication run] + 464
        61  libglass.dylib                      0x000000010b550c1c -[GlassApplication runLoop:] + 1996
        62  Foundation                          0x00000001ac88cb30 __NSThreadPerformPerform + 264
        63  CoreFoundation                      0x00000001ab968a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
        64  CoreFoundation                      0x00000001ab9689ac __CFRunLoopDoSource0 + 176
        65  CoreFoundation                      0x00000001ab96871c __CFRunLoopDoSources0 + 244
        66  CoreFoundation                      0x00000001ab967320 __CFRunLoopRun + 836
        67  CoreFoundation                      0x00000001ab966888 CFRunLoopRunSpecific + 612
        68  libjli.dylib                        0x00000001050ab094 CreateExecutionEnvironment + 400
        69  libjli.dylib                        0x00000001050a7794 JLI_Launch + 1208
        70  java                                0x0000000104fefbbc main + 392
        71  dyld                                0x00000001ab55fe50 start + 2544
)
libc++abi: terminating with uncaught exception of type NSException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.461 s
[INFO] Finished at: 2023-01-06T22:12:10+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.1:run (default-cli) on project owlplug-client: Process terminated with exit code: 134 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.1:run (default-cli) on project owlplug-client: Process terminated with exit code: 134
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104)
    at java.lang.reflect.Method.invoke (Method.java:578)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Process terminated with exit code: 134
    at org.springframework.boot.maven.JavaProcessExecutor.run (JavaProcessExecutor.java:74)
    at org.springframework.boot.maven.RunMojo.run (RunMojo.java:68)
    at org.springframework.boot.maven.AbstractRunMojo.run (AbstractRunMojo.java:218)
    at org.springframework.boot.maven.AbstractRunMojo.execute (AbstractRunMojo.java:205)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:104)
    at java.lang.reflect.Method.invoke (Method.java:578)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

This output was now via: mvn spring-boot:run -X inside the owlplug-client folder

Can you maybe help me here again. Thanks in advance 🙂

DropSnorz commented 1 year ago

Understand, but I normally don't run the app as a root, right? In MacOS its actually not that easy. You have to run the app through a terminal via sudo. Or how is it with Java?

Have you faced unexpected behavior? The /Library/Audio/Plug-Ins is the default suggested folder, but you can configure another AU location, for example /home/<you>/Library/Audio/Plug-Ins/ if you want write access.

I can now run mvn clean install without any issues, when I change the line 102 as you said, but got this issue now:

Arrg, you are now facing this internal JDK bug on macOS. 😓

Can you show me the output of: mvn --version?

The best way to get rid of this error seems to switch back to JDK 17.0.5.

Yetispapa commented 1 year ago

Have you faced unexpected behavior? The /Library/Audio/Plug-Ins is the default suggested folder, but you can configure another AU location, for example /home//Library/Audio/Plug-Ins/ if you want write access.

No, I was just curious. I'm a swift developer and had a similar case, where I wanted to delete files / directories under /Library and always got a permission error. One of 2 solutions was to run the app as admin, but for that I have to use the terminal, run the executable as sudo or to change the permissions of the folder to x / read & write for everyone. But to be honest, for someone who has no development / technical knowledge, thats not possible. That's why, I was interested how its done in OwlPlug

Arrg, you are now facing this internal JDK bug on macOS. 😓

Can you show me the output of: mvn --version?

The best way to get rid of this error seems to switch back to JDK 17.0.5.

I switched to 17.0.5 now and also let maven point to 17. Here are the terminal outputs:

java --version

openjdk 17.0.5 2022-10-18
OpenJDK Runtime Environment Homebrew (build 17.0.5+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.5+0, mixed mode, sharing)

mvn --version

Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
Maven home: /opt/homebrew/Cellar/maven/3.8.7/libexec
Java version: 17.0.5, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk@17/17.0.5/libexec/openjdk.jdk/Contents/Home
Default locale: en_DE, platform encoding: UTF-8
OS name: "mac os x", version: "13.1", arch: "aarch64", family: "mac"

Unfortunately, I still got the issue / an exception:

WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @7c43b593'
2023-01-07 14:15:45.088 java[5356:25456] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1602
2023-01-07 14:15:45.090 java[5356:25456] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '0x0 is an invalid NSTrackingRectTag. Common possible reasons for this are: 1. already removed this trackingRectTag, 2. Truncated the NSTrackingRectTag to 32bit at some point.'
*** First throw call stack:
(
        0   CoreFoundation                      0x0000000183b5b3f8 __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x00000001836a6ea8 objc_exception_throw + 60
        2   Foundation                          0x0000000184a9ca60 -[NSCalendarDate initWithCoder:] + 0
        3   AppKit                              0x0000000187315258 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 200
        4   libglass.dylib                      0x0000000108cc3078 -[GlassViewDelegate setFrameSize:] + 360
        5   libglass.dylib                      0x0000000108cc8170 -[GlassView3D setFrameSize:] + 92
        6   AppKit                              0x0000000186d999e0 -[NSView setFrame:] + 304
        7   libglass.dylib                      0x0000000108cc81d0 -[GlassView3D setFrame:] + 76
        8   AppKit                              0x0000000186da7940 -[NSView resizeWithOldSuperviewSize:] + 508
        9   AppKit                              0x0000000186da7330 -[NSView resizeSubviewsWithOldSize:] + 360
        10  AppKit                              0x0000000186d8b91c -[NSView setFrameSize:] + 1136
        11  AppKit                              0x0000000186d999e0 -[NSView setFrame:] + 304
        12  AppKit                              0x0000000186da7940 -[NSView resizeWithOldSuperviewSize:] + 508
        13  AppKit                              0x0000000186da7330 -[NSView resizeSubviewsWithOldSize:] + 360
        14  AppKit                              0x0000000186d8b91c -[NSView setFrameSize:] + 1136
        15  AppKit                              0x0000000186f287b4 -[NSNextStepFrame setFrameSize:] + 116
        16  AppKit                              0x0000000186da58e4 -[NSWindow _oldPlaceWindow:fromServer:] + 540
        17  AppKit                              0x0000000186da49e8 -[NSWindow _setFrameCommon:display:fromServer:] + 1824
        18  libglass.dylib                      0x0000000108cd3140 Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 416
        19  ???                                 0x000000011167937c 0x0 + 4586967932
        20  ???                                 0x0000000111675e18 0x0 + 4586954264
        21  ???                                 0x0000000111675e18 0x0 + 4586954264
        22  ???                                 0x0000000111675e18 0x0 + 4586954264
        23  ???                                 0x0000000111676238 0x0 + 4586955320
        24  ???                                 0x0000000111675e18 0x0 + 4586954264
        25  ???                                 0x0000000111675e18 0x0 + 4586954264
        26  ???                                 0x0000000111675e18 0x0 + 4586954264
        27  ???                                 0x0000000111675e18 0x0 + 4586954264
        28  ???                                 0x0000000111675e18 0x0 + 4586954264
        29  ???                                 0x0000000111675e18 0x0 + 4586954264
        30  ???                                 0x0000000111675e18 0x0 + 4586954264
        31  ???                                 0x0000000111675e18 0x0 + 4586954264
        32  ???                                 0x0000000111675e18 0x0 + 4586954264
        33  ???                                 0x0000000111675e18 0x0 + 4586954264
        34  ???                                 0x0000000111675e18 0x0 + 4586954264
        35  ???                                 0x0000000111676238 0x0 + 4586955320
        36  ???                                 0x0000000111675e18 0x0 + 4586954264
        37  ???                                 0x0000000111676238 0x0 + 4586955320
        38  ???                                 0x0000000111675c60 0x0 + 4586953824
        39  ???                                 0x0000000111676080 0x0 + 4586954880
        40  ???                                 0x0000000111675c60 0x0 + 4586953824
        41  ???                                 0x0000000111675c60 0x0 + 4586953824
        42  ???                                 0x0000000111675e18 0x0 + 4586954264
        43  ???                                 0x0000000111676238 0x0 + 4586955320
        44  ???                                 0x0000000111670140 0x0 + 4586930496
        45  libjvm.dylib                        0x000000010916b340 _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP10JavaThread + 564
        46  libjvm.dylib                        0x00000001091bb5e8 _ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP10JavaThread + 508
        47  libjvm.dylib                        0x00000001091bf194 jni_CallVoidMethod + 224
        48  libglass.dylib                      0x0000000108cbea48 -[GlassRunnable run] + 88
        49  Foundation                          0x0000000184a04b30 __NSThreadPerformPerform + 264
        50  CoreFoundation                      0x0000000183ae0a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
        51  CoreFoundation                      0x0000000183ae09ac __CFRunLoopDoSource0 + 176
        52  CoreFoundation                      0x0000000183ae071c __CFRunLoopDoSources0 + 244
        53  CoreFoundation                      0x0000000183adf320 __CFRunLoopRun + 836
        54  CoreFoundation                      0x0000000183ade888 CFRunLoopRunSpecific + 612
        55  HIToolbox                           0x000000018d1b3fa0 RunCurrentEventLoopInMode + 292
        56  HIToolbox                           0x000000018d1b3c30 ReceiveNextEventCommon + 236
        57  HIToolbox                           0x000000018d1b3b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
        58  AppKit                              0x0000000186d60424 _DPSNextEvent + 632
        59  AppKit                              0x0000000186d5f5b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
        60  AppKit                              0x0000000186d539e4 -[NSApplication run] + 464
        61  libglass.dylib                      0x0000000108cc0c1c -[GlassApplication runLoop:] + 1996
        62  Foundation                          0x0000000184a04b30 __NSThreadPerformPerform + 264
        63  CoreFoundation                      0x0000000183ae0a18 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
        64  CoreFoundation                      0x0000000183ae09ac __CFRunLoopDoSource0 + 176
        65  CoreFoundation                      0x0000000183ae071c __CFRunLoopDoSources0 + 244
        66  CoreFoundation                      0x0000000183adf320 __CFRunLoopRun + 836
        67  CoreFoundation                      0x0000000183ade888 CFRunLoopRunSpecific + 612
        68  libjli.dylib                        0x0000000102b3336c CreateExecutionEnvironment + 400
        69  libjli.dylib                        0x0000000102b2fa68 JLI_Launch + 1208
        70  java                                0x0000000102a77bb0 main + 396
        71  dyld                                0x00000001836d7e50 start + 2544
)
libc++abi: terminating with uncaught exception of type NSException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.292 s
[INFO] Finished at: 2023-01-07T14:15:45+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.1:run (default-cli) on project owlplug-client: Process terminated with exit code: 134 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.1:run (default-cli) on project owlplug-client: Process terminated with exit code: 134
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Process terminated with exit code: 134
    at org.springframework.boot.maven.JavaProcessExecutor.run (JavaProcessExecutor.java:74)
    at org.springframework.boot.maven.RunMojo.run (RunMojo.java:68)
    at org.springframework.boot.maven.AbstractRunMojo.run (AbstractRunMojo.java:218)
    at org.springframework.boot.maven.AbstractRunMojo.execute (AbstractRunMojo.java:205)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Thanks for your help @DropSnorz 😄

DropSnorz commented 1 year ago

But to be honest, for someone who has no development / technical knowledge, thats not possible. That's why, I was interested how its done in OwlPlug

I see, but no, I've done nothing to handle this particular case. For such use cases, OwlPlug app must be run with admin privileges from the command line or other ways provided by the OS.

Unfortunately, I still got the issue / an exception:

Ok, it's more complicated than I tough 😄

When I'm producing OwlPlug binaries, I'm always using the latest JDK 17.X.X . The latest published OwlPlug version, 1.22.1, has been built using JDK 17.0.3

@Yetispapa Can you try with other JDKs 17 minor versions, I suggest the following order to try:

I've read the OpenJFX (app gui framework) mailing list, this bug has been resolved on OpenJFX 20 and it's a potential candidate for a backport to OpenJFX 17. I'll keep you updated on this.

This problem will be a critical concern for the project, because I have a new version to publish in a few weeks, and the release binaries will be affected by the same issue on macOS Ventura. 😟

DropSnorz commented 1 year ago

A patch has been released on OpenJFX 19.0.2.1. I'll keep the JDK up to date with the latest LTS 17.X.X and migrate the app from OpenJFX 17 to 19.0.2.1

Yetispapa commented 1 year ago

Hey @DropSnorz, Sorry for the late response. Didn't have much time to dig into the issue lately. I will check it as soon as I have time again and will let you know, if it works again. Thanks for your updates and responses 🙂

DropSnorz commented 1 year ago

No problems. I've pushed the fix on the dev branch yesterday.

You should be able to run OwlPlug from this branch with any JDK 17.

DropSnorz commented 1 year ago

I've released the fix with OwlPlug 1.23.0 yesterday.

You should be able to compile from the master branch after updating your local repo with latest changes.

Yetispapa commented 1 year ago

Awesome! Thanks @DropSnorz. I still didn't have much time unfortunately, but we can close this issue if you want and I will check it as soon as I have time :)

DropSnorz commented 1 year ago

I am closing this after inactivity. The app should be able to start on macOS.