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

Sebastiaan Couwenberg sebastic at xs4all.nl
Mon Sep 19 14:45:07 UTC 2016


Control: tags -1 pending

On 09/19/2016 03:41 PM, Sebastiaan Couwenberg wrote:
> Based on the stacktrace in the debug information, it seems that the
> exception is caused by the help-browser.css not being included as a
> resource in the jar for the Debian package.
> 
> The stacktrace includes:
> 
> org.openstreetmap.josm.gui.help.HelpBrowser.buildStyleSheet(HelpBrowser.java:144)
> 
> And HelpBrowser.java line 144 does:
> 
>  getClass().getResourceAsStream("/data/help-browser.css"),
>   StandardCharsets.UTF_8
> 
> We'll need to patch this to use the file under /usr/share/josm.

I've updated 06-move_data_out_of_jar.patch to use the CacheFile class
for "/data/help-browser.css" which the Debian package patches to use the
files from /usr/share/josm instead of the resources embedded in the jar.

This fixes the exception caused by the Help action. A new upload to
unstable will follow shortly.

Kind Regards,

Bas

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



More information about the Pkg-grass-devel mailing list