Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (suds)
Viewing all articles
Browse latest Browse all 20

Suds.js NullPointerException won't let app start.

$
0
0

This bug is on Android. On iPhone the app runs perfectly fine.

The suds.js file is just like the one in KitchenSink. Copy/Pasted.

When I run the app, I get this on the splash screen:

Wrapped java.lang.NullPointerException: uriString 
(file:///android_asset/Resources/suds.js#161)
It's the last block in the suds.js file:
#161    xhr.open('POST',config.endpoint, false);
#162    xhr.setRequestHeader('Content-Type', 'text/xml');
#163    xhr.setRequestHeader('SOAPAction', soapAction);
#164    xhr.send(config.envelopeBegin+body+config.envelopeEnd);
Any ideas?

Whole file is here: http://pastie.org/1671722


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>