Hi Everyone,

I'm a little confused about a stacktrace I'm getting intermittently in
LogCat:

ERROR/CommMgrService(854): java.lang.IllegalArgumentException: Argument
must not be null
ERROR/CommMgrService(854):     at
java.net.ProxySelectorImpl.select(ProxySelectorImpl.java:89)
ERROR/CommMgrService(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection
.connect(HttpURLConnection.java:754)
ERROR/CommMgrService(854):     at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection
.getInputStream(HttpURLConnection.java:1018)
ERROR/CommMgrService(854):     at
com.superpages.services.CommMgrService.run(CommMgrService.java:71)
ERROR/CommMgrService(854):     at java.lang.Thread.run(Thread.java:896)

The second line from the bottom is the only one from my own code, and
reads:

Xml.parse(new InputStreamReader(conn.getInputStream()),
op.getHandler());

Where Xml is one of the utility android classes for parsing,
InputStreamReader is the one from java.io, and op.getHandler() returns a
subclass of DefaultHandler. Conn is an HttpURLConnection, and looking at
the stacktrace I would assume that I'm using the one from apache, except
I'm not. My include explicitly says java.net.HttpURLConnection and there
is no mention of apache anywhere in that file. Furthermore, what
argument?

Any and all insights are appreciated.

Ahmad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to