Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Crashes on load #13

@ptarjan

Description

@ptarjan

I just got your plugin working, and now my app crashes on load with this:

Sep 30 16:42:24 Pauls-MBP Trimian[98961]: Error during update: Application build version is too low for this update
Sep 30 16:42:24 Pauls-MBP Trimian[98961]: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[3]'
    *** First throw call stack:
    (
        0   CoreFoundation                      0x003faa94 __exceptionPreprocess + 180
        1   libobjc.A.dylib                     0x036c1e02 objc_exception_throw + 50
        2   CoreFoundation                      0x002e9682 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 386
        3   CoreFoundation                      0x002fd8db +[NSDictionary dictionaryWithObjects:forKeys:count:] + 75
        4   Trimian                             0x0003b886 -[HCPContentConfig toJson] + 310
        5   Trimian                             0x0003b083 -[HCPApplicationConfig toJson] + 115
        6   Trimian                             0x0003f2d8 +[CDVPluginResult(HCPEvents) constructDataBlock:] + 88
        7   Trimian                             0x0003eee8 +[CDVPluginResult(HCPEvents) pluginResultForNotification:] + 568
        8   Trimian                             0x00038d20 -[HCPPlugin onUpdateDownloadErrorEvent:] + 304
        9   Foundation                          0x0336d0d2 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_2 + 40
        10  CoreFoundation                      0x003c2774 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
        11  CoreFoundation                      0x003c242a _CFXRegistrationPost + 458
        12  CoreFoundation                      0x003c2176 ___CFXNotificationPost_block_invoke + 54
        13  CoreFoundation                      0x0040e453 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1795
        14  CoreFoundation                      0x002a8e17 _CFXNotificationPost + 599
        15  Foundation                          0x032a7197 -[NSNotificationCenter postNotification:] + 131
        16  Trimian                             0x0004857e -[HCPUpdateLoaderWorker notifyWithError:applicationConfig:] + 286
        17  Trimian                             0x00047805 -[HCPUpdateLoaderWorker run] + 901
        18  Trimian                             0x00047084 __31-[HCPUpdateLoader executeTask:]_block_invoke + 68
        19  libdispatch.dylib                   0x04950a7f _dispatch_call_block_and_release + 15
        20  libdispatch.dylib                   0x0496e6fd _dispatch_client_callout + 14
        21  libdispatch.dylib                   0x049578ec _dispatch_root_queue_drain + 744
        22  libdispatch.dylib                   0x049575fd _dispatch_worker_thread3 + 108
        23  libsystem_pthread.dylib             0x04c89653 _pthread_wqthread + 724
        24  libsystem_pthread.dylib             0x04c86e0e start_wqthread + 30

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions