android


Any reports of bizarre Android force close errors?


I have a few apps on the Android Market. When I get an error report from a user, usually I am able to identify the problem, patch the code, and update to a fixed version.
But twice recently I’ve received strange Force Close reports that I just cannot explain. The latest occurrence is from a standard OpenGL normalization routine:
for (int x=0; x<maxX; x++) {
for (int y=0; y<maxY; y++) {
float d = (float) (1.0f / ( Math.sqrt( vertex[x][y][0]*vertex[x][y][0] + vertex[x][y][1]*vertex[x][y][1] + vertex[x][y][2]*vertex[x][y][2] )));
vertex[x][y][0] = vertex[x][y][0] * d;
vertex[x][y][1] = vertex[x][y][1] * d; <--exception here
vertex[x][y][2] = vertex[x][y][2] * d;
}
}
I get an ArrayIndexOutOfBoundsException on the line “vertex[x][y][1] = vertex[x][y][1] * d;”
This seems impossible to me because of the structure of the program, but also because “vertex[x][y][1]” is referenced two lines above!
Is there any way this could be due to a user having a defective device or operating system? I can’t explain it otherwise.

Related Links

error: Error parsing XML: not well-formed (invalid token) android [closed]
How to use GraphicBuffer in android ndk
Barcode scan on picture from gallery
Inapp Billing unavailable in Some devices android (Not supported)
How to access custom fonts from library project?
Does code in onHandleIntent block IntentService from receiving other intents?
Is there any benifit of ActionBarSherlock if my app run using android 4 and above
FragmentPagerAdapter in Android
can two applications in android communicate using local sockets?
How to know that Web SQL already exist?
Combo box to select city for time zone
libgdx sharedPreferences
Upload a image in flickr shows error
Listview still clickable even though is replaced by clicked fragment
How can i put pending intents in SQlite databse?
Support ActionBar and GameBaseActivity

Categories

HOME
batch-file
microsoftgraph
adal
turing-machines
linkedin
apache-jena
object
mjml
angular-formly
angular2-material
serialization
nuget
ms-access-2016
access
database-normalization
permissions
3d-reconstruction
zip
vimdiff
apache2.4
lilypond
question2answer
aggregation
motion-detection
exchangewebservices
scatter3d
cognos-bi
laravel-eloquent
clickjacking
getpixel
hivemq
filesystemwatcher
apns-php
setup.py
ogc
escpos
ssrs-2014
importerror
oim
vaadin-elements
reindex
qtranslate
modelsim
check-mk
cpu-cache
restore
smartfoxserver
docpad
omxplayer
seek
xcode-server
adafruit
ng-grid
turbo-prolog
qbxml
mobiledoc-kit
crouton-os
inf
toran-proxy
terracotta
xenomai
forwarding
zen-cart
extjs-grid
ansi
aspectj-maven-plugin
entity-framework-4.3
variadic-templates
packet-sniffers
uncaught-typeerror
iiop
mdichild
unix-socket
jquery-slider
dct
cfcache
gae-quotas
koala
xmltodict
scriptaculous
bin
away3d
flex++
cascadingdropdown
bjyauthorize
joomla3.1
pdfviewer
panda3d
qi4j
fragmenttransaction
adobe-media-server
expression-blend-4
xcelsius
listactivity
strsep
unattended-processing
diagrams
uideviceorientation
application-verifier
blender-2.49
wordprocessingml
dojo-dnd

Resources

Encrypt Message