airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
200 stars 11 forks source link

AIR 33.1.1.821 is not working #1875

Open GithubProgrammer opened 2 years ago

GithubProgrammer commented 2 years ago

Hello,

AIR 33.1.1.821 is not working with Animate CC on Mac 10.15.X. Quarantine settings has been removed as stated in Release Note. When the sdk is used within, this error message is shown.

Test Movie terminated. 2022-05-02 09:00:49.420 adl[1418:29599] Terminating app due to uncaught exception 'NSRangeException', reason: ' -[NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray' *** First throw call stack: ( 0 CoreFoundation 0x00007fff2d24cb57 exceptionPreprocess + 250 1 libobjc.A.dylib 0x00007fff660935bf objc_exception_throw + 48 2 CoreFoundation 0x00007fff2d278fc5 CFArrayExchangeValuesAtIndices + 0 3 Adobe AIR 0x00000001040c2c61 startAIR + 4375068 4 Adobe AIR 0x00000001040ce2a1 startAIR + 4421724 5 Adobe AIR 0x0000000103dd7059 startAIR + 1312276 6 ??? 0x0000321c55306d5d 0x0 + 55097269710173 7 ??? 0x0000321c55308ef7 0x0 + 55097269718775 8 Adobe AIR 0x0000000103dd74b3 startAIR + 1313390 9 Adobe AIR 0x0000000103dd7eda startAIR + 1315989 10 Adobe AIR 0x0000000103dd1f71 startAIR + 1291564 11 Adobe AIR 0x00000001043c1c8d startAIR + 7516744 12 Adobe AIR 0x00000001043c1b6c startAIR + 7516455 13 Adobe AIR 0x00000001040eb6db startAIR + 4541590 14 Adobe AIR 0x00000001040c56db startAIR + 4385942 15 Adobe AIR 0x00000001040c5d5a startAIR + 4387605 16 Foundation 0x00007fff2f8a56e2 NSFireDelayedPerform + 415 17 CoreFoundation 0x00007fff2d1eb7f9 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20 18 CoreFoundation 0x00007fff2d1eb35f CFRunLoopDoTimer + 859 19 CoreFoundation 0x00007fff2d1eae47 CFRunLoopDoTimers + 322 20 CoreFoundation 0x00007fff2d1cfbea CFRunLoopRun + 1871 21 CoreFoundation 0x00007fff2d1cee3e CFRunLoopRunSpecific + 462 22 HIToolbox 0x00007fff2bdfbabd RunCurrentEventLoopInMode + 292 23 HIToolbox 0x00007fff2bdfb6f4 ReceiveNextEventCommon + 359 24 HIToolbox 0x00007fff2bdfb579 _BlockUntilNextEventMatchingListInModeWithFilter + 64 25 AppKit 0x00007fff2a441039 _DPSNextEvent + 883 26 AppKit 0x00007fff2a43f880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 27 AppKit 0x00007fff2a43158e -[NSApplication run] + 658 28 Adobe AIR 0x0000000103c96464 Adobe AIR + 13412 29 adl 0x0000000103c74967 _Z11RuntimeMainPKci + 174 30 adl 0x0000000103c743b8 start + 52 ) libc++abi.dylib: terminating with uncaught exception of type NSException

sadensmol commented 2 years ago

exactly same problem. any solution?

GithubProgrammer commented 2 years ago

Nope. I am still waiting for the reply.

marchbold commented 2 years ago

We are seeing this same issue, easily reproducible when using apm.

2022-05-09 08:19:18.163 adl[28037:5071911] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArray0 objectAtIndex:]: index 0 beyond bounds for empty NSArray'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007ff803c8f1e3 __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007ff8039efc13 objc_exception_throw + 48
    2   CoreFoundation                      0x00007ff803cbb9ff CFArrayExchangeValuesAtIndices + 0
    3   Adobe AIR                           0x0000000108400c61 startAIR + 4375068
    4   Adobe AIR                           0x000000010840c2a1 startAIR + 4421724
    5   ???                                 0x0000048e325ff4cc 0x0 + 5008777016524
    6   ???                                 0x0000048e32600f1a 0x0 + 5008777023258
    7   Adobe AIR                           0x00000001081154b3 startAIR + 1313390
    8   Adobe AIR                           0x0000000108115eda startAIR + 1315989
    9   Adobe AIR                           0x000000010810ff71 startAIR + 1291564
    10  Adobe AIR                           0x00000001086ffc8d startAIR + 7516744
    11  Adobe AIR                           0x00000001086ffb6c startAIR + 7516455
    12  Adobe AIR                           0x00000001084296db startAIR + 4541590
    13  Adobe AIR                           0x00000001084036db startAIR + 4385942
    14  Adobe AIR                           0x0000000108403d5a startAIR + 4387605
    15  Foundation                          0x00007ff804a87e42 __NSFireDelayedPerform + 440
    16  CoreFoundation                      0x00007ff803c2c899 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
    17  CoreFoundation                      0x00007ff803c2c388 __CFRunLoopDoTimer + 923
    18  CoreFoundation                      0x00007ff803c2bef8 __CFRunLoopDoTimers + 307
    19  CoreFoundation                      0x00007ff803c12646 __CFRunLoopRun + 2010
    20  CoreFoundation                      0x00007ff803c117ac CFRunLoopRunSpecific + 562
    21  HIToolbox                           0x00007ff80c898ce6 RunCurrentEventLoopInMode + 292
    22  HIToolbox                           0x00007ff80c898913 ReceiveNextEventCommon + 283
    23  HIToolbox                           0x00007ff80c8987e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70
    24  AppKit                              0x00007ff80663853d _DPSNextEvent + 927
    25  AppKit                              0x00007ff806636bfa -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
    26  AppKit                              0x00007ff8066292a9 -[NSApplication run] + 586
    27  Adobe AIR                           0x0000000107fd4464 Adobe AIR + 13412
    28  adl                                 0x0000000105b09967 _Z11RuntimeMainPKci + 174
    29  adl                                 0x0000000105b093b8 start + 52
    30  ???                                 0x0000000000000011 0x0 + 17
)
libc++abi: terminating with uncaught exception of type NSException
/Users/marchbold/bin/air-tools/apm: line 33: 28037 Abort trap: 6           "${ADL_DIR}"adl -profile extendedDesktop -nodebug -cmd "${SCRIPT_DIR}/apm.xml" -- -workingdir "$( pwd )" -appdir "${SCRIPT_DIR}" -airdir "${AIR_DIR}" -uname "${UNAME}" "$@"
ajwfrost commented 2 years ago

Thanks for the info .. this seems to be related to some permissions thing, we're requesting a path from the OS and in the above errors this is returning a blank array which is not what we're expecting (but, we should definitely have coded some protection against this case before trying to access a non-existent array element!)

Will squeeze the necessary change in to the current release candidate..

thanks