HowAreYou
I hate code!
Profile
Posts: 54
Reg: Jan 09, 2013
Orlando
6,490
01/16/13 08:32 PM (13 years ago)

Thought I was sailing smoothly 'Til My App Crashes upon opening with MANY errors

As soon as I open up the app in the emulator this box pops up: 'The application has stopped unexpectedly. Please try again.' Then gives me the option to 'force close' These are the errors I get in the catlog after it stops unexpectedly: ---------------------------------------------------------------------- 01-16 22:16:25.895: W/ResourceType(248): No package identifier when getting value for resource number 0x00000000 01-16 22:16:25.906: W/ZZ(248): BT_fileManager:getDrawableFromResourcesByName An exception occurred trying to get the drawable named: 20130110_225157_resized.jpg 01-16 22:16:25.906: W/ZZ(248): BT_application:getScreenDataByItemId with itemId: = "49CE4A6D8B06D0BB105C5FD" 01-16 22:16:25.906: W/ZZ(248): BT_application:getScreenDataByItemId could not find screen with itemId: "49CE4A6D8B06D0BB105C5FD" 01-16 22:16:25.906: W/dalvikvm(248): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 01-16 22:16:25.925: E/AndroidRuntime(248): FATAL EXCEPTION: main 01-16 22:16:25.925: E/AndroidRuntime(248): java.lang.NullPointerException 01-16 22:16:25.925: E/AndroidRuntime(248): at com.amazonaslatingrill.BT_activity_root_tabs$1.run(BT_activity_root_tabs.java:271) 01-16 22:16:25.925: E/AndroidRuntime(248): at android.os.Handler.handleCallback(Handler.java:587) 01-16 22:16:25.925: E/AndroidRuntime(248): at android.os.Handler.dispatchMessage(Handler.java:92) 01-16 22:16:25.925: E/AndroidRuntime(248): at android.os.Looper.loop(Looper.java:123) 01-16 22:16:25.925: E/AndroidRuntime(248): at android.app.ActivityThread.main(ActivityThread.java:4627) 01-16 22:16:25.925: E/AndroidRuntime(248): at java.lang.reflect.Method.invokeNative(Native Method) 01-16 22:16:25.925: E/AndroidRuntime(248): at java.lang.reflect.Method.invoke(Method.java:521) 01-16 22:16:25.925: E/AndroidRuntime(248): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 01-16 22:16:25.925: E/AndroidRuntime(248): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 01-16 22:16:25.925: E/AndroidRuntime(248): at dalvik.system.NativeStart.main(Native Method) 01-16 22:16:48.767: I/global(248): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required. 01-16 22:18:38.058: I/Process(248): Sending signal. PID: 248 SIG: 9 ---------------------------------------------------------------------- What does this mean? What do I need to do to correct this? Thanks
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
01/16/13 08:49 PM (13 years ago)
Hey @HowAreYou, Did you put a image/pic in the drawable folder? If so, make sure its all lower case and no special characters and png works best. LA
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/16/13 09:00 PM (13 years ago)
also, make sure your files dont' start with a number
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/16/13 09:12 PM (13 years ago)
Ya, Get rid of 20130110_225157_resized.jpg; change it to something like resized_20130110_225157.jpg Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.