Skip to content

Instantly share code, notes, and snippets.

@conceptdev conceptdev/ApplicationOutput.log Secret
Last active Jan 7, 2016

Embed
What would you like to do?
WatchOS 2 complication testing. Note the 30 seconds between `GetNextRequestedUpdateDate` and the crash is because I'm requesting 30 second updates
2016-01-06 17:05:12.287 co.conceptdev.watchcomplication.watchkitapp.watchkitextension[27824:1871081] Extension received request to wake up for complication support.
2016-01-06 17:05:12.296 co.conceptdev.watchcomplication.watchkitapp.watchkitextension[27824:1838978] GetNextRequestedUpdateDate
2016-01-06 17:05:40.745 co.conceptdev.watchcomplication.watchkitapp.watchkitextension[27824:1838978]
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Specified cast is not valid.
at (wrapper castclass) System.Object:__castclass_with_cache (object,intptr,intptr)
at ObjCRuntime.BlockLiteral.GetDelegateForBlock[T] () [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/ObjCRuntime/Blocks.cs:133
at ObjCRuntime.Trampolines+NIDActionArity1V0..ctor (ObjCRuntime.BlockLiteral* block) [0x00017] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/build/watch/watch/ObjCRuntime/Trampolines.g.cs:2790
at ObjCRuntime.Trampolines+NIDActionArity1V0.Create (IntPtr block) [0x00036] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/build/watch/watch/ObjCRuntime/Trampolines.g.cs:2809
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00050] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:303
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/reflection/methodbase.cs:229
at ObjCRuntime.Runtime.CreateBlockProxy (System.Reflection.MethodInfo method, IntPtr block) [0x00006] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/ObjCRuntime/Runtime.cs:616
at ObjCRuntime.Runtime.CreateBlockProxy (IntPtr method, IntPtr block) [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/ObjCRuntime/Runtime.cs:239
at ObjCRuntime.Runtime.create_block_proxy (IntPtr method, IntPtr block) [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/runtime/Delegates.generated.cs:114
at (wrapper native-to-managed) ObjCRuntime.Runtime:create_block_proxy (intptr,intptr)
2016-01-06 17:05:40.746 co.conceptdev.watchcomplication.watchkitapp.watchkitextension[27824:1838978] Unhandled managed exception:
Exception has been thrown by the target of an invocation. (System.Reflection.TargetInvocationException)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00050] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:303
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/reflection/methodbase.cs:229
at ObjCRuntime.Runtime.CreateBlockProxy (System.Reflection.MethodInfo method, IntPtr block) [0x00006] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/ObjCRuntime/Runtime.cs:616
at ObjCRuntime.Runtime.CreateBlockProxy (IntPtr method, IntPtr block) [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/ObjCRuntime/Runtime.cs:239
at ObjCRuntime.Runtime.create_block_proxy (IntPtr method, IntPtr block) [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/runtime/Delegates.generated.cs:114
at (wrapper native-to-managed) ObjCRuntime.Runtime:create_block_proxy (intptr,intptr)
--- inner exception ---
Specified cast is not valid. (System.InvalidCastException)
at (wrapper castclass) System.Object:__castclass_with_cache (object,intptr,intptr)
at ObjCRuntime.BlockLiteral.GetDelegateForBlock[T] () [0x00000] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/ObjCRuntime/Blocks.cs:133
at ObjCRuntime.Trampolines+NIDActionArity1V0..ctor (ObjCRuntime.BlockLiteral* block) [0x00017] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/build/watch/watch/ObjCRuntime/Trampolines.g.cs:2790
at ObjCRuntime.Trampolines+NIDActionArity1V0.Create (IntPtr block) [0x00036] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/src/build/watch/watch/ObjCRuntime/Trampolines.g.cs:2809
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/data/lanes/1381/f5270a66/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:295
@conceptdev

This comment has been minimized.

Copy link
Owner Author

commented Jan 7, 2016

screen shot 2016-01-06 at 3 00 53 pm

![simulator screen shot jan 6 2016 4 38 21 pm](https://cloud.githubusercontent.com/assets/199373/12160066/19445aaa-b49d-11e5-9baf-32a56d35aa9f.png)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.