cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: locatable exceptions in trunk, exceptions in flowscript
Date Mon, 05 Sep 2005 12:34:35 GMT
Sylvain Wallez wrote:
> Leszek Gawron wrote:
> 
>> org.apache.cocoon.ProcessingException: Sitemap: error calling 
>> continuation
>> at <map:call> - 
>> file:/C:/dev/projects/pmt/server/build/webapp/central/sitemap.xmap:37:52
>> at <map:mount> - 
>> file:/C:/dev/projects/pmt/server/build/webapp/sitemap.xmap:535:77
>>
>> The problem is the location in .js file is not given any more.
> 
> 
> 
> Hmm... I'll have a look at it.
> 
> What is causing the error? Is is a pure JS exception or an exception 
> coming from a call to some Java code?
Have a look at the stack trace. It's NPE from 
org.apache.cocoon.forms.datatype.FlowJXPathSelectionListBuilder.build(FlowJXPathSelectionListBuilder.java:64):

org.apache.cocoon.ProcessingException: Sitemap: error calling continuation
	at <map:call> - 
file:/C:/dev/projects/pmt/server/build/webapp/central/sitemap.xmap:37:52
	at <map:mount> - 
file:/C:/dev/projects/pmt/server/build/webapp/sitemap.xmap:533:77
	at 
org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:112)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:101)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:121)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at 
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(ContainerNode.java:38)
	at 
org.apache.cocoon.components.treeprocessor.CategoryNode.invokeByName(CategoryNode.java:66)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallNode.java:83)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:86)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:348)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:279)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:263)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:115)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:116)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:155)
	at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:77)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:95)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:348)
	at 
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:279)
	at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:263)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:503)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:390)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
	at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:832)
	at 
com.mobilebox.hibernate.PersistenceManager.doFilter(PersistenceManager.java:42)
	at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
	at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:556)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1563)
	at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:623)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1515)
	at org.mortbay.http.HttpServer.service(HttpServer.java:956)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
	at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.mozilla.javascript.WrappedException: Wrapped 
java.lang.NullPointerException 
(resource://org/apache/cocoon/forms/flow/javascript/Form.js#40)
	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1776)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:191)
	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:197)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:3026)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2164)
	at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:140)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:304)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2769)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2145)
	at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:140)
	at org.mozilla.javascript.Context.call(Context.java:497)
	at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1496)
	at 
org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1466)
	at 
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:680)
	at 
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:99)
	... 46 more
Caused by: java.lang.NullPointerException
	at 
org.apache.cocoon.forms.datatype.FlowJXPathSelectionListBuilder.build(FlowJXPathSelectionListBuilder.java:64)
	at 
org.apache.cocoon.forms.formmodel.AbstractDatatypeWidgetDefinitionBuilder.setupDefinition(AbstractDatatypeWidgetDefinitionBuilder.java:94)
	at 
org.apache.cocoon.forms.formmodel.FieldDefinitionBuilder.setupDefinition(FieldDefinitionBuilder.java:36)
	at 
org.apache.cocoon.forms.formmodel.FieldDefinitionBuilder.buildWidgetDefinition(FieldDefinitionBuilder.java:30)
	at 
org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder.buildAnotherWidgetDefinition(AbstractWidgetDefinitionBuilder.java:126)
	at 
org.apache.cocoon.forms.formmodel.FormDefinitionBuilder.buildWidgetDefinition(FormDefinitionBuilder.java:40)
	at 
org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(DefaultFormManager.java:173)
	at 
org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(DefaultFormManager.java:161)
	at 
org.apache.cocoon.forms.DefaultFormManager.createForm(DefaultFormManager.java:111)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:174)
	... 59 more


-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message