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

Appcelerator JIRA | Visalakshi Chidambaram | 2 years ago
  1. 0

    This is not a regression as it can be reproduced with titanium sdk 3.4.1 When an android pushnotification app is run with live view, errors indicating that cloudpush module information cannot be found are thrown on the console when the app tries to re-launch with the changes made.However, when the app is run again on the device, it installs and launches successfully with the new changes made. Steps to reproduce: 1. Run the attached app.js (include cloudpush module in tiapp.xml)with Liveview enabled on to a device 2. Make changes in app.js eg: remove one of the commented lines on line 49 or 54 and save 3. Run the app again by clicking 'Run As' and select the device again Actual results: 1. App is launched on device with a button "Register for push notification" o`n the center. 2. the following error is produced in the console and device displays the splashscreen {code} [ERROR] : Error: APSCloudPush has not been enabled. Call APSCloud.enable(context, key) to enable. [ERROR] : File: app.js [ERROR] : Line: undefined [ERROR] : SourceId: undefined [ERROR] : Backtrace: [ERROR] : undefined [ERROR] : TiHttpClient: (TiHttpClient-7) [5,125] 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:275) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:219) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:669) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:649) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1334) [ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:841) {code} 3. The app launches successfully. Expected Results: 2. The app should be re-launched with the new changes.

    Appcelerator JIRA | 2 years ago | Visalakshi Chidambaram
    org.apache.http.client.HttpResponseException: Not Found
  2. 0

    This is not a regression as it can be reproduced with titanium sdk 3.4.1 When an android pushnotification app is run with live view, errors indicating that cloudpush module information cannot be found are thrown on the console when the app tries to re-launch with the changes made.However, when the app is run again on the device, it installs and launches successfully with the new changes made. Steps to reproduce: 1. Run the attached app.js (include cloudpush module in tiapp.xml)with Liveview enabled on to a device 2. Make changes in app.js eg: remove one of the commented lines on line 49 or 54 and save 3. Run the app again by clicking 'Run As' and select the device again Actual results: 1. App is launched on device with a button "Register for push notification" o`n the center. 2. the following error is produced in the console and device displays the splashscreen {code} [ERROR] : Error: APSCloudPush has not been enabled. Call APSCloud.enable(context, key) to enable. [ERROR] : File: app.js [ERROR] : Line: undefined [ERROR] : SourceId: undefined [ERROR] : Backtrace: [ERROR] : undefined [ERROR] : TiHttpClient: (TiHttpClient-7) [5,125] 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:275) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:219) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:669) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:649) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1334) [ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:841) {code} 3. The app launches successfully. Expected Results: 2. The app should be re-launched with the new changes.

    Appcelerator JIRA | 2 years ago | Visalakshi Chidambaram
    org.apache.http.client.HttpResponseException: Not Found
  3. 0

    Parse.com error callback not being called

    Stack Overflow | 2 years ago | paul h
    org.apache.http.client.HttpResponseException: Not Found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Titanium : TiHttpClient error on host connecting

    Stack Overflow | 3 years ago | Rikki Tikki Tavi
    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:275)
    2. ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:219)
    2 frames
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:669)
    2. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:649)
    2 frames
  4. ti.modules.titanium
    TiHTTPClient$ClientRunnable.run
    1. ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1334)
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:841)
    1 frame