If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

java.lang.NoSuchMethodError: at org.apache.http.impl.conn.ProxySelectorRoutePlanner.chooseProxy(ProxySelectorRoutePlanner.java)

NEW
Unassigned

Status

()

Firefox for Android
General
--
critical
5 years ago
2 years ago

People

(Reporter: Scoobidiver (away), Unassigned)

Tracking

({crash})

Trunk
ARM
Android
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [native-crash], crash signature)

(Reporter)

Description

5 years ago
There are two crashes including one in 19.0a1/20121015: bp-ac66b56e-2203-47b8-9a53-596762121016.

java.lang.NoSuchMethodError: 
	at org.apache.http.impl.conn.ProxySelectorRoutePlanner.chooseProxy(ProxySelectorRoutePlanner.java:266)
	at org.apache.http.impl.conn.ProxySelectorRoutePlanner.determineProxy(ProxySelectorRoutePlanner.java:205)
	at org.apache.http.impl.conn.ProxySelectorRoutePlanner.determineRoute(ProxySelectorRoutePlanner.java:150)
	at org.apache.http.impl.client.DefaultRequestDirector.determineRoute(DefaultRequestDirector.java:596)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:293)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
	at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:252)
	at org.mozilla.gecko.Favicons$LoadFaviconTask.downloadFavicon(Favicons.java:279)
	at org.mozilla.gecko.Favicons$LoadFaviconTask.doInBackground(Favicons.java:330)
	at org.mozilla.gecko.Favicons$LoadFaviconTask.doInBackground(Favicons.java:212)
	at android.os.AsyncTask$2.call(AsyncTask.java:287)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
	at java.util.concurrent.FutureTask.run(FutureTask.java:137)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
	at java.lang.Thread.run(Thread.java:856)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.NoSuchMethodError%3A+at+org.apache.http.impl.conn.ProxySelectorRoutePlanner.chooseProxy%28ProxySelectorRoutePlanner.java%29
This crash doesn't really make sense because ProxySelectorRoutePlanner.java:266 is not a method call:

https://hg.mozilla.org/releases/mozilla-release/annotate/4c20c43a09a0/mobile/android/base/httpclientandroidlib/impl/conn/ProxySelectorRoutePlanner.java#l266
(In reply to Chris Peterson (:cpeterson) from comment #1)
> This crash doesn't really make sense because
> ProxySelectorRoutePlanner.java:266 is not a method call:
> 
> https://hg.mozilla.org/releases/mozilla-release/annotate/4c20c43a09a0/mobile/
> android/base/httpclientandroidlib/impl/conn/ProxySelectorRoutePlanner.
> java#l266

You're looking at the wrong code; org.mozilla.gecko.Favicons does not use httpclientandroidlib, instead using the built-in Android version of org.apache.http (which is buggy and outdated).

The relevant code is:

http://jcs.mobile-utopia.com/jcs/10056_ProxySelectorRoutePlanner.java

or you can look in your local Android SDK.

Updated

2 years ago
Crash Signature: [@ java.lang.NoSuchMethodError: at org.apache.http.impl.conn.ProxySelectorRoutePlanner.chooseProxy(ProxySelectorRoutePlanner.java)] → [@ java.lang.NoSuchMethodError: at org.apache.http.impl.conn.ProxySelectorRoutePlanner.chooseProxy(ProxySelectorRoutePlanner.java)] [@ java.lang.NoSuchMethodError: at org.apache.http.impl.conn.ProxySelectorRoutePlanner.chooseProxy]
You need to log in before you can comment on or make changes to this bug.