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

Error on release mode - Xamarin.Forms.Platform.Android.AppCompat.Platform.Xamarin.Forms.Platform.And

$
0
0

When I run my app in Debug mode it work's fine but when I try to run it in release mode on my device I get the following error:

Package: com.mcamara.pluride
Version Code: 1
Version Name: 1.0
Android: 6.0.1
Android Build: MMB29M
Manufacturer: samsung
Model: SM-G800H
CrashReporter Key: edc55020-a07f-4859-bc1b-39c0c3bb1632
Start Date: 2017-08-27T03:48:38.714Z
Date: 2017-08-27T03:38:16.616Z

Xamarin Exception Stack:
System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.Forms.Platform.Android.AppCompat.Platform.Xamarin.Forms.Platform.Android.IPlatformLayout.OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x0002c] in <74ac3f29fabc4c9bbfe3c4108a7356b8>:0
at Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout (System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x00018] in <74ac3f29fabc4c9bbfe3c4108a7356b8>:0
at Android.Views.ViewGroup.n_OnLayout_ZIIII (System.IntPtr jnienv, System.IntPtr native__this, System.Boolean changed, System.Int32 l, System.Int32 t, System.Int32 r, System.Int32 b) [0x00008] in :0
at (wrapper dynamic-method) System.Object:d41594b1-7ed3-477c-9aff-32fa9398b2c8 (intptr,intptr,bool,int,int,int,int)

Thread 1:
0 dalvik.system.VMStack.getThreadStackTrace(VMStack.java:-2)
1 java.lang.Thread.getStackTrace(Thread.java:580)
2 java.lang.Thread.getAllStackTraces(Thread.java:522)
3 com.microsoft.azure.mobile.crashes.Crashes.saveUncaughtException(Crashes.java:751)
4 com.microsoft.azure.mobile.crashes.WrapperSdkExceptionManager.saveWrapperException(WrapperSdkExceptionManager.java:45)
5 md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.n_onLayout(PlatformRenderer.java:-2)
6 md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.onLayout(PlatformRenderer.java:55)
7 android.view.View.layout(View.java:18010)
8 android.view.ViewGroup.layout(ViewGroup.java:5911)
9 android.widget.RelativeLayout.onLayout(RelativeLayout.java:1080)
10 android.view.View.layout(View.java:18010)
11 android.view.ViewGroup.layout(ViewGroup.java:5911)
12 android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
13 android.widget.FrameLayout.onLayout(FrameLayout.java:281)
14 android.view.View.layout(View.java:18010)
15 android.view.ViewGroup.layout(ViewGroup.java:5911)
16 android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
17 android.widget.FrameLayout.onLayout(FrameLayout.java:281)
18 android.view.View.layout(View.java:18010)
19 android.view.ViewGroup.layout(ViewGroup.java:5911)
20 android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
21 android.widget.FrameLayout.onLayout(FrameLayout.java:281)
22 android.view.View.layout(View.java:18010)
23 android.view.ViewGroup.layout(ViewGroup.java:5911)
24 android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
25 android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
26 android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
27 android.view.View.layout(View.java:18010)
28 android.view.ViewGroup.layout(ViewGroup.java:5911)
29 android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
30 android.widget.FrameLayout.onLayout(FrameLayout.java:281)
31 com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:3175)
32 android.view.View.layout(View.java:18010)
33 android.view.ViewGroup.layout(ViewGroup.java:5911)
34 android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2776)
35 android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2477)
36 android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1544)
37 android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7602)
38 android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)
39 android.view.Choreographer.doCallbacks(Choreographer.java:686)
40 android.view.Choreographer.doFrame(Choreographer.java:622)
41 android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)
42 android.os.Handler.handleCallback(Handler.java:739)
43 android.os.Handler.dispatchMessage(Handler.java:95)
44 android.os.Looper.loop(Looper.java:148)
45 android.app.ActivityThread.main(ActivityThread.java:7331)
46 java.lang.reflect.Method.invoke(Method.java:-2)
47 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
48 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Thread 1132:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:162)
2 java.lang.Thread.run(Thread.java:818)

Thread 1133:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Object.wait(Object.java:423)
2 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
3 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
4 java.lang.Daemons$FinalizerDaemon.run(Daemons.java:200)
5 java.lang.Thread.run(Thread.java:818)

Thread 1134:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:270)
2 java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:242)
3 java.lang.Thread.run(Thread.java:818)

Thread 1135:
0 dalvik.system.VMRuntime.runHeapTasks(VMRuntime.java:-2)
1 java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:370)
2 java.lang.Thread.run(Thread.java:818)

Thread 1139:
0 libcore.io.Posix.android_getaddrinfo(Posix.java:-2)
1 libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
2 java.net.InetAddress.lookupHostByName(InetAddress.java:451)
3 java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)
4 java.net.InetAddress.getAllByName(InetAddress.java:215)
5 com.android.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
6 com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:220)
7 com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:176)
8 com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:108)
9 com.android.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:501)
10 com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:484)
11 com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:466)
12 com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:372)
13 com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:476)
14 com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:418)
15 com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:540)
16 com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
17 com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:25)
18 com.facebook.GraphResponse.fromHttpConnection(GraphResponse.java:253)
19 com.facebook.GraphRequest.executeConnectionAndWait(GraphRequest.java:1270)
20 com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1168)
21 com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1134)
22 com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1118)
23 com.facebook.GraphRequest.executeAndWait(GraphRequest.java:1093)
24 com.facebook.GraphRequest.executeAndWait(GraphRequest.java:987)
25 com.facebook.internal.FetchedAppSettingsManager.getAppSettingsQueryResponse(FetchedAppSettingsManager.java:207)
26 com.facebook.internal.FetchedAppSettingsManager.access$100(FetchedAppSettingsManager.java:47)
27 com.facebook.internal.FetchedAppSettingsManager$1.run(FetchedAppSettingsManager.java:122)
28 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
29 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
30 java.lang.Thread.run(Thread.java:818)

Thread 1140:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Thread.parkFor$(Thread.java:1220)
2 sun.misc.Unsafe.park(Unsafe.java:299)
3 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
5 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
6 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
7 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
8 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
9 java.lang.Thread.run(Thread.java:818)

Thread 1142:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Thread.parkFor$(Thread.java:1220)
2 sun.misc.Unsafe.park(Unsafe.java:299)
3 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
5 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
6 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
7 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
8 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
9 java.lang.Thread.run(Thread.java:818)

Thread 1143:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Thread.parkFor$(Thread.java:1220)
2 sun.misc.Unsafe.park(Unsafe.java:299)
3 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
5 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
6 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
7 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
8 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
9 java.lang.Thread.run(Thread.java:818)

Thread 1145:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Thread.parkFor$(Thread.java:1220)
2 sun.misc.Unsafe.park(Unsafe.java:299)
3 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2053)
5 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)
6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:806)
7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
10 java.lang.Thread.run(Thread.java:818)

Thread 1146:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Thread.parkFor$(Thread.java:1220)
2 sun.misc.Unsafe.park(Unsafe.java:299)
3 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
5 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1078)
6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:806)
7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
10 java.lang.Thread.run(Thread.java:818)

Thread 1148:
0 android.os.MessageQueue.nativePollOnce(MessageQueue.java:-2)
1 android.os.MessageQueue.next(MessageQueue.java:323)
2 android.os.Looper.loop(Looper.java:135)
3 android.os.HandlerThread.run(HandlerThread.java:61)

Thread 1155:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Thread.parkFor$(Thread.java:1220)
2 sun.misc.Unsafe.park(Unsafe.java:299)
3 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
5 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
6 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
7 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
8 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
9 java.lang.Thread.run(Thread.java:818)

Thread 1158:
0 java.lang.Object.wait(Object.java:-2)
1 java.lang.Thread.parkFor$(Thread.java:1220)
2 sun.misc.Unsafe.park(Unsafe.java:299)
3 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
4 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
5 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)
6 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
7 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
8 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
9 java.lang.Thread.run(Thread.java:818)

Thread 1159:
0 java.lang.Object.wait(Object.java:-2)
1 com.android.okhttp.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:323)
2 com.android.okhttp.okio.AsyncTimeout.access$000(AsyncTimeout.java:40)
3 com.android.okhttp.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:286)

Thread 1160:
0 java.lang.Object.wait(Object.java:-2)
1 com.android.okhttp.ConnectionPool.performCleanup(ConnectionPool.java:319)
2 com.android.okhttp.ConnectionPool.runCleanupUntilPoolIsEmpty(ConnectionPool.java:256)
3 com.android.okhttp.ConnectionPool.access$000(ConnectionPool.java:59)
4 com.android.okhttp.ConnectionPool$1.run(ConnectionPool.java:102)
5 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
6 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
7 java.lang.Thread.run(Thread.java:818)


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>