#682069 yui-compressor: Can't find bundle for base name org.mozilla.javascript.resources.Messages, locale en_US

#682069#5
Date:
2012-07-19 09:14:53 UTC
From:
To:
Steps:

$ wget https://raw.github.com/thatcher/openseadragon/master/openseadragon.js
$ yui-compressor -o test.js openseadragon.js

See attached error.log file.

Thanks much !

#682069#10
Date:
2013-03-08 14:58:16 UTC
From:
To:
Hi Mathieu,

Mathieu Malaterre <malat@debian.org> writes:
I am not sure why yui-compressor in Debian does not print out useful
error messages. Anyway, the javascript file you refer to is invalid, as
you can see when you try to compress it via this online tool (also using
yui-compressor, but with proper error reporting):

http://refresh-sf.com/yui/

I suppose this bug should be retitled “yui-compressor’s error reporting
does not work in Debian”. Do you agree?

#682069#15
Date:
2013-03-08 15:05:30 UTC
From:
To:
Hi,

yui-compressor could definitely prints out some message whether or not
the js is valid or not. But fundamentally it should not throw an error
like this, at least it should catch it's own exception.
gcc catch it's own ICE and report them nicely.

#682069#20
Date:
2013-03-08 15:28:35 UTC
From:
To:
Hi Mathieu,

Mathieu Malaterre <malat@debian.org> writes:
I absolutely agree. It seems that yui-compressor _tries_ to print out an
error message and crashes while doing that.

#682069#25
Date:
2014-08-11 09:18:31 UTC
From:
To:
The latest version of yui-compressor does not have this problem. It is
easy enough to install manually from
https://github.com/yui/yuicompressor/releases

cd /tmp/
wget
https://github.com/yui/yuicompressor/releases/download/v2.4.8/yuicompressor-2.4.8.jar
sudo mv yuicompressor-2.4.8.jar /usr/share/yui-compressor/yui-compressor.jar

Perhaps the debian package maintainer could install version 2.4.8
instead of whatever version currently gets installed.