cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee <goodoldbuddy2...@yahoo.com>
Subject cocoon portal
Date Fri, 14 Jul 2006 11:17:21 GMT

hi,
    has anyone worked with default portal with cocoon? The tools generate an error everytime
i click on any link provided with User management tab. it gives an error in the flow script.
same happens when i try to add coplets in the Coplet Management tab.
   
    Can someone plaese help me....?

   
   
  this is the error.
   
   
   
  An error has occured  org.mozilla.javascript.EcmaError: Cannot convert null to an object.
TypeError - file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js
- 28:0 
  Cocoon stacktrace[hide] 
  Cannot convert null to an object.         file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js
- 28:0  TypeError
Error calling flowscript function showUser         file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js
- 28:0  [EcmaError]    file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js
- 28:-1      file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js
- 46:-1      file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/sitemap.xmap
- 47:30  <map:call>    file:/C:/cocoon-2.1.8/build/webapp/portal/tools/sitemap.xmap
- 119:112  <map:mount>    file:/C:/cocoon-2.1.8/build/webapp/portal/sitemap.xmap - 318:78
 <map:mount>    file:/C:/cocoon-2.1.8/build/webapp/sitemap.xmap - 909:66  <map:mount>

  Java stacktrace[show] 
TypeError: Cannot convert null to an object. (file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js;
line 28)   at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:581)  
at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:541)   at org.mozilla.javascript.NativeGlobal.typeError0(NativeGlobal.java:546)
  at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:497)   at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:473)
  at org.mozilla.javascript.ScriptRuntime.getProp(ScriptRuntime.java:711)   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:758)
  at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at
 org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at
 org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.Cocoon.process(Cocoon.java:679)   at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)   at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)   at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)   at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
  at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
  at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)   at org.mortbay.http.HttpServer.service(HttpServer.java:879)
  at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)   at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
  at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)   at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
  at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)   at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
 
  
  Java full stacktrace[show] 
org.apache.cocoon.ProcessingException: Error calling flowscript function showUser   at [EcmaError]
- file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js:28:0   at
file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js:28:-1   at
file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js:46:-1   at
<map:call> - file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/sitemap.xmap:47:30
  at <map:mount> - file:/C:/cocoon-2.1.8/build/webapp/portal/tools/sitemap.xmap:119:112
  at <map:mount> - file:/C:/cocoon-2.1.8/build/webapp/portal/sitemap.xmap:318:78   at
<map:mount> - file:/C:/cocoon-2.1.8/build/webapp/sitemap.xmap:909:66   at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:144)
  at org.apache.cocoon.components.flow.javascript.LocationTrackingDebugger.getException(LocationTrackingDebugger.java:132)
  at
 org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.callFunction(FOM_JavaScriptInterpreter.java:771)
  at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at
 org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at
 org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
  at
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:138)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at
 org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:142)
  at
 org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
  at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:248)
  at org.apache.cocoon.Cocoon.process(Cocoon.java:679)   at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
  at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)   at
 org.mortbay.http.HttpContext.handle(HttpContext.java:1807)   at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
  at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)   at org.mortbay.http.HttpServer.service(HttpServer.java:879)
  at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)   at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
  at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)   at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
  at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)   at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
 Caused by: TypeError: Cannot convert null to an object. (file:/C:/cocoon-2.1.8/build/webapp/portal/tools/plugins/userManagement/flow.js;
line 28)   at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:581)  
at
 org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:541)   at org.mozilla.javascript.NativeGlobal.typeError0(NativeGlobal.java:546)
  at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:497)   at org.mozilla.javascript.ScriptRuntime.toObject(ScriptRuntime.java:473)
  at org.mozilla.javascript.ScriptRuntime.getProp(ScriptRuntime.java:711)   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:758)
  ... 62 more  
  
  The Apache Cocoon Project 

 		
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.
Mime
View raw message