Discussion Forums  >  Crashes, Memory Warnings

Replies: 5    Views: 396

aikashi
I hate code!
Profile
Posts: 27
Reg: Jul 01, 2013
Ohio
270
10/15/13 11:59 AM (9 years ago)

Android NullPointerException Revived Again

Hi! So as per this thread over here the NullPointerException was resolved (https://www.buzztouch.com/forum/thread.php?tid=8B5CBFBAAAA9373BB96B9E7) but I have got 5 crash so far (App download is 2k+) but still... Here's the report available at console java.lang.NullPointerException in com.randomapp.BT_viewUtilities.updateBackgroundColorsForScree java.lang.RuntimeException: Unable to start activity ComponentInfo{com.randomapp/com.randomapp.BT_screen_menuListSimple}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2077) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2104) at android.app.ActivityThread.access$600(ActivityThread.java:134) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:4624) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.randomapp.BT_viewUtilities.updateBackgroundColorsForScreen(BT_viewUtilities.java:67) at com.randomapp.BT_screen_menuListSimple.onCreate(BT_screen_menuListSimple.java:107) at android.app.Activity.performCreate(Activity.java:4479) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1050) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2041) ... 11 more
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
Fourm StarFourm StarFourm Star
like
10/15/13 10:53 PM (9 years ago)
This suggests to me that you have an invalid background color specified somewhere in your JSON file. Give it a look to make sure that it's all correct HEX values. Mark
 
aikashi
I hate code!
Profile
Posts: 27
Reg: Jul 01, 2013
Ohio
270
like
10/24/13 01:00 PM (9 years ago)
Thanks will try that and will let you know. Apologies for delayed reply was out of town for a few days
 
aikashi
I hate code!
Profile
Posts: 27
Reg: Jul 01, 2013
Ohio
270
like
10/24/13 01:12 PM (9 years ago)
Nope just checked the JSON in BT_config.txt file only two color have been used black (#000000) and white(#FFFFFF) and everywhere its written correctly in 6 digits.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
Fourm StarFourm StarFourm Star
like
10/24/13 01:55 PM (9 years ago)
Well, only 5 crashes out of 2000+ downloads isn't all that bad, and can probably safely be ignored. There are so many variants of Android out there that we're bound to butt heads with some of them. If you start getting more reports, or people leaving bad reviews, let me know, and we'll try to figure this thing out. Mark
 
aikashi
I hate code!
Profile
Posts: 27
Reg: Jul 01, 2013
Ohio
270
like
10/26/13 02:07 PM (9 years ago)
Ok thanks will let ya know if number increases :)
 

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.