Hi,

> I were also on the search for a NPE today. The reason was a missing 
> widget in the definition for the id in combination with a 
> repeater. What 
> does the stacktrace say?

org.apache.avalon.framework.CascadingRuntimeException:
"resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 193:
uncaught JavaScript exception: 
at protect
(file:/D:/jakarta-tomcat-4.1.29/webapps/ROOT/properweb/system/scripts/login.
js, Line 20)
at success
(file:/D:/jakarta-tomcat-4.1.29/webapps/ROOT/properweb/system/scripts/login.
js, Line 53):
org.apache.avalon.framework.CascadingRuntimeException:
"resource://org/apache/cocoon/woody/flow/javascript/woody2.js", line 193:
uncaught JavaScript exception: 
at woody (resource://org/apache/cocoon/woody/flow/javascript/woody2.js, Line
213)
at prot_editPatient
(file:/D:/jakarta-tomcat-4.1.29/webapps/ROOT/properweb/system/scripts/flowsc
ripts.js, Line 70)
at  (resource://org/apache/cocoon/woody/flow/javascript/woody2.js, Line
193):
java.lang.NullPointerException 
        at
org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.c
allFunction(FOM_JavaScriptInterpreter.java:706) 
        at
org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(C
allFunctionNode.java:160) 
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:84) 
        at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:165) 
        at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:108) 
        at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:162) 


I must say I don't have anything fancy like repeaters and such. Merely a
list of string fields, a date field and a radiobutton field.

Line 70 in flowscripts.js = form.load(document)

Login.js is copied/modified from the "authentication with flow" example

Line 20 in login.js = success()
Line 53 in login.js = cocoon.sendPage(internal);


Thanks for helping.

Bye, Helma

Reply via email to