Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1763] Android: error: "null" on "Large file download" test case

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2011-04-15T03:01:34.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, defect, xhr
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:01:34.000+0000
Updated2017-03-03T05:58:37.000+0000

Description

1.Platform>XHR>File Download
2.Tap "Large File Download"
error, console out put is:

HTTP Error (org.apache.http.client.ClientProtocolException): null
E/TiHttpClient( 4847): org.apache.http.client.ClientProtocolException
E/TiHttpClient( 4847): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:557)
E/TiHttpClient( 4847): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:653)
E/TiHttpClient( 4847): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
E/TiHttpClient( 4847): at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:834)
E/TiHttpClient( 4847): at java.lang.Thread.run(Thread.java:1096)
E/TiHttpClient( 4847): Caused by: org.apache.http.ProtocolException: Invalid redirect URI: http://cloud2.appcelerator.net/win32_win32/5d315db3a8bfdfe3b182c68d3824e72d/847855b7-e7da-4db3-8d65-51e1e4aab7ea/Titanium"> http://cloud2.appcelerator.net/win32_win32/5d315db3a8bfdfe3b182c68d... Developer.msi
E/TiHttpClient( 4847): at org.apache.http.impl.client.DefaultRedirectHandler.getLocationURI(DefaultRedirectHandler.java:116)
E/TiHttpClient( 4847): at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:892)
E/TiHttpClient( 4847): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:457)
E/TiHttpClient( 4847): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
E/TiHttpClient( 4847): ... 4 more
E/TiHttpClient( 4847): Caused by: java.net.URISyntaxException: Illegal character in path at index 121: http://cloud2.appcelerator.net/win32_win32/5d315db3a8bfdfe3b182c68d3824e72d/847855b7-e7da-4db3-8d65-51e1e4aab7ea/Titanium"> http://cloud2.appcelerator.net/win32_win32/5d315db3a8bfdfe3b182c68d... Developer.msi
E/TiHttpClient( 4847): at java.net.URI$Helper.validatePath(URI.java:448)
E/TiHttpClient( 4847): at java.net.URI$Helper.parseURI(URI.java:398)
E/TiHttpClient( 4847): at java.net.URI$Helper.access$100(URI.java:302)
E/TiHttpClient( 4847): at java.net.URI.(URI.java:87)
E/TiHttpClient( 4847): at org.apache.http.impl.client.DefaultRedirectHandler.getLocationURI(DefaultRedirectHandler.java:114)
E/TiHttpClient( 4847): ... 7 more
I/TiHttpClient( 4847): (TiHttpClient-11) [64,285095] Sending error null

Comments

  1. Don Thorp 2011-04-15

    Duplicate: See #1533

  2. Lee Morris 2017-03-03

    Closing issue due to time passed and irrelevance of the ticket.

JSON Source