Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681520

Summary: dev-util/yuicompressor - Exception in thread "main" java.lang.reflect.InvocationTargetException
Product: Gentoo Linux Reporter: Pavol Cupka <pavol.cupka>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Pavol Cupka 2019-03-23 11:47:27 UTC
Steps to reproduce:
1. wget https://github.com/kalisjoshua/lbox/raw/master/lbox.js
2. yuicompressor lbox.js

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
Caused by: java.lang.IllegalAccessError: tried to access class org.mozilla.javascript.IRFactory from class org.mozilla.javascript.Parser
        at org.mozilla.javascript.Parser.parse(Parser.java:347)
        at org.mozilla.javascript.Parser.parse(Parser.java:340)
        at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:315)
        at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:536)
        at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:147)
        ... 5 more
Comment 1 Pavol Cupka 2019-03-23 11:48:50 UTC
Created attachment 570368 [details]
emerge --info