Hi,
I'm using a very recent CVS snapshot build of Cocoon, and Jetty 4.2.15. I have a WAR containing a Cocoon app, and when I deploy it under Jetty I get this error:
<x-tad-bigger>java.lang.NullPointerException
at org.eclipse.jdt.internal.compiler.parser.Scanner.setSource(Scanner.java:2979)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:7106)
at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:4733)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:289)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:324)
at org.tempuri.javacImpl.eclipse.JavaCompilerImpl.compile(JavaCompilerImpl.java:394)
at org.apache.cocoon.components.flow.javascript.fom.CompilingClassLoader.compile(CompilingClassLoader.java:334)
at org.apache.cocoon.components.flow.javascript.fom.CompilingClassLoader.findClass(CompilingClassLoader.java:69)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at org.mozilla.javascript.NativeJavaPackage.getPkgProperty(NativeJavaPackage.java:181)
at org.mozilla.javascript.NativeJavaPackage.get(NativeJavaPackage.java:156)
at org.mozilla.javascript.ScriptRuntime.getProp(ScriptRuntime.java:723)
at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:694)
at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190)
at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138)
at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:702)
at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:130)
.
.
.
</x-tad-bigger><x-tad-bigger>But if I create a 'webapp' directory and extract the WAR into that, then start Jetty on that webapp directory, it works fine! Any ideas what the problem might be?
Thanks,
Mark
</x-tad-bigger>
