FYI this is now fixed.
http://jira.nuxeo.org/browse/NXP-3598
Florent
On 26 May 2009, at 15:34, Florent Guillaume wrote:
This bug is already known and tracked by http://jira.nuxeo.org/browse/NXP-3598
We haven't had time to work on it yet, patches are welcome.
Florent
On 26 May 2009, at 15:00, Stefan Dimov wrote:
Hi,
It seems like this is a bug. This exception is raising when the
program tries to cast from String[] to String or from String to
String[].
If you take a look at the source of NotificationEventListener at
line 114 it reads "recipients" property from context and casts to
String[].
Simple search in the nuxeo source code can you show you that there
are some places which fill the event context properties with a
single String value for recipients, instead
of String[]. For example - Jbpm service is filling String[] as
value for this property, but EmailNotificationSenderActionsBean is
filling String as value.
If you are trying to send email from web interface it should rise
such an exception.
Regards,
Stefan
Hi nuxeo people,
I have configured the file mail-service.xml (only change the
attribute mail.smtp.host="localhost"). Postfix is installed, listen
on port 25 and works fine with the command system mail, but I get
the following error in server.log :
2009-05-26 12:07:07,494 ERROR
[org.nuxeo.ecm.platform.ec.notification.NotificationEventListener]
Error during Notification processing for event emailDocumentSend
java.lang.ClassCastException: java.lang.String cannot be cast to
[Ljava.lang.String;
at
org
.nuxeo
.ecm
.platform
.ec
.notification
.NotificationEventListener
.handleNotifications(NotificationEventListener.java:114)
at
org
.nuxeo
.ecm
.platform
.ec
.notification
.NotificationEventListener
.handleEvent(NotificationEventListener.java:79)
at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor
$Job.run(AsyncEventExecutor.java:109)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Can you help me ?
Thanks in advance
--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm