MaxiHuHe04/iTunes-Backup-Explorer

`NSInternalInconsistencyException` on macOS 13.6.1

Opened this issue · 3 comments

Both on the latest available JAR file and after compiling locally, I get the following exception when running:

2023-12-06 15:30:33.118 java[29424:296213] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1637
2023-12-06 15:30:33.119 java[29424:296213] *** 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                      0x00007ff8088cc11a __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff8083f20b7 objc_exception_throw + 48
	2   Foundation                          0x00007ff8097a2cd8 -[NSCalendarDate initWithCoder:] + 0
	3   AppKit                              0x00007ff80bfa0fe3 -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 190
	4   libglass.dylib                      0x000000010d960449 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 3593
	5   libglass.dylib                      0x000000010d965038 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23032
	6   AppKit                              0x00007ff80b930091 -[NSView setFrame:] + 347
	7   libglass.dylib                      0x000000010d965095 Java_com_sun_glass_ui_mac_MacApplication__1getMacKey + 23125
	8   AppKit                              0x00007ff80b940ec8 -[NSView resizeWithOldSuperviewSize:] + 694
	9   AppKit                              0x00007ff80b9407fb -[NSView resizeSubviewsWithOldSize:] + 499
	10  AppKit                              0x00007ff80b91ff26 -[NSView setFrameSize:] + 1460
	11  AppKit                              0x00007ff80b930091 -[NSView setFrame:] + 347
	12  AppKit                              0x00007ff80b940ec8 -[NSView resizeWithOldSuperviewSize:] + 694
	13  AppKit                              0x00007ff80b9407fb -[NSView resizeSubviewsWithOldSize:] + 499
	14  AppKit                              0x00007ff80b91ff26 -[NSView setFrameSize:] + 1460
	15  AppKit                              0x00007ff80b93ec03 -[NSThemeFrame setFrameSize:] + 464
	16  AppKit                              0x00007ff80b93e30f -[NSWindow _oldPlaceWindow:fromServer:] + 831
	17  AppKit                              0x00007ff80b93cda2 -[NSWindow _setFrameCommon:display:fromServer:] + 3089
	18  libglass.dylib                      0x000000010d95827f getImage + 6799
	19  libglass.dylib                      0x000000010d957cec getImage + 5372
	20  libglass.dylib                      0x000000010d957f59 getImage + 5993
	21  libglass.dylib                      0x000000010d96f2ce Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 446
	22  ???                                 0x000000011edf2980 0x0 + 4812908928
	23  ???                                 0x000000011edee362 0x0 + 4812890978
	24  ???                                 0x000000011edee362 0x0 + 4812890978
	25  ???                                 0x000000011edee362 0x0 + 4812890978
	26  ???                                 0x000000011edee7ee 0x0 + 4812892142
)
libc++abi: terminating due to uncaught exception of type NSException
[ERROR] Command execution failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 134 (Exit value: 134)
    at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
    at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:982)
    at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:929)
    at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:457)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
    at java.lang.reflect.Method.invoke (Method.java:580)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

I've read and attempted everything suggested in #3, but nothing has helped thus far.

I think this could be a problem with your Java/JavaFX version. Have you tried Azul Zulu JDK FX? https://www.azul.com/downloads/?version=java-21-lts&os=macos&architecture=arm-64-bit&package=jdk-fx#zulu

I'm using Java 21.0.1:

$ java --version
openjdk 21.0.1 2023-10-17
OpenJDK Runtime Environment Homebrew (build 21.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 21.0.1, mixed mode, sharing)

I have no idea how to figure out my JavaFX version and would prefer to use whatever is available from Homebrew.

Then you could try this maybe: https://formulae.brew.sh/cask/zulufx