逆时针空指针异常

发布于 2025-01-03 02:33:10 字数 208 浏览 4 评论 0原文

我在 OSX 10.7.2 上运行 Eclipse Indigo,但无法逆时针正常工作。如果我打开 REPL 视图,它将接受输入(并显示输入),但实际上不会计算任何表达式。当我尝试强制 repl 重新连接时,我收到 java.lang.NullPointerException (尽管没有堆栈跟踪)。

尝试通过运行配置将 clojure 项目加载到 repl 中会锁定 Eclipse。

I'm running Eclipse Indigo on OSX 10.7.2, and I cannot get counterclockwise to work properly. If I open the REPL view, it will accept input (and display the input), but not actually evaluate any expressions. When I attempt to force a repl reconnect, I get a java.lang.NullPointerException (no stack trace though).

Attempting to load a clojure project into the repl via the run configuration locks up Eclipse.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

携君以终年 2025-01-10 02:33:10

我在 Windows 上运行 Eclipse Indigo,因此无法帮助解决 OSX 的具体问题,但是听起来您的 REPL 已断开连接(即没有正在运行的 Clojure JVM 连接到 REPL 窗口来接受和评估您的表达式)。

以下方法都适用于我获得正在运行的逆时针 REPL 和连接的 JVM:

  • 右键单击​​ .clj 文件,使用 Run As... / Clojure Application
  • 在源文件编辑器中,使用 Ctrl+Alt+L 加载当前源文件(如果尚未打开,这会自动启动 REPL)

I'm running Eclipse Indigo on Windows so can't help with OSX specifics, however it sounds like your REPL is disconnected (i.e. there is no running Clojure JVM connected to the REPL window to accept and evaluate your expressions).

The following methods all work for me to get a running Counterclockwise REPL and connected JVM:

  • Right click on .clj file, use Run As... / Clojure Application
  • In the source file editor, use Ctrl+Alt+L to load the current source file (this starts a REPL automatically if not already open)
尐籹人 2025-01-10 02:33:10

据他们的开发人员称,事实证明这是一个新报告的逆时针错误。

It turns out this is a newly reported bug in counterclockwise, according to their developers.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文