Skip to content

Instantly share code, notes, and snippets.

@BenBeckley
Created July 22, 2016 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BenBeckley/da4a9604baf0aee8ab7534076f2170e4 to your computer and use it in GitHub Desktop.
Save BenBeckley/da4a9604baf0aee8ab7534076f2170e4 to your computer and use it in GitHub Desktop.
System.NullReferenceException: Object reference not set to an instance of an object.
at MonoTouch.Design.Client.Windows.NativePropertyTable.<>c__DisplayClass40_0.<RefreshPropertyChooseEditor>b__1(PropertyChooseEntry t)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at MonoTouch.Design.Client.Windows.NativePropertyTable.RefreshPropertyChooseEditor(PropertyTableRow row, PropertyEditorContext context)
at MonoTouch.Design.Client.Windows.NativePropertyTable.SetContextForRows(PropertyEditorContext context, IEnumerable`1 currentRows)
at MonoTouch.Design.Client.Windows.NativePropertyTable.SetContext(PropertyEditorContext context, IEnumerable`1 panels)
at Xamarin.Designer.DesignerPropertyPanel.SwitchToSection(PropertySection section, Boolean animated)
at Xamarin.Designer.DesignerPropertyPanel.Refresh()
at Xamarin.Designer.PropertyEditing.IPhoneDesignerPropertyPanel.HandleContentChanged(Object s, EventArgs args)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Xamarin.Designer.DesignerSession.OnContentChanged()
at MonoTouch.Design.Client.IPhoneDesignerSession.<ReloadItemsAsync>d__160.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MonoTouch.Design.Tasks.<Cancellable>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MonoTouch.Design.Client.IPhoneDesignerSession.<ReloadItems>d__159.MoveNext()
Contents of C:\Users\QAXamarin\AppData\Local\Xamarin\Logs\14.0\iOSDesigner-12436.2016-07-22__12-41-29.log:
MDAddinsHash: 451cc4c4640551a72356d8a85a4f15ff55fcb661
[2016-07-22 12:42:32.1] INFO: Starting full reload...
[2016-07-22 12:42:32.2] INFO: Reloading: Serialization took 0ms
[2016-07-22 12:42:57.5] INFO: Reloading: Deserialization took 7ms
[2016-07-22 12:42:57.5] INFO: Reloading: Server rendering completed in 25323ms with 228573 bytes
[2016-07-22 12:42:57.6] INFO: Fetched iOS SDK data in C:\Users\QAXamarin\AppData\Local\Temp\xd-support-files-77272c65
[2016-07-22 12:42:57.6] WARN: Not adding `Entitlements.plist' to image resources due to error: System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: The component cannot be found. (Exception from HRESULT: 0x88982F50)
--- End of inner exception stack trace ---
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapImage.EndInit()
at Xwt.WPFBackend.ImageHandler.LoadFromStream(Stream stream)
at Xwt.Drawing.Image.FromStream(Stream stream)
at MonoTouch.Design.Client.IPhoneDesignerSession.ConvertBundleResources(IEnumerable`1 resources)
[2016-07-22 12:42:57.6] WARN: Not adding `Images.xcassets/AppIcons.appiconset/Contents.json' to image resources due to error: System.NotSupportedException: No imaging component suitable to complete this operation was found. ---> System.Runtime.InteropServices.COMException: The component cannot be found. (Exception from HRESULT: 0x88982F50)
--- End of inner exception stack trace ---
at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
at System.Windows.Media.Imaging.BitmapImage.EndInit()
at Xwt.WPFBackend.ImageHandler.LoadFromStream(Stream stream)
at Xwt.Drawing.Image.FromStream(Stream stream)
at MonoTouch.Design.Client.IPhoneDesignerSession.ConvertBundleResources(IEnumerable`1 resources)
[2016-07-22 12:42:57.6] INFO: Gathered the following assemblies to upload to the renderer:
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Xml.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Core.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.iOS.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\mscorlib.dll
[2016-07-22 12:42:57.6] INFO: C:\TestResults\TemplateTest-BlankAppWatchOSApp\Temp\App5\App5\bin\iPhone\Debug\App5.exe
[2016-07-22 12:42:57.6] INFO: These assembly will not be uploaded as they have already been sent:
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Xml.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\System.Core.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\Xamarin.iOS.dll
[2016-07-22 12:42:57.6] INFO: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Xamarin.iOS\v1.0\mscorlib.dll
[2016-07-22 12:42:57.6] INFO: These assembly will not be uploaded as they cannot be found on disk:
[2016-07-22 12:42:57.6] INFO: C:\TestResults\TemplateTest-BlankAppWatchOSApp\Temp\App5\App5\bin\iPhone\Debug\App5.exe
[2016-07-22 12:42:57.6] INFO: Loaded 0 custom classes from the server
[2016-07-22 12:42:57.7] ERROR: Error while retrieving class icon for UIWindow
[2016-07-22 12:42:57.7] INFO: Reloading: Serialization took 0ms
[2016-07-22 12:43:00.3] INFO: Reloading: Deserialization took 47ms
[2016-07-22 12:43:00.3] INFO: Reloading: Server rendering completed in 2574ms with 1211211 bytes
[2016-07-22 12:43:00.9] INFO: Reloading: Serialization took 0ms
[2016-07-22 12:43:00.9] INFO: Reloading: Deserialization took 2ms
[2016-07-22 12:43:00.9] INFO: Reloading: Server rendering completed in 82ms with 56845 bytes
[2016-07-22 12:43:01.0] INFO: Reloading: EndDeferSelectionChanged took 0ms
[2016-07-22 12:43:01.0] INFO: Actions and outlets synchronized in 26ms
[2016-07-22 12:43:01.0] INFO: OnContentChanged: 27ms
[2016-07-22 12:43:01.0] INFO: ImagesChanged: 2ms
[2016-07-22 12:43:01.0] INFO: Reload complete in 28939ms.
[2016-07-22 12:43:14.8] INFO: Reloading: Serialization took 0ms
[2016-07-22 12:43:14.9] INFO: Reloading: Deserialization took 2ms
[2016-07-22 12:43:14.9] INFO: Reloading: Server rendering completed in 108ms with 63904 bytes
[2016-07-22 12:43:15.2] INFO: Reloading: EndDeferSelectionChanged took 290ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment