Crash report: NoSuchFieldError

by Markus » Thu, 21 Oct 2010 15:41:58 GMT

Sponsored Links
 Hi all,

Yesterday I noticed this awkward crash report on the Android Market

at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NoSuchFieldError:
... 16 more

The device was a Nexus One and apparently this happened twice (but
only to one user).

Any idea what might be the cause of this?



Crash report: NoSuchFieldError

by TreKing » Thu, 21 Oct 2010 22:53:18 GMT


First Google hit: 

"...thrown to indicate that an exception occurred during evaluation of a
static initializer or the initializer for a static variable."

So look at how your statics are being initialize. Or, if it's only happening
to this one person, ignore it. That's what I do :-P

TreKing <> ; - Chicago
transit tracking app for Android-powered devices


Sponsored Links

Other Threads

1. popup menus woes


i registred [registerForContextMenu()] a child of some Dialog.

i perform long click,
onCreateContextMenu is called and populated with some MenuItems.

then populated popup menu is shown, and then i press some item
but onContextItemSelected is NOT called.

when i registered some other View (not being Dialog's child) the same
code works without any problems.

so can i add pooup menu for some Dialog's child?


2. IDEA: Android Applications I'd most like to see

These are the apps I'd like to see for the Android - if they were
available, they'd make it a killer product:
*Facebook (similar to the iPhone version, but I would like to chat as

*Windows Media Player (or VLC or something like it, for audio/video
playlist creation, shuffle, streaming audio; ability to fill in
missing id3 tag info via web, and use Zune media maps);
Audio formats: MP3, WMA, AC3, AAC, FLAC, OGG Vorbis, OGG FLAC, Apple
Lossless, True Audio, Monkey Audio, MusePack, WavPack, G.726, and PCM
(minimum: mp3, wma, wav)
Video formats: AVI, WMV, ASF, MP4, MKV, OGM, DAT, MTV, DivX, XviD,
MPEG-4, WMV 9/8/7, H.264, M-JPEG, and MPEG 1 (minimum: avi, mp4, wmv,
mpeg, divx/xvid)
-basically, a more fully featured media player.  The interface is nice
on the included player, but with a few extra features, it'd be an
awesome player.

*Wikipedia Mobile - search English, German, etc. wikipedias in mobile
*Powerpoint Viewer - view MS Office 2007 Powerpoint files (better yet,
*Excel Viewer - view/edit MS Excel 2007 files
*Locale Switcher - switch UI to other languages and date/time format,
currency to other locales
*MAME 32 Emulator - play classic arcade games on the go
*Freecell, Solitaire, Spider Solitaire - card games
*E-Book Reader - view & bookmark *.lit files
*Adobe Acrobat Viewer - view PDF files
*Dictionary/Translation - look up words, spell-check, translate into
other languages.  I used for Eng<->German, having found
it the most accurate.  Even better if the user can add his own
translations for new languages.


3. Switches in Aapt tool

4. OnApplicationStart ?

5. on press event

6. How firmware update thro OTA works?

7. USB socket