Discussion Forums  >  Self Hosted Control Panels

Replies: 6    Views: 77

WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
11/15/12 05:10 AM (13 years ago)

Android - reported errors from published app

Have a bunch of the same errors reported from a published app. Stack trace: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.northcarolinaems/com.northcarolinaems.BT_screen_htmlDoc}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2049) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2083) at android.app.ActivityThread.access$600(ActivityThread.java:134) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1233) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4697) 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:790) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.northcarolinaems.BT_viewUtilities.updateBackgroundColorsForScreen(BT_viewUtilities.java:35) at com.northcarolinaems.BT_screen_htmlDoc.onCreate(BT_screen_htmlDoc.java:89) at android.app.Activity.performCreate(Activity.java:4539) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2013) Anyone know what this might be caused by? Tim
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
11/15/12 05:26 AM (13 years ago)
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
11/15/12 06:00 AM (13 years ago)
Ok, so another equally stupid question; looks like this is the fix for my problem so do I just need to redownload the package or update something on my server or just copy the two files over to eclipse or.... Tim
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
11/15/12 06:48 AM (13 years ago)
Think I answered my own question by re-downloading the source code and comparing the published java files vs. the fresh ones. Looks like the changes came down in the new source files. Thanks raveyd and David!
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/15/12 06:54 AM (13 years ago)
Hi @WolfTim3, I never had this happen so excuse my ignorance, but how do you get errors from a published app? LA
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
11/15/12 06:57 AM (13 years ago)
LA. In your Google Play developer's console; where each app is listed there is a hyperlinked error count. Follow that link and it will drill down a couple times giving you more and more detail about the errors, if any, that have been reported.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
11/15/12 07:00 AM (13 years ago)
Ok I understand now, thank you @WolfTim3. LA
 

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.