Crash when running JAR through console on macOS
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Comienza ejecutando java -jar recaf-2.21.13-J8-jar-with-dependencies.jar con la configuración indicada de OpenJDK 19 y macOS 13.2, y después sigue la ruta de inicio de JavaFX/macOS asociada a la aserción del rectángulo de seguimiento de libglass.dylib. Se considera completado cuando el JAR se inicia sin el bloqueo nativo indicado en el entorno afectado.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
Recaf crashes when trying to run the JAR through the command line.
Some system information:
- OpenJDK 19 installed through Homebrew
- 14-inch 2021 MacBook Pro
- macOS 13.2
Please let me know if you'd like me to provide any other information.
To Reproduce
Steps to reproduce the behavior:
- Download
recaf-2.21.13-J8-jar-with-dependencies.jar. - Run
java -jar recaf-2.21.13-J8-jar-with-dependencies.jar.
Console Output
~/Desktop
❯ rm -rf ~/Library/Preferences/Recaf
~/Desktop
❯ java --version
openjdk 19.0.2 2023-01-17
OpenJDK Runtime Environment Homebrew (build 19.0.2)
OpenJDK 64-Bit Server VM Homebrew (build 19.0.2, mixed mode, sharing)
~/Desktop
❯ java -jar recaf-2.21.13-J8-jar-with-dependencies.jar
00:14:07.262 [main] INFO : Recaf-2.21.13
00:14:07.263 [main] INFO : - Java: 19.0.2 (OpenJDK 64-Bit Server VM)
Feb 25, 2023 12:14:07 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @5db54e92'
2023-02-25 00:14:08.458 java[1287:17121] *** Assertion failure in -[_NSTrackingAreaAKViewHelper removeTrackingRect:], _NSTrackingAreaAKManager.m:1613
2023-02-25 00:14:08.460 java[1287:17121] *** 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 0x0000000180fd43e8 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000180b1eea8 objc_exception_throw + 60
2 Foundation 0x0000000181f17910 -[NSCalendarDate initWithCoder:] + 0
3 AppKit 0x00000001847930cc -[_NSTrackingAreaAKViewHelper removeTrackingRect:] + 200
4 libglass.dylib 0x000000010e8b6edc -[GlassViewDelegate setFrameSize:] + 360
5 libglass.dylib 0x000000010e8bc034 -[GlassView3D setFrameSize:] + 92
6 AppKit 0x0000000184217664 -[NSView setFrame:] + 304
7 libglass.dylib 0x000000010e8bc094 -[GlassView3D setFrame:] + 76
8 AppKit 0x00000001842255d8 -[NSView resizeWithOldSuperviewSize:] + 508
9 AppKit 0x0000000184224fc8 -[NSView resizeSubviewsWithOldSize:] + 360
10 AppKit 0x000000018420954c -[NSView setFrameSize:] + 1136
11 AppKit 0x0000000184217664 -[NSView setFrame:] + 304
12 AppKit 0x00000001842255d8 -[NSView resizeWithOldSuperviewSize:] + 508
13 AppKit 0x0000000184224fc8 -[NSView resizeSubviewsWithOldSize:] + 360
14 AppKit 0x000000018420954c -[NSView setFrameSize:] + 1136
15 AppKit 0x0000000184223c34 -[NSThemeFrame setFrameSize:] + 244
16 AppKit 0x000000018422357c -[NSWindow _oldPlaceWindow:fromServer:] + 540
17 AppKit 0x0000000184222680 -[NSWindow _setFrameCommon:display:fromServer:] + 1824
18 libglass.dylib 0x000000010e8ade64 -[GlassWindow(Java) _setBounds:y:xSet:ySet:w:h:cw:ch:] + 328
19 libglass.dylib 0x000000010e8c7050 Java_com_sun_glass_ui_mac_MacWindow__1setBounds2 + 416
20 ??? 0x0000000137548aac 0x0 + 5223254700
21 ??? 0x0000000137545548 0x0 + 5223241032
22 ??? 0x0000000137545548 0x0 + 5223241032
23 ??? 0x0000000137545548 0x0 + 5223241032
24 ??? 0x0000000137545a88 0x0 + 5223242376
25 ??? 0x0000000137545548 0x0 + 5223241032
26 ??? 0x0000000137545548 0x0 + 5223241032
27 ??? 0x0000000137545548 0x0 + 5223241032
28 ??? 0x0000000137545548 0x0 + 5223241032
29 ??? 0x0000000137545548 0x0 + 5223241032
30 ??? 0x0000000137545548 0x0 + 5223241032
31 ??? 0x0000000137545548 0x0 + 5223241032
32 ??? 0x0000000137545548 0x0 + 5223241032
33 ??? 0x0000000137545548 0x0 + 5223241032
34 ??? 0x0000000137545548 0x0 + 5223241032
35 ??? 0x0000000137545548 0x0 + 5223241032
36 ??? 0x0000000137545a88 0x0 + 5223242376
37 ??? 0x0000000137545300 0x0 + 5223240448
38 ??? 0x000000013041ed64 0x0 + 5104594276
39 ??? 0x0000000137545300 0x0 + 5223240448
40 ??? 0x0000000137545548 0x0 + 5223241032
41 ??? 0x0000000137545a88 0x0 + 5223242376
42 ??? 0x0000000137534140 0x0 + 5223170368
43 libjvm.dylib 0x00000001037a1df4 _ZN9JavaCalls11call_helperEP9JavaValueRK12methodHandleP17JavaCallArgumentsP10JavaThread + 564
44 libjvm.dylib 0x00000001037f789c _ZL20jni_invoke_nonstaticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP10JavaThread + 536
45 libjvm.dylib 0x00000001037fb3c4 jni_CallVoidMethod + 224
46 libglass.dylib 0x000000010e8b2828 -[GlassRunnable run] + 92
47 Foundation 0x0000000181e7f900 __NSThreadPerformPerform + 264
48 CoreFoundation 0x0000000180f59a08 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
49 CoreFoundation 0x0000000180f5999c __CFRunLoopDoSource0 + 176
50 CoreFoundation 0x0000000180f5970c __CFRunLoopDoSources0 + 244
51 CoreFoundation 0x0000000180f58310 __CFRunLoopRun + 836
52 CoreFoundation 0x0000000180f57878 CFRunLoopRunSpecific + 612
53 HIToolbox 0x000000018a637fa0 RunCurrentEventLoopInMode + 292
54 HIToolbox 0x000000018a637c30 ReceiveNextEventCommon + 236
55 HIToolbox 0x000000018a637b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
56 AppKit 0x00000001841dd838 _DPSNextEvent + 632
57 AppKit 0x00000001841dc9c8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
58 AppKit 0x00000001841d0df8 -[NSApplication run] + 464
59 libglass.dylib 0x000000010e8b49b0 -[GlassApplication runLoop:] + 1996
60 Foundation 0x0000000181e7f900 __NSThreadPerformPerform + 264
61 CoreFoundation 0x0000000180f59a08 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
62 CoreFoundation 0x0000000180f5999c __CFRunLoopDoSource0 + 176
63 CoreFoundation 0x0000000180f5970c __CFRunLoopDoSources0 + 244
64 CoreFoundation 0x0000000180f58310 __CFRunLoopRun + 836
65 CoreFoundation 0x0000000180f57878 CFRunLoopRunSpecific + 612
66 libjli.dylib 0x000000010243f094 CreateExecutionEnvironment + 400
67 libjli.dylib 0x000000010243b794 JLI_Launch + 1208
68 java 0x0000000102383bbc main + 392
69 dyld 0x0000000180b4fe50 start + 2544
)
libc++abi: terminating with uncaught exception of type NSException
[1] 1287 abort java -jar recaf-2.21.13-J8-jar-with-dependencies.jar
- Lenguaje dominante
- Java
- Estrellas
- 7.5k
- Forks
- 549
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Col-E/Recaf
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteAbierto3rd party problem bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
-
Keybind to jump to lineAbiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Todos los issues de Col-E/Recaf
Issues similares
-
needs discussion
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
openfga/openfga.dev#1436 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
jooby-project/jooby#4047 ·
Los mantenedores suelen responder en 1 día
-
Bug feat:Syntax
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
ignatov/intellij-erlang#1342 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
commons-app/apps-android-commons#7379 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on WindowsPosiblemente ocupada @NassimBtk la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MetricsHub/metricshub-community#1636 ·
Los mantenedores suelen responder en 1 día