Bug 31335 - Java.Lang.NullPointerException During Runtime
Summary: Java.Lang.NullPointerException During Runtime
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.4.2
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-06-23 19:42 UTC by Jimmy [MSFT]
Modified: 2016-04-10 02:40 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Exception and stack trace (7.17 KB, text/plain)
2015-06-23 19:42 UTC, Jimmy [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Jimmy [MSFT] 2015-06-23 19:42:58 UTC
Created attachment 11726 [details]
Exception and stack trace

*** Overview ***
A Xamarin.Forms Android app is hanging and crashing with a null pointer exception. The attached stack trace seems to reference the internal ViewCell renderer at the time of the exception.


*** Steps to Reproduce ***
1.  Register using code "test"
2.  Log in (any credentials will work)
3.  Choose and confirm PIN (any four digits)
4.  Enter “1” for driver ID and confirm
5.  Enter “1” for truck number and confirm
6.  Sign
7.  Select the first stop from the list
8.  Tap “Process Order”
9.  Tap “Finished Scanning”
10. Tap “Continue”
11. Tap “Click here to sign” and sign
12. Tap “Done”, then “Continue”
13. Pick any value from “Payment Method” picker
14. Tap “Complete Order”, then “Done”
15. Confirm you see a list of items (title of the page should be "Stops")
16. Click the action overflow menu it title bar, and select “Reset App”
17. Click “Reset”
18. You’ll be redirected to a “Login” page – quickly attempt to enter a username and password
19. There is no crash, but rather the app hangs until the system asks to force close it


*** Actual Results ***
The app hangs and the system asks if you want close it or wait. The app also gives the attached null pointer exception and stack trace.


*** Expected Results ***
No app hang or exception


*** Environment Info ***
Microsoft Visual Studio Premium 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.51650

Installed Version: Premium

Team Explorer for Visual Studio 2013 06191-004-0454001-02972
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013 06191-004-0454001-02972
Microsoft Visual Basic 2013

Visual C# 2013 06191-004-0454001-02972
Microsoft Visual C# 2013

Visual C++ 2013 06191-004-0454001-02972
Microsoft Visual C++ 2013

Visual F# 2013 06191-004-0454001-02972
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker 06191-004-0454001-02972
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

AnkhSVN - Subversion Support for Visual Studio 2.5.12582.28
AnkhSVN - Subversion Support for Visual Studio 2.5.12582.28
* Ankh.Package 2.5.12582.28
* Subversion 1.8.11 via SharpSvn 1.8011.3473.77

SharpSvn is linked to: Apr 1.5.1, Apr-util 1.5.4, Cyrus Sasl 2.1.25, eXpat 2.1.0, OpenSSL 1.0.1l 15 Jan 2015, serf 1.3.8, SQLite 3.7.17, Subversion 1.8.11-SharpSvn-1.8.11, ZLib 1.2.8
SharpSvn is optionally linked to: Berkeley DB 4.4.20, SharpPlink 1.8011.3473.77

Common Azure Tools 1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

JetBrains ReSharper Ultimate 2015.1.1 Build 102.0.20150521.123255
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.

NuGet Package Manager 2.8.60318.734
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

StyleCop 4.7.49.0
Provides source code style and consistency tools. See http://www.stylecop.codeplex.com/ for more details.

Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services Tools

Xamarin 3.11.590.0 (5160db7)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android 5.1.3.1 (d419c934e6ce2113653ff4c40214e3a5d5a69440)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense 1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS 8.10.1.0 (fce006eae308515fc1eaf85fcc0f90699d9c7e8b)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration 1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration 1.0
Early preview of Xamarin Test Cloud integration
Comment 2 Rui Marinho 2015-11-30 15:10:21 UTC
Hi Jimmy, i couldn't pass the register part on the app, is the issue still happening with XF 2.0 ?
Comment 3 Jason Smith [MSFT] 2016-04-10 02:40:26 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team