GithubHelp home page GithubHelp logo

Comments (12)

DropSnorz avatar DropSnorz commented on June 20, 2024

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 ?

from owlplug.

DropSnorz avatar DropSnorz commented on June 20, 2024

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";
}

from owlplug.

Yetispapa avatar Yetispapa commented on June 20, 2024

@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 🙂

from owlplug.

DropSnorz avatar DropSnorz commented on June 20, 2024

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.

from owlplug.

Yetispapa avatar Yetispapa commented on June 20, 2024

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 😄

from owlplug.

DropSnorz avatar DropSnorz commented on June 20, 2024

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:

  • 17.0.3
  • 17.0.2
  • 17.0.1
  • 17.0.4

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. 😟

from owlplug.

DropSnorz avatar DropSnorz commented on June 20, 2024

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

from owlplug.

Yetispapa avatar Yetispapa commented on June 20, 2024

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 🙂

from owlplug.

DropSnorz avatar DropSnorz commented on June 20, 2024

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.

from owlplug.

DropSnorz avatar DropSnorz commented on June 20, 2024

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.

from owlplug.

Yetispapa avatar Yetispapa commented on June 20, 2024

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 :)

from owlplug.

DropSnorz avatar DropSnorz commented on June 20, 2024

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

from owlplug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.