Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

INTERNAL COMPILER ERROR #17

Open
rainder opened this issue Sep 6, 2014 · 1 comment
Open

INTERNAL COMPILER ERROR #17

rainder opened this issue Sep 6, 2014 · 1 comment

Comments

@rainder
Copy link

rainder commented Sep 6, 2014

"Please report this problem". That's what i'm doin. Not sure if its the right place to report though.

$ ccjs bin/api lib/api-server.js --language_in=ECMASCRIPT6 > bin/test.js
lib/api-server.js:28: WARNING - unreachable code
const compressOptions = {
      ^

lib/api-server.js:40: WARNING - unreachable code
const uploadManagerOptions = {
      ^

lib/api-server.js:48: WARNING - unreachable code
const mongoOptions = {
      ^

lib/api-server.js:56: WARNING - unreachable code
const authorizationOptions = {
      ^

lib/api-server.js:64: WARNING - unreachable code
const validatorOptions = {
      ^

0 error(s), 5 warning(s)
java.lang.RuntimeException: INTERNAL COMPILER ERROR.
Please report this problem.
null
  Node(EXPR_RESULT): bin/api:31:4
    console.log('worker ' + worker.process.pid + ' died');
  Parent(BLOCK): bin/api:30:52
  cluster.on('exit', function(worker, code, signal) {

    at com.google.javascript.jscomp.OptimizeArgumentsArray.tryReplaceArguments(OptimizeArgumentsArray.java:181)
    at com.google.javascript.jscomp.OptimizeArgumentsArray.exitScope(OptimizeArgumentsArray.java:126)
    at com.google.javascript.jscomp.NodeTraversal.popScope(NodeTraversal.java:685)
    at com.google.javascript.jscomp.NodeTraversal.popScope(NodeTraversal.java:676)
    at com.google.javascript.jscomp.NodeTraversal.traverseBlockScope(NodeTraversal.java:629)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:572)
    at com.google.javascript.jscomp.NodeTraversal.traverseFunction(NodeTraversal.java:618)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:569)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:578)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:578)
    at com.google.javascript.jscomp.NodeTraversal.traverseBlockScope(NodeTraversal.java:627)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:572)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:578)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:578)
    at com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:578)
    at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:289)
    at com.google.javascript.jscomp.NodeTraversal.traverse(NodeTraversal.java:535)
    at com.google.javascript.jscomp.OptimizeArgumentsArray.process(OptimizeArgumentsArray.java:91)
    at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:285)
    at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:217)
    at com.google.javascript.jscomp.Compiler.optimize(Compiler.java:1961)
    at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:752)
    at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:92)
    at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:638)
    at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:635)
    at com.google.javascript.jscomp.Compiler$4.call(Compiler.java:682)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
    ... 31 more
@dcodeIO
Copy link
Owner

dcodeIO commented Sep 6, 2014

This seems to be an issue with Closure Compiler itself. The right place to report it is https://github.com/google/closure-compiler

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants