Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 67

jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
03/05/13 07:21 PM (12 years ago)

Splash error

Thought I would share .. I know other are having issues with the random splash. No matter what app i have when i put in a splash i either get a fatal error or just a white screen. have tried a ton of fixes.. here is what i am getting.. hopefully it means something to someone as im not a code guy but maybe there is a issue its really just me 03-05 20:08:53.755: E/AndroidRuntime(403): FATAL EXCEPTION: main 03-05 20:08:53.755: E/AndroidRuntime(403): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hogwildrun/com.hogwildrun.CR_Random_Splash}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.os.Handler.dispatchMessage(Handler.java:99) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.os.Looper.loop(Looper.java:123) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.ActivityThread.main(ActivityThread.java:4627) 03-05 20:08:53.755: E/AndroidRuntime(403): at java.lang.reflect.Method.invokeNative(Native Method) 03-05 20:08:53.755: E/AndroidRuntime(403): at java.lang.reflect.Method.invoke(Method.java:521) 03-05 20:08:53.755: E/AndroidRuntime(403): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 03-05 20:08:53.755: E/AndroidRuntime(403): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 03-05 20:08:53.755: E/AndroidRuntime(403): at dalvik.system.NativeStart.main(Native Method) 03-05 20:08:53.755: E/AndroidRuntime(403): Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 03-05 20:08:53.755: E/AndroidRuntime(403): at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257) 03-05 20:08:53.755: E/AndroidRuntime(403): at java.util.ArrayList.get(ArrayList.java:311) 03-05 20:08:53.755: E/AndroidRuntime(403): at com.hogwildrun.CR_Random_Splash.onStart(CR_Random_Splash.java:195) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1129) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.Activity.performStart(Activity.java:3781) 03-05 20:08:53.755: E/AndroidRuntime(403): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2636) 03-05 20:08:53.755: E/AndroidRuntime(403): ... 11 more
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
03/06/13 07:05 AM (12 years ago)
Hi @jvalley, At first glance, it looks like an array list is throwing an exception. Can you show a link or pic of your splash screen? LA
 
Frogman
Aspiring developer
Profile
Posts: 264
Reg: Jan 05, 2013
Bratislava
11,190
like
03/06/13 02:46 PM (12 years ago)
Hey jvalley, how did you solve the splash screen? Frogman
 
jvalley
Aspiring developer
Profile
Posts: 456
Reg: Feb 16, 2013
Green Bay,Wi
9,360
like
03/06/13 03:35 PM (12 years ago)
I deleted it .. Get errors no matter what I do .different images .. Urls and tried just a app with a splash
 

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.