Custom TwitterApiClient always throws

fabric
twitterkit

#1

TwitterSession session = TwitterCore.getInstance().getSessionManager().getSession(Prefs.getUserId(this));
TwitterListDetailsClient twitterListApiClient = new TwitterListDetailsClient(session);
twitterListApiClient.getListDetails().create(favModel.getTwitterListId(), favModel.getSlug(),favModel.getOwnerScreenName(), -1).enqueue(new Callback() {
@Override
public void onResponse(Call call, Response response) {
Functions.showLog(“dinesh”);
}

            @Override
            public void onFailure(Call<ListDetailsPojo> call, Throwable t) {

            }
        }); 

@GET("/1.1/lists/members.json?")
Call create(@Query(“list_id”) Long listId,
@Query(“slug”) String slug,
@Query(“owner_screen_name”) String owner_screen_name,
@Query(“cursor”) Integer cursor);

error I always get is

FATAL EXCEPTION: OkHttp Dispatcher
Process: com.projecth.com, PID: 5353
java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
at io.fabric.sdk.android.services.network.UrlUtils.getQueryParams(UrlUtils.java:53)
at io.fabric.sdk.android.services.network.UrlUtils.getQueryParams(UrlUtils.java:36)
at com.twitter.sdk.android.core.internal.oauth.OAuth1aParameters.constructSignatureBase(OAuth1aParameters.java:89)
at com.twitter.sdk.android.core.internal.oauth.OAuth1aParameters.getAuthorizationHeader(OAuth1aParameters.java:72)
at com.twitter.sdk.android.core.internal.oauth.OAuth1aHeaders.getAuthorizationHeader(OAuth1aHeaders.java:45)
at com.twitter.sdk.android.core.internal.network.OAuth1aInterceptor.getAuthorizationHeader(OAuth1aInterceptor.java:80)
at com.twitter.sdk.android.core.internal.network.OAuth1aInterceptor.intercept(OAuth1aInterceptor.java:59)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:129)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)


#2

is someone there to help me out with this issue