I am trying to configure a form to send a confirmation email to the sender.

I have two environments (development and test) that are almost identical, and the configuration works fine in the first (a clean Magnolia 4.4.2 install) and not in the second (started as Magnolia 4.4.1 and did the upgrade to 4.4.2 when it was released, as well as the upgrade of the STK to 1.4.2). 

I have enabled the confirmation email by adding the node 'enabled', but when I try to activate the configuration in the test instance (the upgraded one), I get the following error (stack trace included).

After I see the error and try to submit a form, I consistently get the error 'Session expired, You need to start over' but I cannot see any more details in the log.

I'll be very thankful for any hints or ideas regarding what I might be missing or have misconfigured.

Thanks,
Claudia

2011-02-24 09:32:32,451 INFO  info.magnolia.module.exchangesimple.ReceiveFilter : User superuser successfuly activated sendConfirmationEMail on magnoliaPublic.
2011-02-24 09:32:32,458 INFO  .magnolia.module.exchangesimple.BaseSyndicatorImpl: Exchange: activation succeeded [/modules/form/paragraphs/form/formProcessors/sendConfirmationEMail]
2011-02-24 09:32:33,462 ERROR olia.content2bean.impl.Content2BeanTransformerImpl: info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel
2011-02-24 09:32:33,462 ERROR olia.content2bean.impl.Content2BeanTransformerImpl: Can't set property [modelClass] to value [info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel] in bean [info.magnolia.module.templating.Paragraph] for node /modules/standard-templating-kit/paragraphs/pur/stkPURLoginForm due to info.magnolia.content2bean.Content2BeanException: java.lang.ClassNotFoundException: info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel
2011-02-24 09:32:33,462 ERROR org.apache.commons.beanutils.PropertyUtils        : Method invocation failed.
java.lang.IllegalArgumentException: java.lang.ClassCastException@12cf30e
at sun.reflect.GeneratedMethodAccessor2270.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)
at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)
at info.magnolia.content2bean.impl.Content2BeanTransformerImpl.setProperty(Content2BeanTransformerImpl.java:290)
at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.setProperties(Content2BeanProcessorImpl.java:220)
at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:111)
at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:68)
at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:149)
at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:135)
at info.magnolia.module.templating.ParagraphManager.addParagraphToCache(ParagraphManager.java:138)
at info.magnolia.module.templating.ParagraphManager.onRegister(ParagraphManager.java:120)
at info.magnolia.module.templating.ParagraphManager.onRegister(ParagraphManager.java:129)
at info.magnolia.cms.beans.config.ObservedManager.reload(ObservedManager.java:123)
at info.magnolia.cms.beans.config.ObservedManager.reload(ObservedManager.java:108)
at info.magnolia.cms.beans.config.ObservedManager$1.onEvent(ObservedManager.java:79)
at info.magnolia.cms.util.ObservationUtil$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:228)
at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:104)
at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
2011-02-24 09:32:33,464 ERROR olia.content2bean.impl.Content2BeanTransformerImpl: Can't set property [modelClass] to value [info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel] in bean [info.magnolia.module.templating.Paragraph] for node /modules/standard-templating-kit/paragraphs/pur/stkPURLoginForm due to java.lang.IllegalArgumentException: Cannot invoke info.magnolia.module.templating.AbstractRenderable.setModelClass - java.lang.ClassCastException@12cf30e
2011-02-24 09:32:33,476 ERROR olia.content2bean.impl.Content2BeanTransformerImpl: info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel
2011-02-24 09:32:33,476 ERROR olia.content2bean.impl.Content2BeanTransformerImpl: Can't set property [modelClass] to value [info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel] in bean [info.magnolia.module.templating.Paragraph] for node /modules/standard-templating-kit/paragraphs/pur/stkPURLoginForm due to info.magnolia.content2bean.Content2BeanException: java.lang.ClassNotFoundException: info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel
2011-02-24 09:32:33,477 ERROR org.apache.commons.beanutils.PropertyUtils        : Method invocation failed.
java.lang.IllegalArgumentException: java.lang.ClassCastException@304e78
at sun.reflect.GeneratedMethodAccessor2165.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:1773)
at org.apache.commons.beanutils.PropertyUtilsBean.setSimpleProperty(PropertyUtilsBean.java:1759)
at org.apache.commons.beanutils.PropertyUtilsBean.setNestedProperty(PropertyUtilsBean.java:1648)
at org.apache.commons.beanutils.PropertyUtilsBean.setProperty(PropertyUtilsBean.java:1677)
at org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:1022)
at info.magnolia.content2bean.impl.Content2BeanTransformerImpl.setProperty(Content2BeanTransformerImpl.java:290)
at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.setProperties(Content2BeanProcessorImpl.java:220)
at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:111)
at info.magnolia.content2bean.impl.Content2BeanProcessorImpl.toBean(Content2BeanProcessorImpl.java:68)
at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:149)
at info.magnolia.content2bean.Content2BeanUtil.toBean(Content2BeanUtil.java:135)
at info.magnolia.module.templating.ParagraphManager.addParagraphToCache(ParagraphManager.java:138)
at info.magnolia.module.templating.ParagraphManager.onRegister(ParagraphManager.java:120)
at info.magnolia.module.templating.ParagraphManager.onRegister(ParagraphManager.java:129)
at info.magnolia.cms.beans.config.ObservedManager.reload(ObservedManager.java:123)
at info.magnolia.cms.beans.config.ObservedManager.reload(ObservedManager.java:108)
at info.magnolia.cms.beans.config.ObservedManager$1.onEvent(ObservedManager.java:79)
at info.magnolia.cms.util.ObservationUtil$ObservationBasedDelayedExecutor$1.run(ObservationUtil.java:228)
at info.magnolia.cms.util.DelayedExecutor$RunnableWrapper.run(DelayedExecutor.java:104)
at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
2011-02-24 09:32:33,479 ERROR olia.content2bean.impl.Content2BeanTransformerImpl: Can't set property [modelClass] to value [info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel] in bean [info.magnolia.module.templating.Paragraph] for node /modules/standard-templating-kit/paragraphs/pur/stkPURLoginForm due to java.lang.IllegalArgumentException: Cannot invoke info.magnolia.module.templating.AbstractRenderable.setModelClass - java.lang.ClassCastException@304e78

Reply via email to