uid/collabode — Issue #45: Exception: cannot call method "split" of undefined
Author: maxg
Created: 2011-12-10 21:37:51+00:00
State: open

Related to continuous testing?
{{{
net.appjet.bodylock.JSRuntimeException: Error while executing: TypeError: Cannot call method "split" of undefined (module editor/workspace.js#379)
at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:84)
at net.appjet.oui.execution$$anonfun$execute$4.apply(execution.scala:502)
Task testResult execution failed with error: 500
An error occurred and no error handler is defined.
at net.appjet.oui.NoninheritedDynamicVariable.withValue(dynamicvar.scala:38)
at net.appjet.oui.ExecutionContextUtils$.withContext(execution.scala:328)
at net.appjet.oui.execution$.execute(execution.scala:498)
at net.appjet.oui.execution$.runOutOfBand(execution.scala:625)
at net.appjet.ajstdlib.execution$.runTask(ajstdlib.scala:140)
at net.appjet.ajstdlib.execution$TaskRunner.call(ajstdlib.scala:177)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:637)
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "split" of undefined (module editor/workspace.js#379)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3559)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3537)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3565)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3584)
at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3603)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2161)
at JS$module$editor$workspace$js$14._c58(module editor/workspace.js:379)
at JS$module$editor$workspace$js$14.call(module editor/workspace.js)
at org.mozilla.javascript.NativeArray.iterativeMethod(NativeArray.java:1565)
at org.mozilla.javascript.NativeArray.execIdCall(NativeArray.java:313)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:127)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
at JS$module$editor$workspace$js$14._c57(module editor/workspace.js:378)
at JS$module$editor$workspace$js$14.call(module editor/workspace.js)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
at JS$module$main$js$1._c9(module main.js:59)
at JS$module$main$js$1.call(module main.js)
at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2348)
at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:272)
at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:127)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at JS$onscheduledtask._c1(onscheduledtask.js:32)
at JS$onscheduledtask.call(onscheduledtask.js)
at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
at JS$onscheduledtask._c0(onscheduledtask.js:17)
at JS$onscheduledtask.call(onscheduledtask.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004)
at JS$onscheduledtask.call(onscheduledtask.js)
at JS$onscheduledtask.exec(onscheduledtask.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
(exlog): 2010-11-05 14:04:29.174-0400	net.appjet.bodylock.JSRuntimeException: Error while executing: TypeError: Cannot call method "split" of undefined (module editor/workspace.js#379)	net.appjet.bodylock.JSRuntimeException: Error while executing: TypeError: Cannot call method "split" of undefined (module editor/workspace.js#379)
(exlog):	at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:84)
(exlog):	at net.appjet.oui.execution$$anonfun$execute$4.apply(execution.scala:502)
(exlog):	at net.appjet.oui.NoninheritedDynamicVariable.withValue(dynamicvar.scala:38)
(exlog):	at net.appjet.oui.ExecutionContextUtils$.withContext(execution.scala:328)
(exlog):	at net.appjet.oui.execution$.execute(execution.scala:498)
(exlog):	at net.appjet.oui.execution$.runOutOfBand(execution.scala:625)
(exlog):	at net.appjet.ajstdlib.execution$.runTask(ajstdlib.scala:140)
(exlog):	at net.appjet.ajstdlib.execution$TaskRunner.call(ajstdlib.scala:177)
(exlog):	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
(exlog):	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
(exlog):	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
(exlog):	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
(exlog):	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
(exlog):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
(exlog):	at java.lang.Thread.run(Thread.java:637)
(exlog): Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "split" of undefined (module editor/workspace.js#379)
(exlog):	at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3559)
(exlog):	at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3537)
(exlog):	at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3565)
(exlog):	at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3584)
(exlog):	at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3603)
(exlog):	at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2161)
(exlog):	at JS$module$editor$workspace$js$14._c58(module editor/workspace.js:379)
(exlog):	at JS$module$editor$workspace$js$14.call(module editor/workspace.js)
(exlog):	at org.mozilla.javascript.NativeArray.iterativeMethod(NativeArray.java:1565)
(exlog):	at org.mozilla.javascript.NativeArray.execIdCall(NativeArray.java:313)
(exlog):	at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:127)
(exlog):	at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
(exlog):	at JS$module$editor$workspace$js$14._c57(module editor/workspace.js:378)
(exlog):	at JS$module$editor$workspace$js$14.call(module editor/workspace.js)
(exlog):	at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
(exlog):	at JS$module$main$js$1._c9(module main.js:59)
(exlog):	at JS$module$main$js$1.call(module main.js)
(exlog):	at org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2348)
(exlog):	at org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:272)
(exlog):	at org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:127)
(exlog):	at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
(exlog):	at JS$onscheduledtask._c1(onscheduledtask.js:32)
(exlog):	at JS$onscheduledtask.call(onscheduledtask.js)
(exlog):	at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
(exlog):	at JS$onscheduledtask._c0(onscheduledtask.js:17)
(exlog):	at JS$onscheduledtask.call(onscheduledtask.js)
(exlog):	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
(exlog):	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3004)
(exlog):	at JS$onscheduledtask.call(onscheduledtask.js)
(exlog):	at JS$onscheduledtask.exec(onscheduledtask.js)
(exlog):	at net.appjet.bodylock.InnerExecutable$$anonfun$execute$1.apply(bodylock.scala:76)
(exlog):	at net.appjet.bodylock.InnerExecutable$$anonfun$execute$1.apply(bodylock.scala:75)
(exlog):	at net.appjet.bodylock.BodyLock$.runInContext(bodylock.scala:111)
(exlog):	at net.appjet.bodylock.InnerExecutable.execute(bodylock.scala:75)
(exlog):	... 14 more
(exlog): 2010-11-05 14:04:29.175-0400	(500,An error occurred and no error handler is defined.)
}}}

(Imported from [Bitbucket #45](https://bitbucket.org/maxg/collabode/issue/45) reported by [maxg](https://bitbucket.org/maxg) on 2011-03-10)