Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

My running Xamarin.Forms.Android app giving java.lang.RuntimeException after recent upgrades

$
0
0

I have not modified anything in my project. Just reran after cleaning after recent upgrades to XS, XF etc. The error log is as follows:

[AndroidRuntime] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
[AndroidRuntime] Caused by: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Method.java:372)
[AndroidRuntime] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
[AndroidRuntime] ... 1 more
[AndroidRuntime] Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
[AndroidRuntime] at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
[AndroidRuntime] at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (object)
[AndroidRuntime] at Android.App.SyncContext/c__AnonStorey0.<>m__0 ()
[AndroidRuntime] at Java.Lang.Thread/RunnableImplementor.Run ()
[AndroidRuntime] at Java.Lang.IRunnableInvoker.n_Run (intptr,intptr)
[AndroidRuntime] at (wrapper dynamic-method) object.851cf2ad-865f-40d0-9eff-c79b4f050189 (intptr,intptr)
[AndroidRuntime]
[AndroidRuntime] at mono.java.lang.RunnableImplementor.n_run(Native Method)
[AndroidRuntime] at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
[AndroidRuntime] at android.os.Handler.handleCallback(Handler.java:739)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:95)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:135)
[AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:5254)
[AndroidRuntime] ... 4 more

My environment details are:
=== Xamarin Studio ===

Version 5.9.7 (build 9)
Installation UUID: ce3c639f-fb3f-4cb1-8a48-31fb675a968e
Runtime:
Mono 4.0.4 ((detached/cb6d6b2)
GTK+ 2.24.23 (Raleigh theme)

Package version: 400040002

=== Xamarin.Android ===

Version: 5.1.6.7 (Indie Edition)
Android SDK: /Users/shantimohan/Library/Developer/Xamarin/android-sdk-mac_x86
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 7.0 (8227)
Build 7A220

=== Xamarin.iOS ===

Version: 9.0.1.18 (Indie Edition)
Hash: d230615
Branch: master
Build date: 2015-09-16 17:04:13-0400

=== Xamarin.Mac ===

Not Installed

=== Build Information ===

Release ID: 509070009
Git revision: 31fa64709030b3edb971237780a452a4c69943c4
Build date: 2015-09-17 11:44:37-04
Xamarin addins: b105d33d8cd72911ff2cf3ee0b7715d37e5f19a6

=== Operating System ===

Mac OS X 10.10.5
Darwin ESM-MBP1 14.5.0 Darwin Kernel Version 14.5.0
Wed Jul 29 02:26:53 PDT 2015
root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64


Viewing all articles
Browse latest Browse all 89864

Trending Articles