无限循环关闭时间

时间:2010-05-06 19:00:24

标签: emacs scala ensime

当我运行M-X ensime-disconnect时,我永远得到以下内容:

string matching regex `\"((?:[^\"\\]|\\.)*)\"' expected but `^@' found

当我使用C-c C-c

时,我看到了这个例外
Uncaught exception in com.ensime.server.SocketHandler@769aba32
java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
    at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290)
    at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at java.io.BufferedWriter.flush(BufferedWriter.java:253)
    at com.ensime.server.SocketHandler.write(server.scala:118)
    at com.ensime.server.SocketHandler$$anonfun$act$1$$anonfun$apply$mcV$sp$1.apply(server.scala:132)
    at com.ensime.server.SocketHandler$$anonfun$act$1$$anonfun$apply$mcV$sp$1.apply(server.scala:127)
    at scala.actors.Actor$class.receive(Actor.scala:456)
    at com.ensime.server.SocketHandler.receive(server.scala:67)
    at com.ensime.server.SocketHandler$$anonfun$act$1.apply$mcV$sp(server.scala:127)
    at com.ensime.server.SocketHandler$$anonfun$act$1.apply(server.scala:127)
    at com.ensime.server.SocketHandler$$anonfun$act$1.apply(server.scala:127)
    at scala.actors.Reactor$class.seq(Reactor.scala:262)
    at com.ensime.server.SocketHandler.seq(server.scala:67)
    at scala.actors.Reactor$$anon$3.andThen(Reactor.scala:240)
    at scala.actors.Combinators$class.loop(Combinators.scala:26)
    at com.ensime.server.SocketHandler.loop(server.scala:67)
    at scala.actors.Combinators$$anonfun$loop$1.apply(Combinators.scala:26)
    at scala.actors.Combinators$$anonfun$loop$1.apply(Combinators.scala:26)
    at scala.actors.Reactor$$anonfun$seq$1$$anonfun$apply$1.apply(Reactor.scala:259)
    at scala.actors.ReactorTask.run(ReactorTask.scala:36)
    at scala.actors.ReactorTask.compute(ReactorTask.scala:74)
    at scala.concurrent.forkjoin.RecursiveAction.exec(RecursiveAction.java:147)
    at scala.concurrent.forkjoin.ForkJoinTask.quietlyExec(ForkJoinTask.java:422)
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.mainLoop(ForkJoinWorkerThread.java:340)
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:325)

我的配置中是否还有其他内容,或者我应该查看?

谢谢, 杰夫

1 个答案:

答案 0 :(得分:4)

这是一个已知的错误(现在)在github上有一个未解决的问题。 谢谢你的报告。

-Aemon

<强>更新

此问题已在最新版本(&gt; = 0.0.5)中修复:http://github.com/aemoncannon/ensime/downloads