{"action":"created","issue":{"url":"https://api.github.com/repos/google/closure-compiler/issues/1077","labels_url":"https://api.github.com/repos/google/closure-compiler/issues/1077/labels{/name}","comments_url":"https://api.github.com/repos/google/closure-compiler/issues/1077/comments","events_url":"https://api.github.com/repos/google/closure-compiler/issues/1077/events","html_url":"https://github.com/google/closure-compiler/issues/1077","id":100812025,"number":1077,"title":"Some errors on my 'ugly' project","user":{"login":"schmitch","id":1641401,"avatar_url":"https://avatars.githubusercontent.com/u/1641401?v=3","gravatar_id":"","url":"https://api.github.com/users/schmitch","html_url":"https://github.com/schmitch","followers_url":"https://api.github.com/users/schmitch/followers","following_url":"https://api.github.com/users/schmitch/following{/other_user}","gists_url":"https://api.github.com/users/schmitch/gists{/gist_id}","starred_url":"https://api.github.com/users/schmitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmitch/subscriptions","organizations_url":"https://api.github.com/users/schmitch/orgs","repos_url":"https://api.github.com/users/schmitch/repos","events_url":"https://api.github.com/users/schmitch/events{/privacy}","received_events_url":"https://api.github.com/users/schmitch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/closure-compiler/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/google/closure-compiler/labels/ES6","name":"ES6","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"MatrixFrog","id":244381,"avatar_url":"https://avatars.githubusercontent.com/u/244381?v=3","gravatar_id":"","url":"https://api.github.com/users/MatrixFrog","html_url":"https://github.com/MatrixFrog","followers_url":"https://api.github.com/users/MatrixFrog/followers","following_url":"https://api.github.com/users/MatrixFrog/following{/other_user}","gists_url":"https://api.github.com/users/MatrixFrog/gists{/gist_id}","starred_url":"https://api.github.com/users/MatrixFrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatrixFrog/subscriptions","organizations_url":"https://api.github.com/users/MatrixFrog/orgs","repos_url":"https://api.github.com/users/MatrixFrog/repos","events_url":"https://api.github.com/users/MatrixFrog/events{/privacy}","received_events_url":"https://api.github.com/users/MatrixFrog/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-13T16:20:57Z","updated_at":"2015-08-13T16:45:24Z","closed_at":null,"body":"Hello, I run a project which is quite large (and ugly) and got the following error while running the closure-compiler:\r\n\r\n```\r\njava.lang.RuntimeException: INTERNAL COMPILER ERROR.\r\nPlease report this problem.\r\n\r\nINTERNAL COMPILER ERROR.\r\nPlease report this problem.\r\n\r\nInvalid attempt to remove node: NAME workflowFactory 129 [originalname: workflowFactory] [source_file: src/app/workflow-create-route/workflow-create-route.es6.js] of IMPORT 129 [source_file: src/app/workflow-create-route/workflow-create-route.es6.js]\r\n  Node(NAME workflowFactory): src/app/workflow-create-route/workflow-create-route.es6.js:129:7\r\nimport workflowFactory from '../workflow-factory/workflow-factory.es6.js'\r\n  Parent(IMPORT): src/app/workflow-create-route/workflow-create-route.es6.js:129:0\r\nimport workflowFactory from '../workflow-factory/workflow-factory.es6.js'\r\n\r\n\tat com.google.javascript.jscomp.NodeUtil.removeChild(NodeUtil.java:2220)\r\n\tat com.google.javascript.jscomp.UnreachableCodeElimination$EliminationPass.removeNode(UnreachableCodeElimination.java:261)\r\n\tat com.google.javascript.jscomp.UnreachableCodeElimination$EliminationPass.removeDeadExprStatementSafely(UnreachableCodeElimination.java:251)\r\n\tat com.google.javascript.jscomp.UnreachableCodeElimination$EliminationPass.visit(UnreachableCodeElimination.java:104)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:577)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:571)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:571)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:571)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:528)\r\n\tat com.google.javascript.jscomp.UnreachableCodeElimination$1.visit(UnreachableCodeElimination.java:81)\r\n\tat com.google.javascript.jscomp.NodeTraversal$1.shouldTraverse(NodeTraversal.java:515)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:558)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289)\r\n\tat com.google.javascript.jscomp.NodeTraversal.traverseChangedFunctions(NodeTraversal.java:520)\r\n\tat com.google.javascript.jscomp.UnreachableCodeElimination.process(UnreachableCodeElimination.java:66)\r\n\tat com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285)\r\n\tat com.google.javascript.jscomp.PhaseOptimizer$Loop.process(PhaseOptimizer.java:458)\r\n\tat com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217)\r\n\tat com.google.javascript.jscomp.Compiler.optimize(Compiler.java:1979)\r\n\tat com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:765)\r\n\tat com.google.javascript.jscomp.Compiler.access$000(Compiler.java:94)\r\n\tat com.google.javascript.jscomp.Compiler$3.call(Compiler.java:657)\r\n\tat com.google.javascript.jscomp.Compiler$3.call(Compiler.java:654)\r\n\tat com.google.javascript.jscomp.Compiler$4.call(Compiler.java:701)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.RuntimeException: INTERNAL COMPILER ERROR.\r\nPlease report this problem.\r\n\r\nInvalid attempt to remove node: NAME workflowFactory 129 [originalname: workflowFactory] [source_file: src/app/workflow-create-route/workflow-create-route.es6.js] of IMPORT 129 [source_file: src/app/workflow-create-route/workflow-create-route.es6.js]\r\n  Node(NAME workflowFactory): src/app/workflow-create-route/workflow-create-route.es6.js:129:7\r\nimport workflowFactory from '../workflow-factory/workflow-factory.es6.js'\r\n  Parent(IMPORT): src/app/workflow-create-route/workflow-create-route.es6.js:129:0\r\nimport workflowFactory from '../workflow-factory/workflow-factory.es6.js'\r\n\r\n\t... 29 more\r\nCaused by: java.lang.IllegalStateException: Invalid attempt to remove node: NAME workflowFactory 129 [originalname: workflowFactory] [source_file: src/app/workflow-create-route/workflow-create-route.es6.js] of IMPORT 129 [source_file: src/app/w\r\n```"},"comment":{"url":"https://api.github.com/repos/google/closure-compiler/issues/comments/130754739","html_url":"https://github.com/google/closure-compiler/issues/1077#issuecomment-130754739","issue_url":"https://api.github.com/repos/google/closure-compiler/issues/1077","id":130754739,"user":{"login":"MatrixFrog","id":244381,"avatar_url":"https://avatars.githubusercontent.com/u/244381?v=3","gravatar_id":"","url":"https://api.github.com/users/MatrixFrog","html_url":"https://github.com/MatrixFrog","followers_url":"https://api.github.com/users/MatrixFrog/followers","following_url":"https://api.github.com/users/MatrixFrog/following{/other_user}","gists_url":"https://api.github.com/users/MatrixFrog/gists{/gist_id}","starred_url":"https://api.github.com/users/MatrixFrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatrixFrog/subscriptions","organizations_url":"https://api.github.com/users/MatrixFrog/orgs","repos_url":"https://api.github.com/users/MatrixFrog/repos","events_url":"https://api.github.com/users/MatrixFrog/events{/privacy}","received_events_url":"https://api.github.com/users/MatrixFrog/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T16:45:24Z","updated_at":"2015-08-13T16:45:24Z","body":"I don't know but I think we've seen similar reports before so I'll try to at least dig those up and link to them here before closing this."}}