Bug 4800 - Jetboy throws NRE on application launch
Summary: Jetboy throws NRE on application launch
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.1.x
Hardware: PC Mac OS
: --- major
Target Milestone: ---
Assignee: Bugzilla
: 4807 ()
Depends on:
Reported: 2012-05-01 11:28 UTC by PJ
Modified: 2012-05-02 15:34 UTC (History)
2 users (show)

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

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:

Description PJ 2012-05-01 11:28:21 UTC
When Run the application, the application crashes, as soon as it launches, throwing the exception, i.e. System.NullReferenceException in the MD console.

Steps to reproduce this issue:

1. Open app JetBoy.

2. Run the solution.

Actual Result:

Application crashes throwing the exception, i.e. System.NullReferenceException.

Expected Result:
Application launch successfully without throwing any error, and the user should able to play the game successfully.

Supplement information:

MD trace, Full process logcat: https://gist.github.com/2568802
exception logcat only: https://gist.github.com/2567490




Mac 10.6.8

Device info:

LG P500

version 2.2

App info:

JetBoy/monodroid-4.1 preview

Regression status:
Comment 1 Jonathan Pryor 2012-05-01 14:38:29 UTC
Crash is due to lref overflow:

W/dalvikvm( 2748): ReferenceTable overflow (max=512)
W/dalvikvm( 2748): Last 10 entries in JNI local reference table:
W/dalvikvm( 2748):   502: 0x40862268 cls=Landroid/graphics/Bitmap; (44 bytes)
W/dalvikvm( 2748):   503: 0x40877e18 cls=Landroid/view/Surface$CompatibleCanvas; (44 bytes)
W/dalvikvm( 2748):   504: 0x40862268 cls=Landroid/graphics/Bitmap; (44 bytes)
Comment 2 PJ 2012-05-01 16:06:09 UTC
*** Bug 4807 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Pryor 2012-05-02 15:34:28 UTC
Fixed in 33001777.