{"issue":{"state":"closed","created_at":"2011-11-29T09:29:14Z","updated_at":"2011-12-02T11:39:13Z","comments":2,"user":{"gravatar_id":"d1c5d5f3f244fe58e08011d334d4fd7a","id":1227612,"url":"https://api.github.com/users/Cactusbone","avatar_url":"https://secure.gravatar.com/avatar/d1c5d5f3f244fe58e08011d334d4fd7a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"Cactusbone"},"body":"when minifying soundmanager2-nodebug.js using r.js 1.0.2 i get\r\n\r\n    js: \"build/r.js\", line 7656: exception from uncaught JavaScript throw: Error: Error evaluating module \"undefined\" at location \"undefined\":\r\n    JavaException: java.lang.RuntimeException: java.lang.RuntimeException: INTERNAL COMPILER ERROR.\r\n    Please report this problem.\r\n    index (1) must be less than size (1)\r\n      Node(BLOCK): D:/Prod/trunk/src/web/static_websites/uranus/src/main/www/scripts/../../../../out/main/www/scripts/libs/soundmanager2-nodebug.js:19:35\r\n    function SoundManager(smURL, smID) {\r\n      Parent(FUNCTION SoundManager): D:/Prod/trunk/src/web/static_websites/uranus/src/main/www/scripts/../../../../out/main/www/scripts/libs/soundmanager2-nodebug.js:19:9\r\n    function SoundManager(smURL, smID) {\r\n    \r\n    fileName:undefined\r\n    lineNumber: undefined\r\n\r\n\r\nsoundmanager2-nodebug.js is available from\r\nhttp://www.schillmania.com/projects/soundmanager2/\r\nerror is on version V2.97a.20111030","assignee":null,"id":2381822,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":46,"title":"compiler error when minifying soundmanager2-nodebug.js","closed_at":"2011-12-02T07:08:52Z","html_url":"https://github.com/jrburke/r.js/issues/46","url":"https://api.github.com/repos/jrburke/r.js/issues/46","milestone":null},"action":"created","comment":{"created_at":"2011-12-02T11:39:13Z","updated_at":"2011-12-02T11:39:13Z","user":{"gravatar_id":"d1c5d5f3f244fe58e08011d334d4fd7a","id":1227612,"url":"https://api.github.com/users/Cactusbone","avatar_url":"https://secure.gravatar.com/avatar/d1c5d5f3f244fe58e08011d334d4fd7a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"Cactusbone"},"body":"i knew i was forgetting something:\r\nso i'm using \r\n\r\n    optimize: \"closure\",\r\n    closure: {\r\n        CompilerOptions: {},\r\n        CompilationLevel: 'SIMPLE_OPTIMIZATIONS',\r\n        loggingLevel: 'WARNING'\r\n    },\r\n\r\nwith java 1.6u22 and rhino\r\n\r\nand i reproduce the problem with r-edge.js\r\n\r\ni changed to uglify (still using rhino) to try your fix, but i get a StackOverflowError still on the same file\r\n\r\n\tjava.lang.StackOverflowError\r\n\tat org.mozilla.javascript.ScriptRuntime.toStringIdOrIndex(ScriptRuntime.java:1332)\r\n\tat org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1385)\r\n\tat org.mozilla.javascript.ScriptRuntime.getObjectElem(ScriptRuntime.java:1372)\r\n\tat org.mozilla.javascript.gen.c1._c291(Unknown Source)\r\n\r\nsimply by using\r\n\r\n      optimize: \"uglify\",\r\n\r\ni'll try minifying it alone to see if it's not related to another lib i'm minifying.","id":2989073,"url":"https://api.github.com/repos/jrburke/r.js/issues/comments/2989073"}}