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
Home:

java.lang.ExceptionInInitializerError
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1429)
at android.app.Instrumentation.newApplication(Instrumentation.java:
957)
at android.app.Instrumentation.newApplication(Instrumentation.java:
942)
at android.app.ActivityThread
$PackageInfo.makeApplication(ActivityThread.java:644)
at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:
4232)
at android.app.ActivityThread.access$3000(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:
2071)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NoSuchFieldError:
at com.xxx.yyy.Application.<clinit>(Application.java:30)
... 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?

Markus

--



Crash report: NoSuchFieldError

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


 




First Google hit:
 http://download.oracle.com/javase/1.4.2/docs/api/java/lang/ExceptionInInitializerError.html 

"...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 < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

--


Sponsored Links


Other Threads

1. Conventions about using SD card

Hello all,

I have a question about SD card usage in Android applications. I need
my application to store some files on the SD card. Is there any
document (conventions) about how the application should use the SD
card?

I saw applications create a directory named as the application itself
and store their files in this directory. I saw a number of
applications that create a directory named as the application's
package. I saw some applications that write files directly to the SD
card root. And, finally, built-in camera application uses standard
DCIM/100XXXX scheme.

So the question is: is there any recommendation about where to store
files (to make them visible for users and avoid conflicts with other
applications) or I can decide it on my own.

Thank you in advance.

-- 

2. Update #5: Kloteran External Battery 4400mAh - Just Mobile Gum Pro & Gum Plus (Last Day

Hari ini adalah hari terakhir pemesanan, masih adaa kesempatan bagi yang
belum memesan :)

Yang namanya sudah tercantum dibawah ini dan belum DP, apabila tidak ada
konfirmasi sampai Senin 08 Maret 2010 pagi hari, maka saya anggap "*confirm
order*"

Terima kasih atas kepercayaan yang telah diberikan.
List pemesan so far:

*Gum Plus*:
1. Fuad Jauhari
2. iki
3. Chippy
4. Indra S Adillah
5. Arimurti Pramuditta
6. Andremagis
7. Ahmad Fadlah
8. Deska Affif - *Lunas*
9.  Ronny Iskandar - *DP*
10. Maykel Herdianto - *DP*
11. Achmad A Trisatya - *DP*
12. Ketut Rutin - *Lunas*
13. Kusuma - *Lunas*
14. Jonathan
15. Jonathan
16. Geggoh Tinambunan - *DP*
17. Irsan R. - *Lunas*
18. Petrus Gunawan - *DP*
19. Bang Rachmat - *Lunas*
20. Iyul Syaaf - *Lunas*
21. Saut Tambunan - *DP*
22. Fahruddin Arrazy
23. Albert Antonio
24. Herman Cahyadi - *Lunas*
25. iLman Ramli - *DP*
26. Anggra
27. Anggra
28. Iwan Gunawan - *DP*
29. Angga Ariansyah - *Lunas*
30. Petrus Suryadi - *DP*
31. Gustaf Herman - *DP*
32. Marcelinus Gozali - *DP*
33. Fahru Razi - *DP*
34. Salugu Widya Utama - *Lunas*
35. Eddy Ramdan - *DP*
36. Happy Allen Aditya - *Lunas*
37. Yugi Darmawan - *DP*
38. Jefriando - *Lunas*
39. Levina Sunantio - *DP*
40. Ahmat Kholiq - *Lunas*
41. Purnomo - *Lunas*
42. Evan Anthony - *DP*
43. Subanindiyo Ardi
44. Reefeira
45. ?

*Gum Pro*:
1. Budy Wuysang - *Lunas*
2. ?

(kalau ada salah nama atau udah bayar/DP tapi belum di list, silakan japri
ya)

=======================================================
Mau coba masukin battery, barangkali temen2 berminat :)

Sistemnya pre-order yah, jadi barang dipesan dulu (import), perkiraan 5-8
hari sampai di Jakarta (setelah penutupan kloteran).

Informasi produknya bisa dilihat disini:
* *Gum Plus*:
--- Produk: http://www.xtand.net/products/show/productid/9
--- Video: http://www.xtand.net/cms/id/8
--- Review:
http://www.ilounge.com/index.php/reviews/entry/just-mobile-gum-plus-mobile-battery-pack/

* *Gum Pro*:
--- Produk: http://www.xtand.net/products/show/productid/6
--- Review:
http://www.ilounge.com/index.php/reviews/entry/just-mobile-gum-and-gum-pro-portable-usb-power-packs/

Dalam reviewnya yang dipakai demo adalah iPhone, namun battery ini bisa
dipake untuk device apa saja, asalkan devicenya pake koneksi USB untuk
chargingnya.

Harga yang ditawarkan:
- Gum Plus : *Rp 575.000,-* (harga jual diluar kloteran *700rb*)
- Gum Pro : *Rp 475.000,-*  (harga jual diluar kloteran *600rb*)

Temen2 yang berminat cukup *DP 100rb* saja, sisanya dibayarkan setelah
barang sampai di Jakarta.
Pengiriman ke pemesan setelah pembayaran lunas :)
Free ongkos kirim untuk area Jabodetabek & Bandung only (maaf ya, karena
sudah mepet hehehe...)

Untuk pembelian dengan quantity tertentu, atau pemesanan produk Just Mobile
lainnya, silakan japri aja ya :)

Yang berminat silakan japri ke: *deska...@gmail.com*
Kloteran ditutup hari Minggu tanggal *07 Maret 2010* (*23:59 WIB*)

Hari Senin (*08 Maret 2010*) proses importnya.

Thank you....

---------------
Deska Affif
P: 088-1100-GAYA (4292) | Y!: GadgetGaya
www.gadgetgaya.com  |  Gadget Accessories Online Store

-- 
"Indonesian Android Community [id-android]" 

3. Android by i-mobile

4. Accessing input method completions

5. Help mau unroot malah ngaco :

6. Problem launching my own (camera) application on press of Camera-button (part 2)

7. Start up screen