The line 161 is :- for (int i = 0; i < tracks.size(); i++) Where tracks is an arrayList and all this code is* working fine in 2.2*
On Sat, Mar 5, 2011 at 12:36 PM, Robin Talwar <r.o.b.i.n.abhis...@gmail.com>wrote: > Ok now i really dont understand what has the logcat to do with my emulator > configuration. > > The above logcat was pasted when i started the 2.1 emulator with wvga800 > and screen size (in) = 5 > > The following is the logcat which i get when i start the same emulator with > screen size (in) = 6 Monitor (dpi) be 17' in both the cases. > > 03-05 12:32:13.553: WARN/dalvikvm(232): threadid=3: thread exiting with > uncaught exception (group=0x4001b188) > 03-05 12:32:13.563: ERROR/AndroidRuntime(232): Uncaught handler: thread > main exiting due to uncaught exception > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): > java.lang.NullPointerException > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > com.hungama.myplay.activity.MusicScreen$FetchTopMusic.onPostExecute(MusicScreen.java:161) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > com.hungama.myplay.activity.MusicScreen$FetchTopMusic.onPostExecute(MusicScreen.java:1) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > android.os.AsyncTask.finish(AsyncTask.java:417) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > android.os.AsyncTask.access$300(AsyncTask.java:127) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > android.os.Handler.dispatchMessage(Handler.java:99) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > android.os.Looper.loop(Looper.java:123) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > android.app.ActivityThread.main(ActivityThread.java:4363) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > java.lang.reflect.Method.invokeNative(Native Method) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > java.lang.reflect.Method.invoke(Method.java:521) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) > 03-05 12:32:13.623: ERROR/AndroidRuntime(232): at > dalvik.system.NativeStart.main(Native Method) > > > And i get this message after the splash screen. > Music Screen has async task which is calling various classes in various > packages for parsing the xml content. > Is this a problem in xml parser?? > > > On Sat, Mar 5, 2011 at 12:24 PM, Abhishek Talwar < > r.o.b.i.n.abhis...@gmail.com> wrote: > >> Hey guys >> I know i have posted the same problem earlier but this time it is >> giving some other errors. >> I simply want to downgrade my api level 8 to 7 so that i can run the >> application both on 2.2 and 2.1 devices. >> The application is running perfectly fine on 2.2 and is having problem >> working on 2.1 >> >> I have done changes in manifest.xml and project -> properties >> >> My application basically uses sax parser , facebook sdk , twitter >> connect >> >> The following is the logcat which i get :- >> >> 03-05 12:14:47.014: INFO/ActivityManager(58): Starting activity: >> Intent { act=android.intent.action.MAIN >> cat=[android.intent.category.LAUNCHER] flg=0x10000000 >> cmp=com.hungama.myplay.activity/.Splash } >> 03-05 12:14:47.174: DEBUG/AndroidRuntime(245): Shutting down VM >> 03-05 12:14:47.174: DEBUG/dalvikvm(245): DestroyJavaVM waiting for non- >> daemon threads to exit >> 03-05 12:14:47.194: DEBUG/dalvikvm(245): DestroyJavaVM shutting VM >> down >> 03-05 12:14:47.194: DEBUG/dalvikvm(245): HeapWorker thread shutting >> down >> 03-05 12:14:47.204: DEBUG/dalvikvm(245): HeapWorker thread has shut >> down >> 03-05 12:14:47.204: DEBUG/jdwp(245): JDWP shutting down net... >> 03-05 12:14:47.204: INFO/dalvikvm(245): Debugger has detached; object >> registry had 1 entries >> 03-05 12:14:47.214: DEBUG/dalvikvm(245): VM cleaning up >> 03-05 12:14:47.275: ERROR/AndroidRuntime(245): ERROR: thread attach >> failed // ERROR >> 03-05 12:14:47.475: DEBUG/dalvikvm(245): LinearAlloc 0x0 used 639500 >> of 5242880 (12%) >> 03-05 12:14:48.615: INFO/ActivityManager(58): Displayed activity >> com.hungama.myplay.activity/.Splash: 1461 ms (total 1461 ms) >> 03-05 12:14:53.914: DEBUG/dalvikvm(106): GC freed 170 objects / 7112 >> bytes in 261ms >> 03-05 12:14:56.144: WARN/InputManagerService(58): Window already >> focused, ignoring focus gain of: >> com.android.internal.view.IInputMethodClient$Stub$Proxy@43c5eee0 >> 03-05 12:15:05.355: DEBUG/dalvikvm(224): GC freed 1620 objects / >> 115968 bytes in 245ms >> 03-05 12:15:05.395: ERROR/webcoreglue(224): The real object has been >> deleted >> 03-05 12:15:05.415: DEBUG/webviewglue(224): nativeDestroy view: >> 0x2eb310 >> >> Thanks >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en