Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

net.appjet.bodylock.JSRuntimeException

未关闭
#64 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript
领域
build-system

调研方向

首先运行 bin/run.js,并跟踪缺少 etherpad.collab.ace.easysync2 模块导致的启动失败。检查 Hackpad 中如何重新构建 ACE 依赖项,并验证启动是否能够在没有 JSRuntimeException 的情况下完成。

由索引模型根据 Issue 内容生成。

描述

I meet a problem when I run /hackpad-master/bin/run.js

Here is the error info:
Startup execution failed with error. net.appjet.bodylock.JSRuntimeException: Error: Neither module exists: etherpad.collab.ace.easysync2, etherpad.collab.ace.easysync2.{AttribPool,Changeset} at net.appjet.bodylock.BodyLock$.unwrapExceptionIfNecessary(bodylock.scala:160) at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:80) at net.appjet.oui.ScopeReuseManager$$anonfun$newRunner$1.apply$mcV$sp(servermodel.scala:127) at net.appjet.oui.ScopeReuseManager$$anonfun$newRunner$1.apply(servermodel.scala:123) at net.appjet.oui.ScopeReuseManager$$anonfun$newRunner$1.apply(servermodel.scala:123) at net.appjet.oui.NoninheritedDynamicVariable.withValue(dynamicvar.scala:38) at net.appjet.oui.ExecutionContextUtils$.withContext(execution.scala:340) at net.appjet.oui.ScopeReuseManager$.newRunner(servermodel.scala:123) at net.appjet.oui.ScopeReuseManager$$anonfun$getRunner$1.apply(servermodel.scala:149) at net.appjet.oui.ScopeReuseManager$$anonfun$getRunner$1.apply(servermodel.scala:139) at net.appjet.oui.ScopeReuseManager$.readLocked(servermodel.scala:86) at net.appjet.oui.ScopeReuseManager$.getRunner(servermodel.scala:139) at net.appjet.oui.execution$.runOutOfBand(execution.scala:614) at net.appjet.oui.main$.runOnStartup(main.scala:114) at net.appjet.oui.main$.main(main.scala:292) at net.appjet.oui.main.main(main.scala) Caused by: org.mozilla.javascript.JavaScriptException: foo (module preamble.js#200) at JS$module$preamble$js$2._c_importPath_12(module preamble.js:200) at JS$module$preamble$js$2.call(module preamble.js) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at JS$module$preamble$js$2._c_anonymous_16(module preamble.js:233) at JS$module$preamble$js$2.call(module preamble.js) at org.mozilla.javascript.NativeArray.iterativeMethod(NativeArray.java:1563) at org.mozilla.javascript.NativeArray.execIdCall(NativeArray.java:345) at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129) at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66) at JS$module$preamble$js$2._c_runScheduledImports_15(module preamble.js:232) at JS$module$preamble$js$2.call(module preamble.js) at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108) at JS$module$preamble$js$2._c_anonymous_18(module preamble.js:272) at JS$module$preamble$js$2.call(module preamble.js) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119) at JS$module$postamble$js$253._c_script_0(module postamble.js:18) at JS$module$postamble$js$253.call(module postamble.js) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178) at JS$module$postamble$js$253.call(module postamble.js) at JS$module$postamble$js$253.exec(module postamble.js) at net.appjet.bodylock.InnerExecutable$$anonfun$execute$1.apply(bodylock.scala:76) at net.appjet.bodylock.InnerExecutable$$anonfun$execute$1.apply(bodylock.scala:75) at net.appjet.bodylock.BodyLock$.runInContext(bodylock.scala:111) at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:75) ... 14 more

I find some solution in etherpad, it tell me to Rebuild the ace dependency.
But how can I do this work in hackpad?

主要语言
Java
星标
3.6k
派生
519
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dropbox/hackpad 的其他 Issue

查看 dropbox/hackpad 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。