org.apache.http.client.HttpResponseException: Not Found

Appcelerator JIRA | Federico Casali | 3 years ago
  1. 0

    Titanium : TiHttpClient error on host connecting

    Stack Overflow | 3 years ago | Rikki Tikki Tavi
    org.apache.http.client.HttpResponseException: Not Found
  2. 0

    h5. Problem description If enabling LiveView, the Alloy runtime tests implemented for most of the samples available (https://github.com/appcelerator/alloy/tree/master/test/apps) are not being triggered correctly and in most cases nothing is displayed when the app is started. In the case of Alloy advanced themes sample https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/themes an Application Error is also displayed when the runtime specs are required if the user click on a button. See screenshot and error log. h6. iOS log {code} [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. [ERROR] : Script Error { [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. [ERROR] : backtrace = "#0 () at file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js:638\n#1 () at file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js:502\n#2 () at :93\n#3 testPatience() at :6"; [ERROR] : line = 608; [ERROR] : message = "'undefined' is not a function (evaluating '_src.replace(/\\/\\/(.*)$/gm, '')')"; [ERROR] : name = TypeError; [ERROR] : sourceId = 309385824; [ERROR] : sourceURL = "file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js"; [ERROR] : } [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. {code} h6. Android log {code} [ERROR] : TiExceptionHandler: (main) [3430,3430] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [0,3430] - In app.js:608,16 [ERROR] : TiExceptionHandler: (main) [2,3432] - Message: Uncaught TypeError: Object false has no method 'replace' [ERROR] : TiExceptionHandler: (main) [0,3432] - Source: _src.replace(/\/\/(.*)$/gm, '').replace(/\n/g, '') + [WARN] : IdleConnectionHandler: Removing a connection that never existed! [ERROR] : TiHttpClient: (TiHttpClient-12) [2,3434] HTTP Error (org.apache.http.client.HttpResponseException): Not Found [ERROR] : TiHttpClient: org.apache.http.client.HttpResponseException: Not Found [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:258) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:217) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1287) [ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:841) [ERROR] : V8Exception: Exception occurred at app.js:608: Uncaught TypeError: Object false has no method 'replace' {code}

    Appcelerator JIRA | 3 years ago | Federico Casali
    org.apache.http.client.HttpResponseException: Not Found
  3. 0

    h5. Problem description If enabling LiveView, the Alloy runtime tests implemented for most of the samples available (https://github.com/appcelerator/alloy/tree/master/test/apps) are not being triggered correctly and in most cases nothing is displayed when the app is started. In the case of Alloy advanced themes sample https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/themes an Application Error is also displayed when the runtime specs are required if the user click on a button. See screenshot and error log. h6. iOS log {code} [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. [ERROR] : Script Error { [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. [ERROR] : backtrace = "#0 () at file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js:638\n#1 () at file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js:502\n#2 () at :93\n#3 testPatience() at :6"; [ERROR] : line = 608; [ERROR] : message = "'undefined' is not a function (evaluating '_src.replace(/\\/\\/(.*)$/gm, '')')"; [ERROR] : name = TypeError; [ERROR] : sourceId = 309385824; [ERROR] : sourceURL = "file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js"; [ERROR] : } [WARN] : New layout set while view [object progressFront] animating: Will relayout after animation. {code} h6. Android log {code} [ERROR] : TiExceptionHandler: (main) [3430,3430] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler: (main) [0,3430] - In app.js:608,16 [ERROR] : TiExceptionHandler: (main) [2,3432] - Message: Uncaught TypeError: Object false has no method 'replace' [ERROR] : TiExceptionHandler: (main) [0,3432] - Source: _src.replace(/\/\/(.*)$/gm, '').replace(/\n/g, '') + [WARN] : IdleConnectionHandler: Removing a connection that never existed! [ERROR] : TiHttpClient: (TiHttpClient-12) [2,3434] HTTP Error (org.apache.http.client.HttpResponseException): Not Found [ERROR] : TiHttpClient: org.apache.http.client.HttpResponseException: Not Found [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:258) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:217) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1287) [ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:841) [ERROR] : V8Exception: Exception occurred at app.js:608: Uncaught TypeError: Object false has no method 'replace' {code}

    Appcelerator JIRA | 3 years ago | Federico Casali
    org.apache.http.client.HttpResponseException: Not Found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Parse.com error callback not being called

    Stack Overflow | 2 years ago | paul h
    org.apache.http.client.HttpResponseException: Not Found
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.http.client.HttpResponseException

    Not Found

    at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse()
  2. ti.modules.titanium
    TiHTTPClient$LocalResponseHandler.handleResponse
    1. ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:258)
    2. ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:217)
    2 frames
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)
    2. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)
    2 frames
  4. ti.modules.titanium
    TiHTTPClient$ClientRunnable.run
    1. ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1287)
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:841)
    1 frame