keyanmca / npr-android-app

npr-android-app
0 stars 0 forks source link

Crash on load #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Stack trace from the Android Market: 

java.lang.RuntimeException: Unable to start activity 
ComponentInfo{org.npr.android.news/org.npr.android.news.NewsListActivity}: 
android.view.InflateException: Binary XML file line #3: Error inflating class 
org.npr.android.news.BannerView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #3: Error 
inflating class org.npr.android.news.BannerView
at android.view.LayoutInflater.createView(LayoutInflater.java:518)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
at android.view.LayoutInflater.inflate(LayoutInflater.java:386)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
at android.view.View.inflate(View.java:8807)
at org.npr.android.news.NewsListActivity.onCreate(NewsListActivity.java:184)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
at android.view.LayoutInflater.createView(LayoutInflater.java:505)
... 19 more
Caused by: java.lang.NullPointerException
at org.npr.android.news.BannerView.init(BannerView.java:182)
at org.npr.android.news.BannerView.<init>(BannerView.java:150)
... 22 more

Original issue reported on code.google.com by jpenn...@gmail.com on 21 Nov 2011 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by justinfr...@gmail.com on 5 Dec 2011 at 5:14

GoogleCodeExporter commented 9 years ago
This FC was due to a bug when the app had no connectivity and tried to load the 
banner timeout period.

Original comment by justinfr...@gmail.com on 21 Dec 2011 at 4:08

GoogleCodeExporter commented 9 years ago
Can't replicate now. So, thinking the bug is squashed!

Original comment by jpenn...@gmail.com on 21 Dec 2011 at 7:48