Jump to content
Welcome to our new Citrix community!
  • 0

Android app wrapped with MDX crashes when performing network request


I am an external consultant developing an app for a customer that wants the app wrapped with MDX, they do their own wrapping. All I do is provide them with the .apk file.

The problem they are seeing is that the application crashes when performing a networking request.

See attached stacktrace of where the crash occurs.

	at android.os.AsyncTask$3.done(AsyncTask.java:354)
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
	at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
	at java.util.concurrent.FutureTask.run(FutureTask.java:271)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.contains(java.lang.CharSequence)' on a null object reference
	at com.citrix.mdx.networking.p.a(:67)
	at com.citrix.mdx.networking.p.d(:12)
	at com.citrix.mdx.networking.m.invoke(:26)
	at com.citrix.mdx.hooks.j.f(:1)
	at citrix.org.apache.http.impl.client.AbstractHttpClient.execute_aroundBody1$advice(:2)
	at citrix.org.apache.http.impl.client.AbstractHttpClient.execute(:6)

I have no clue on how to debug this since com.citrix.mdx.networking is a private framework not exposing any code.

Is anyone able to point me in the right direction on how to solve this exception?

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...