Bug#838247: josm: Help->Help gives "an unexpected exception occurred"

Sebastiaan Couwenberg sebastic at xs4all.nl
Mon Sep 19 10:40:37 UTC 2016


Control: tags -1 confirmed

Hi Akkana,

Thanks for reporting this issue.

On 09/19/2016 02:52 AM, Akkana Peck wrote:
> First time I've run josm. I loaded a gpx trace from a local file,
> then couldn't figure out how to log in to OSM and edit the map to
> add my trace, so I tried Help->Help, and got a window saying:
> 
> An unexpected exception occurred.
> This is always a coding error. If you are running the latest version
> of JOSM, please being kind and file a bug report. See
> https://bugs.debuan.org for a guide how to do this.

I can reproduce the issue with the josm Debian package in unstable, but
not with the same josm-tested.jar from upstream, they seem to using
different code paths for the Help action as seem in the attached debug
output.

It seems that the GET request for the Help wiki page is never sent by
the Debian package.

I'll need more time to dig through the code to find the differences, and
if we cannot resolve this even with upstream assistance I'll disable the
Help option in the menu.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
-------------- next part --------------
Debian:

 Sep 19, 2016 11:56:59 AM org.openstreetmap.josm.Main debug
 FINE: dpkg-query --show --showformat ${Architecture}-${Version} openjdk-8-jre
 Sep 19, 2016 11:56:59 AM org.openstreetmap.josm.Main debug
 FINE: lsb_release -i -s
 Sep 19, 2016 11:56:59 AM org.openstreetmap.josm.Main debug
 FINE: dpkg-query --show --showformat ${Architecture}-${Version} libatk-wrapper-java
 Sep 19, 2016 11:56:59 AM org.openstreetmap.josm.Main debug
 FINE: Contacting Server...
 Sep 19, 2016 11:56:59 AM org.openstreetmap.josm.Main debug
 FINE: null
 Sep 19, 2016 11:57:00 AM org.openstreetmap.josm.Main info
 INFO: GET https://josm.openstreetmap.de/wiki/TestedVersion?format=txt -> 200
 Sep 19, 2016 11:57:00 AM org.openstreetmap.josm.Main debug
 FINE: RESPONSE: {Transfer-Encoding=[chunked], Keep-Alive=[timeout=5, max=100], null=[HTTP/1.1 200 Ok], Strict-Transport-Security=[max-age=16070400; includeSubDomains], Server=[Apache/2.4.18 (Ubuntu)], Content-Disposition=[attachment; filename=TestedVersion.txt], Connection=[Keep-Alive], Content-Encoding=[gzip], Vary=[Accept-Encoding], X-Clacks-Overhead=[GNU Terry Pratchett], Date=[Mon, 19 Sep 2016 09:56:59 GMT], Content-Type=[text/plain;charset=utf-8]}
 Sep 19, 2016 11:57:00 AM org.openstreetmap.josm.Main debug
 FINE: Downloading data...

Upstream:

 Sep 19, 2016 11:59:06 AM org.openstreetmap.josm.Main debug
 FINE: Contacting Server...
 Sep 19, 2016 11:59:06 AM org.openstreetmap.josm.Main debug
 FINE: null
 Sep 19, 2016 11:59:07 AM org.openstreetmap.josm.Main info
 INFO: GET https://josm.openstreetmap.de/wiki/Help -> 200
 Sep 19, 2016 11:59:07 AM org.openstreetmap.josm.Main debug
 FINE: RESPONSE: {Transfer-Encoding=[chunked], Keep-Alive=[timeout=5, max=100], null=[HTTP/1.1 200 Ok], Server=[Apache/2.4.18 (Ubuntu)], Connection=[Keep-Alive], Date=[Mon, 19 Sep 2016 09:59:07 GMT], Strict-Transport-Security=[max-age=16070400; includeSubDomains], Cache-Control=[must-revalidate], Content-Encoding=[gzip], Vary=[Accept-Encoding], Set-Cookie=[, ], Expires=[Fri, 01 Jan 1999 00:00:00 GMT], X-Clacks-Overhead=[GNU Terry Pratchett], Content-Type=[text/html;charset=utf-8]}
 Sep 19, 2016 11:59:07 AM org.openstreetmap.josm.Main debug
 FINE: Downloading data...



More information about the Pkg-grass-devel mailing list