Buggy code:
@ SuppressWarnings ( "PMD.TooManyMethods" ) public final class RequeueAfterRequestDecorator < T > extends Request < T > { private final Request < T > wrapped ; private final RequeuePolicy requeuePolicy ; private RequestQueue queue ; private RequeueAfterRequestDecorator ( @ NonNull final Request < T > request , @ NonNull final RequeuePolicy requeuePolicy ) { } public static < T > RequeueAfterRequestDecorator < T > wrap ( @ NonNull final Request < T > request , @ NonNull final RequeuePolicy requeuePolicy ) { } @ Override protected void deliverResponse ( final T arg0 ) { } @ Override protected Response < T > parseNetworkResponse ( final NetworkResponse networkResponse ) { } @ Nullable @ Override protected VolleyError parseNetworkError ( final VolleyError volleyError ) { final NetworkResponse response = volleyError . networkResponse ; if ( requeuePolicy . shouldRequeue ( response ) ) { try { wrapped . getRetryPolicy ( ) . retry ( new VolleyError ( "Retry<seq2seq4repair_space>strategy<seq2seq4repair_space>decided<seq2seq4repair_space>to<seq2seq4repair_space>retry." ) ) ; } catch ( final VolleyError e ) { return e ; } requeuePolicy . executeBeforeRequeueing ( new com . android . volley . Response . Listener < Object > ( ) { @ Override public void onResponse ( final Object arg0 ) { queue . add ( RequeueAfterRequestDecorator . this ) ; } } , new ErrorListener ( ) { @ Override public void onErrorResponse ( final VolleyError error ) { Log . e ( TAG , "Failed<seq2seq4repair_space>to<seq2seq4repair_space>retry" , error . getCause ( ) ) ; } } ) ; return null ; } <START_BUG> return super . parseNetworkError ( volleyError ) ; <END_BUG> } @ Override public void addMarker ( final String tag ) { } @ Override public void cancel ( ) { } @ Override public void deliverError ( final VolleyError error ) { } @ Override public byte [ ] getBody ( ) throws AuthFailureError { } @ Override public String getBodyContentType ( ) { } @ Override public Entry getCacheEntry ( ) { } @ Override public String getCacheKey ( ) { } @ Override public Map < String , String > getHeaders ( ) throws AuthFailureError { } @ Override public int getMethod ( ) { } @ Deprecated @ Override public byte [ ] getPostBody ( ) throws AuthFailureError { } @ Deprecated @ Override public String getPostBodyContentType ( ) { } @ Override public Priority getPriority ( ) { } @ Override public RetryPolicy getRetryPolicy ( ) { } @ Override public Object getTag ( ) { } @ Override public int getTrafficStatsTag ( ) { } @ Override public String getUrl ( ) { } @ Override public boolean hasHadResponseDelivered ( ) { } @ Override public boolean isCanceled ( ) { } @ Override public void markDelivered ( ) { } @ Override public Request < ? > setCacheEntry ( final Entry entry ) { } @ Override public Request < ? > setRequestQueue ( final RequestQueue requestQueue ) { } @ SuppressFBWarnings ( value = "UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR" , justification = "The<seq2seq4repair_space>read<seq2seq4repair_space>is<seq2seq4repair_space>done<seq2seq4repair_space>to<seq2seq4repair_space>avoid<seq2seq4repair_space>a<seq2seq4repair_space>NPE,<seq2seq4repair_space>and<seq2seq4repair_space>is<seq2seq4repair_space>properly<seq2seq4repair_space>documented." ) @ Override public Request < ? > setRetryPolicy ( final RetryPolicy retryPolicy ) { } @ Override public Request < ? > setTag ( final Object tag ) { } }

Fix:
return wrapped . parseNetworkError ( volleyError ) ;