New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash report 2.9.1: NPE in WPNetworkImageView.loadImageIfNecessary #1549

Closed
maxme opened this Issue Jun 27, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@maxme
Contributor

maxme commented Jun 27, 2014

java.lang.NullPointerException
       at com.android.volley.Request.<init>(Request.java:129)
       at com.android.volley.toolbox.ImageRequest.<init>(ImageRequest.java:71)
       at com.android.volley.toolbox.ImageLoader.get(ImageLoader.java:219)
       at org.wordpress.android.widgets.WPNetworkImageView.loadImageIfNecessary(WPNetworkImageView.java:188)
       at org.wordpress.android.widgets.WPNetworkImageView.onLayout(WPNetworkImageView.java:266)
       at android.view.View.layout(View.java:15745)
       at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
       at android.view.View.layout(View.java:15745)
       at android.view.ViewGroup.layout(ViewGroup.java:4867)
       at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
       at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
       at android.view.View.layout(View.java:15745)
       at android.view.ViewGroup.layout(ViewGroup.java:4867)
       at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
       at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
       at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
       at android.view.View.layout(View.java:15745)
       at android.view.ViewGroup.layout(ViewGroup.java:4867)
       at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
       at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
       at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
       at android.view.View.layout(View.java:15745)
       at android.view.ViewGroup.layout(ViewGroup.java:4867)
       at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
       at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
       at android.view.View.layout(View.java:15745)
       at android.view.ViewGroup.layout(ViewGroup.java:4867)
       at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2356)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2069)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6632)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:814)
       at android.view.Choreographer.doCallbacks(Choreographer.java:614)
       at android.view.Choreographer.doFrame(Choreographer.java:584)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:800)
       at android.os.Handler.handleCallback(Handler.java:733)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:146)
       at android.app.ActivityThread.main(ActivityThread.java:5487)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:515)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
       at dalvik.system.NativeStart.main(NativeStart.java)

@maxme maxme added this to the 3.0 milestone Jun 27, 2014

@maxme maxme added bug labels Jun 27, 2014

@maxme maxme modified the milestone: 3.0 Jun 27, 2014

@nbradbury nbradbury self-assigned this Jun 27, 2014

@nbradbury

This comment has been minimized.

Show comment
Hide comment
@nbradbury

nbradbury Jun 27, 2014

Contributor

Pretty sure this is caused by a bug in Volley that has been fixed in a version more recent than the one we're using - https://android.googlesource.com/platform/frameworks/volley/+/f7d19f946f83684a894a797ebb531d647b0730c3

Contributor

nbradbury commented Jun 27, 2014

Pretty sure this is caused by a bug in Volley that has been fixed in a version more recent than the one we're using - https://android.googlesource.com/platform/frameworks/volley/+/f7d19f946f83684a894a797ebb531d647b0730c3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment