brentonashworth/one — Issue #120: Internal compiler error
Author: dnaumov
Created: 2012-02-29 15:46:37+00:00
State: open

I've got `Exception: java.lang.RuntimeException: INTERNAL COMPILER ERROR.` after moving to production view of clojurescriptone.

Also I've got

NumberFormatException Invalid number: 00003c clojure.lang.LispReader.readNumber (LispReader.java:253)

and

CompilerException java.lang.RuntimeException: Unable to resolve symbol: swank:connection-info in this context

just after launching `lein repl` (so I was unable to send forms into repl, but the application itself worked normally before I switched to 'Production' view).

Here is the full log (don't pay attention on Gtk warnings):

```
~/projects/clojurescript/one $ lein bootstrap
Setting up dependency for [https://github.com/clojure/clojurescript.git 886d8dc81812962d30a741d6d05ce9d90975160f]
Running git checkout 886d8dc81812962d30a741d6d05ce9d90975160f in .lein-git-deps/clojurescript
Setting up dependency for [https://github.com/levand/domina.git 8933b2d12c44832c9bfaecf457a1bc5db251a774]
Running git checkout 8933b2d12c44832c9bfaecf457a1bc5db251a774 in .lein-git-deps/domina
Copying 36 files to /home/vinzent/projects/clojurescript/one/lib
Copying 10 files to /home/vinzent/projects/clojurescript/one/lib/dev

~/projects/clojurescript/one $ lein repl
REPL started; server listening on localhost port 15564

Type (go) to launch the development server and setup a browser-connected REPL.
Type (dev-server) to launch only the development server.

one.sample.repl=> (go)
2012-02-29 21:18:38.509:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
2012-02-29 21:18:38.510:INFO::jetty-6.1.25
"Type: " :cljs/quit " to quit"
2012-02-29 21:18:38.662:INFO::Started SocketConnector@0.0.0.0:8080
ClojureScript:cljs.user> (chromium-browser:8325): Gtk-WARNING **: Загружаемый модуль тем не найден в module_path: «pixmap»,
(chromium-browser:8325): Gtk-WARNING **: Загружаемый модуль тем не найден в module_path: «pixmap»,
(chromium-browser:8325): Gtk-WARNING **: Загружаемый модуль тем не найден в module_path: «pixmap»,
(chromium-browser:8325): Gtk-WARNING **: Загружаемый модуль тем не найден в module_path: «pixmap»,
В текущем сеансе браузера создано новое окно.
NumberFormatException Invalid number: 00003c clojure.lang.LispReader.readNumber (LispReader.java:253)
CompilerException java.lang.RuntimeException: Unable to resolve symbol: swank:connection-info in this context, compiling:(NO_SOURCE_PATH:1)

Exception: java.lang.RuntimeException: INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(VAR): file:/home/vinzent/projects/clojurescript/one/lib/google-closure-library-0.0-790.jar!/goog/object/object.js:236:2
var keys = isArrayLike ? var_args : arguments;
Parent(BLOCK): file:/home/vinzent/projects/clojurescript/one/lib/google-closure-library-0.0-790.jar!/goog/object/object.js:234:53
goog.object.getValueByKeys = function(obj, var_args) {
NodeTraversal.java:491 com.google.javascript.jscomp.NodeTraversal.traverseBranch
NodeTraversal.java:536 com.google.javascript.jscomp.NodeTraversal.traverseFunction
NodeTraversal.java:483 com.google.javascript.jscomp.NodeTraversal.traverseBranch
NodeTraversal.java:491 com.google.javascript.jscomp.NodeTraversal.traverseBranch
NodeTraversal.java:491 com.google.javascript.jscomp.NodeTraversal.traverseBranch
NodeTraversal.java:491 com.google.javascript.jscomp.NodeTraversal.traverseBranch
NodeTraversal.java:491 com.google.javascript.jscomp.NodeTraversal.traverseBranch
NodeTraversal.java:277 com.google.javascript.jscomp.NodeTraversal.traverse
NodeTraversal.java:455 com.google.javascript.jscomp.NodeTraversal.traverse
CombinedCompilerPass.java:154 com.google.javascript.jscomp.CombinedCompilerPass.process
PhaseOptimizer.java:273 com.google.javascript.jscomp.PhaseOptimizer$PassFactoryDelegate.processInternal
PhaseOptimizer.java:250 com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process
PhaseOptimizer.java:168 com.google.javascript.jscomp.PhaseOptimizer.process
Compiler.java:732 com.google.javascript.jscomp.Compiler.check
Compiler.java:651 com.google.javascript.jscomp.Compiler.compileInternal
Compiler.java:69 com.google.javascript.jscomp.Compiler.access$000
Compiler.java:558 com.google.javascript.jscomp.Compiler$1.call
Compiler.java:555 com.google.javascript.jscomp.Compiler$1.call
Compiler.java:600 com.google.javascript.jscomp.Compiler$2.run
Thread.java:679 java.lang.Thread.run
Caused by: java.lang.NullPointerException: null