Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on iOS 13.7 iPhone simulator when running SimpleChart with MOE 1.9.0 #190

Open
sdyura opened this issue Dec 29, 2022 · 0 comments
Open

Comments

@sdyura
Copy link

sdyura commented Dec 29, 2022

When i try and run SimpleChart with MOE 1.9.0 on a iOS 13.7 iPhone simulator i get a crash

here is the branch of SimpleChart with MOE 1.9.0:
https://github.com/Berstanio/moe-samples-java/tree/simple-chart-1.9/SimpleChart

this is the crash that happens:

art I 91789 2449646 /Users/noisyfox/Documents/projects/moe/moe-art/aosp/art/runtime/parsed_options.cc:449] setting boot class path to /Users/yura/Library/Developer/CoreSimulator/Devices/C63DA6D7-6A87-49BC-AFDC-882ADDA8D753/data/Containers/Bundle/Application/84BCB994-B63B-41FC-B92B-157A9E8E80F8/SimpleChart.app/application.jar:/Users/yura/Library/Developer/CoreSimulator/Devices/C63DA6D7-6A87-49BC-AFDC-882ADDA8D753/data/Containers/Bundle/Application/84BCB994-B63B-41FC-B92B-157A9E8E80F8/SimpleChart.app
/Users/noisyfox/Documents/projects/moe/moe-art/moe/natj/natj/src/main/native/natj/NatJ.cpp:354 DEBUG: Method 'boolean java.lang.reflect.Method.isDefault()' is not accessible.
2022-12-29 18:25:51.773433+0000 SimpleChart[91789:2449646] [Storyboard] Unknown class MyLineChartView in Interface Builder file.
art I 91789 2449646 /Users/noisyfox/Documents/projects/moe/moe-art/aosp/art/runtime/class_linker.cc:141] Rejecting re-init on previously-failed class java.lang.Class<org.moe.samples.simplechart.charts.LineChartView>: 
art I 91789 2449646 /Users/noisyfox/Documents/projects/moe/moe-art/aosp/art/runtime/class_linker.cc:141] Rejecting re-init on previously-failed class java.lang.Class<org.moe.samples.simplechart.charts.LineChartView>: 
art I 91789 2449646 /Users/noisyfox/Documents/projects/moe/moe-art/aosp/art/runtime/class_linker.cc:141] Rejecting re-init on previously-failed class java.lang.Class<org.moe.samples.simplechart.charts.LineChartView>: 
2022-12-29 18:25:51.789005+0000 SimpleChart[91789:2449646] *** Terminating app due to uncaught exception 'java.lang.NoClassDefFoundError', reason: 'java.lang.NoClassDefFoundError: org.moe.samples.simplechart.charts.LineChartView
	at java.lang.reflect.Constructor.newInstance(Native Method)
	at org.moe.natj.objc.map.ObjCObjectMapper.objectToJava(ObjCObjectMapper.java:414)
	at org.moe.natj.objc.map.ObjCObjectMapper.toJava(ObjCObjectMapper.java:508)
	at org.moe.natj.general.NatJ.toJava(NatJ.java:1130)
	at apple.uikit.c.UIKit.UIApplicationMain(Native Method)
	at org.moe.samples.simplechart.Main.main(Main.java:18)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.moe.IOSLauncher.main(IOSLauncher.java:34)
'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000000c08be6e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x000000000a4209b2 objc_exception_throw + 48
	2   MOE                                 0x000000000b1541d6 _Z35setCurrentInitTargetOnCurrentThreadP8_jobject + 0
	3   MOE                                 0x000000000b15a00f _Z26nativeToJavaMessageHandlerP7ffi_cifPvPS1_S1_ + 1369
	4   MOE                                 0x000000000b1606e2 ffi_closure_unix64_inner + 489
	5   MOE                                 0x000000000b15fcbc ffi_closure_unix64 + 72
	6   UIKitCore                           0x000000001493729e -[UIViewController setValue:forKey:] + 87
	7   UIKitCore                           0x0000000014c445cf -[UIRuntimeOutletConnection connect] + 109
	8   CoreFoundation                      0x000000000c078182 -[NSArray makeObjectsPerformSelector:] + 242
	9   UIKitCore                           0x0000000014c417b8 -[UINib instantiateWithOwner:options:] + 2192
	10  UIKitCore                           0x000000001493e6a6 -[UIViewController _loadViewFromNibNamed:bundle:] + 379
	11  UIKitCore                           0x000000001493f1dd -[UIViewController loadView] + 177
	12  UIKitCore                           0x000000001493f4dc -[UIViewController loadViewIfRequired] + 172
	13  UIKitCore                           0x000000001493fc89 -[UIViewController view] + 27
	14  UIKitCore                           0x00000000150232d5 -[UIWindow addRootViewControllerViewIfPossible] + 326
	15  UIKitCore                           0x00000000150228fe -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] + 219
	16  UIKitCore                           0x0000000015023989 -[UIWindow _setHidden:forced:] + 362
	17  UIKitCore                           0x0000000015036dc5 -[UIWindow _mainQueue_makeKeyAndVisible] + 42
	18  UIKitCore                           0x0000000014fe308f -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 4209
	19  UIKitCore                           0x0000000014fe8b71 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1226
	20  UIKitCore                           0x00000000146f112d -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 122
	21  UIKitCore                           0x0000000014bfcb61 _UIScenePerformActionsWithLifecycleActionMask + 83
	22  UIKitCore                           0x00000000146f1c3f __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
	23  UIKitCore                           0x00000000146f164e -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 296
	24  UIKitCore                           0x00000000146f1a6c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 818
	25  UIKitCore                           0x00000000146f1301 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 345
	26  UIKitCore                           0x00000000146f58f2 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke_2 + 178
	27  UIKitCore                           0x0000000014b12c4d +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 852
	28  UIKitCore                           0x0000000014c1b2be _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 240
	29  UIKitCore                           0x00000000146f560d __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 153
	30  UIKitCore                           0x0000000014c1b1c1 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 84
	31  UIKitCore                           0x00000000146f547b -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 381
	32  UIKitCore                           0x0000000014549e78 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 657
	33  UIKitCore                           0x0000000014548a37 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 253
	34  UIKitCore                           0x0000000014549ba2 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 210
	35  UIKitCore                           0x0000000014fe70b9 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 512
	36  UIKitCore                           0x0000000014b3977c -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
	37  FrontBoardServices                  0x00000000126bfd2e -[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 419
	38  FrontBoardServices                  0x00000000126e5dc1 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke.154 + 102
	39  FrontBoardServices                  0x00000000126ca757 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 220
	40  FrontBoardServices                  0x00000000126e5a52 __86-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:]_block_invoke + 355
	41  libdispatch.dylib                   0x000000000eecae8e _dispatch_client_callout + 8
	42  libdispatch.dylib                   0x000000000eecdda2 _dispatch_block_invoke_direct + 300
	43  FrontBoardServices                  0x000000001270b6e9 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
	44  FrontBoardServices                  0x000000001270b3d7 -[FBSSerialQueue _queue_performNextIfPossible] + 441
	45  FrontBoardServices                  0x000000001270b8e6 -[FBSSerialQueue _performNextFromRunLoopSource] + 22
	46  CoreFoundation                      0x000000000bfefc91 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	47  CoreFoundation                      0x000000000bfefbbc __CFRunLoopDoSource0 + 76
	48  CoreFoundation                      0x000000000bfef394 __CFRunLoopDoSources0 + 180
	49  CoreFoundation                      0x000000000bfe9f8e __CFRunLoopRun + 974
	50  CoreFoundation                      0x000000000bfe98a4 CFRunLoopRunSpecific + 404
	51  GraphicsServices                    0x0000000012a0dbbe GSEventRunModal + 139
	52  UIKitCore                           0x0000000014fea964 UIApplicationMain + 1605
	53  MOE                                 0x000000000b15fb25 ffi_call_unix64 + 85
	54  ???                                 0x000000021170ee90 0x0 + 8882548368
)
libc++abi.dylib: terminating with uncaught exception of type ObjCException
Message from debugger: Terminated due to signal 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant