cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: Rhino revisited
Date Wed, 18 Aug 2004 05:24:44 GMT
These are the stack traces I spoke of in my prior email.  If anyone can 
shed a light on what I might need to change to get this working I'd 
appreciate it.  This is using 2.1.5.1 in weblogic 8.1.2


Stack Trace when using BootstrapServlet:

java.lang.ClassCastException
             at 
org.mozilla.javascript.optimizer.InvokerImpl.createInvoker(InvokerImpl.java:273)
             at 
org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:520)
             at 
org.mozilla.javascript.FunctionObject.callVarargs(FunctionObject.java:538)
             at 
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:403)
             at 
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
             at 
org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:1134)
             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.InterpretedScriptImpl.call(InterpretedScriptImpl.java:137)
             at 
org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:59)
             at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:595)
             at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:674)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:130)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:103)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
             at org.apache.cocoon.Cocoon.process(Cocoon.java:639)
             at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
             at 
org.apache.cocoon.servlet.ParanoidCocoonServlet.service(ParanoidCocoonServlet.java:259)
             at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
             at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
             at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
             at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
             at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
             at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
             at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
             at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
             at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
             at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


Stack Trace after the rhino jar putting in front of the classpath:


<Aug 17, 2004 5:13:47 PM PDT> <Notice> <WebLogicServer> <BEA-000332>

<Started WebLogic Managed Server "MyServer-1" for domain "v5" running in 
Development Mode>
<Aug 17, 2004 5:13:47 PM PDT> <Notice> <WebLogicServer> <BEA-000360>

<Server started in RUNNING mode>
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:289)
             at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
             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.InterpretedScriptImpl.call(InterpretedScriptImpl.java:137)
             at 
org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:59)
             at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.setupContext(FOM_JavaScriptInterpreter.java:595)
             at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:674)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:130)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:103)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:49)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:126)
             at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:72)
             at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:101)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:336)
             at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:277)
             at org.apache.cocoon.Cocoon.process(Cocoon.java:639)
             at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
             at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
             at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
             at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
             at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
             at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
             at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
             at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
             at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
             at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
             at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)




Mime
View raw message