cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: CForms/Ajax
Date Sat, 27 Oct 2007 07:24:30 GMT
Marcus Wejderot pisze:
> Hi all,
>  
> Sorry for not being more specific last time. I still can't get the Ajax
> parts to work, but keep getting NullPointerExceptions. I am using Cocoon
> 2.2 and maybe this is a known problem. More probable is that I have
> missed some detail.
>  
> The exception is thrown both when the form is validated through ajax
> (when clicking submit) and when a on-value-changed action is triggered.
> The stacktrace is found below.
>  
> Any help is highly appreciated!
>  
> Thanks,
> Marcus
>  
>  

[...]

> Caused by: java.lang.NullPointerException
>         at
> org.apache.cocoon.forms.generation.JXMacrosHelper.pushWidget(JXMacrosHelper.java:187)
>         at
> org.apache.cocoon.forms.generation.JXMacrosHelper.pushWidget(JXMacrosHelper.java:255)
>         at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:268)
>         at
> org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:61)
>         at
> org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:68)
>         at
> org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:50)
>         at
> org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
>         at
> org.apache.cocoon.components.expression.jexl.JexlExpression.evaluate(JexlExpression.java:48)
>         ... 101 more

I guess that this may be something new but to make sure could you tell us which version of
all
artifacts do you use? The easiest way is to paste snippet of your pom file I think.

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message