Inspector not working for Android, not starting standalone

Hi,

when I try to inspect a android project from visual studio (or xamarin studio) I'm getting an exception:

InspectorTest (169.254.138.177:61258) => [Info][00:00:00.0003340] Agent: Android agent 'InspectorTest v1.0 on 5" KitKat (4.4) XXHDPI Phone' is available for inspection: com-xamarin-inspector-agent://169.254.138.177:61258
[Critical][00:03:05.3713512] AppDomain: unhandled exception: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei Xamarin.CrossBrowser.XcbWebView.FocusDocument()
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
   bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Windows.Threading.DispatcherOperation.Invoke()
   bei System.Windows.Threading.Dispatcher.ProcessQueue()
   bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   bei System.Windows.Application.RunDispatcher(Object ignore)
   bei System.Windows.Application.RunInternal(Window window)
   bei System.Windows.Application.Run(Window window)
   bei Xamarin.Inspector.Windows.Client.App.Main()

I also tried to run it standalone, but then it just doesn't open a window without showing any error at all and all I see in the log file is:

[Info][00:00:00] AppSession: Starting Xamarin Inspector client

Posts

  • SandyArmstrongSandyArmstrong USXamarin Team, Insider Xamurai

    The Windows Inspector client does not yet support standalone mode. Closing right away when you start it manually is actually normal behavior in 0.5.0.

    I'll look into that exception. Answering these questions might help:

    • What version of Windows are you using?
    • 32-bit or 64-bit?
    • What is the latest version of IE installed?
    • Admin account or user account?
  • BenjaminGmeinerBenjaminGmeiner USMember ✭✭

    Hello,

    • Windows 8.1 Pro
    • 64 Bit
    • Internet Explorer 11
    • Local Admin
Sign In or Register to comment.