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

2013-03-08 Thread Michael Stapelberg
Hi Mathieu,

Mathieu Malaterre ma...@debian.org writes:
 $ wget https://raw.github.com/thatcher/openseadragon/master/openseadragon.js
 $ yui-compressor -o test.js openseadragon.js
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?

-- 
Best regards,
Michael


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2013-03-08 Thread Mathieu Malaterre
Hi,

On Fri, Mar 8, 2013 at 3:58 PM, Michael Stapelberg
stapelb...@debian.org wrote:
 Hi Mathieu,

 Mathieu Malaterre ma...@debian.org writes:
 $ wget https://raw.github.com/thatcher/openseadragon/master/openseadragon.js
 $ yui-compressor -o test.js openseadragon.js
 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?

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.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2013-03-08 Thread Michael Stapelberg
Hi Mathieu,

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

-- 
Best regards,
Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2012-07-19 Thread Mathieu Malaterre
Package: yui-compressor
Version: 2.4.7-1
Severity: important


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 !


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages yui-compressor depends on:
ii  default-jre-headl 1:1.6-40   Standard Java or Java compatible R
ii  gcj-4.4-jre-headl 4.4.5-2Java runtime environment using GIJ
ii  gcj-jre-headless  4:4.4.5-1  Java runtime environment using GIJ
ii  java-wrappers 0.1.16 wrappers for java executables
ii  libjargs-java 1.0.0-2Command-line argument parsing for 
ii  openjdk-6-jre-hea 6b18-1.8.13-0+squeeze2 OpenJDK Java runtime, using Hotspo

yui-compressor recommends no packages.

yui-compressor suggests no packages.

-- no debconf information
Exception in thread main java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
Caused by: java.util.MissingResourceException: Can't find bundle for base name 
org.mozilla.javascript.resources.Messages, locale en_US
at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1539)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1278)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:805)
at 
org.mozilla.javascript.ScriptRuntime$DefaultMessageProvider.getMessage(ScriptRuntime.java:3608)
at 
org.mozilla.javascript.ScriptRuntime.getMessage(ScriptRuntime.java:3592)
at 
org.mozilla.javascript.ScriptRuntime.getMessage0(ScriptRuntime.java:3540)
at org.mozilla.javascript.Parser.addError(Parser.java:145)
at org.mozilla.javascript.Parser.reportError(Parser.java:160)
at org.mozilla.javascript.Parser.memberExprTail(Parser.java:2039)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:1977)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1832)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:1761)
at org.mozilla.javascript.Parser.addExpr(Parser.java:1742)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1722)
at org.mozilla.javascript.Parser.relExpr(Parser.java:1696)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:1652)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1641)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1630)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1619)
at org.mozilla.javascript.Parser.andExpr(Parser.java:1607)
at org.mozilla.javascript.Parser.orExpr(Parser.java:1595)
at org.mozilla.javascript.Parser.condExpr(Parser.java:1578)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:1563)
at org.mozilla.javascript.Parser.expr(Parser.java:1542)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1221)
at org.mozilla.javascript.Parser.statement(Parser.java:726)
at org.mozilla.javascript.Parser.parseFunctionBody(Parser.java:482)
at org.mozilla.javascript.Parser.function(Parser.java:611)
at org.mozilla.javascript.Parser.primaryExpr(Parser.java:2255)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:1974)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1832)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:1761)
at org.mozilla.javascript.Parser.addExpr(Parser.java:1742)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1722)
at org.mozilla.javascript.Parser.relExpr(Parser.java:1696)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:1652)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1641)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1630)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1619)
at org.mozilla.javascript.Parser.andExpr(Parser.java:1607)
at org.mozilla.javascript.Parser.orExpr(Parser.java:1595)
at org.mozilla.javascript.Parser.condExpr(Parser.java:1578)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:1563)
at org.mozilla.javascript.Parser.expr(Parser.java:1542)
at