Error in message.getLineCount (Error using NotifyPostmaster with James 2.3)
---------------------------------------------------------------------------
Key: JAMES-462
URL: http://issues.apache.org/jira/browse/JAMES-462
Project: James
Type: Bug
Components: James Core
Versions: 2.3.0a1
Reporter: Stefano Bagnara
Assigned to: Stefano Bagnara
Priority: Minor
Reported by Bodo:
--------------------------------
I have problems using the notify postmaster mailet. I'm trying james 2.3. While
using the notification-mailet with normal (text/plain) mails everything is
fine. But processing mails with attachments an error occurs as follows and the
notification isn't delivered:
29/03/06 10:51:37 DEBUG spoolmanager.error: Servicing Mail1143622295421-0 by
NotifyPostmaster Mailet
29/03/06 10:51:37 ERROR spoolmanager: Exception in processor <error>
java.lang.NullPointerException: charsetName
at java.io.InputStreamReader.<init>(Unknown Source)
at
org.apache.james.core.MimeMessageWrapper.getLineCount(MimeMessageWrapper.java:297)
at
org.apache.james.core.MimeMessageCopyOnWriteProxy.getLineCount(MimeMessageCopyOnWriteProxy.java:252)
at
org.apache.james.transport.mailets.AbstractNotify.getMessage(AbstractNotify.java:166)
at
org.apache.james.transport.mailets.AbstractRedirect.buildAlteredMessage(AbstractRedirect.java:1213)
at
org.apache.james.transport.mailets.AbstractRedirect.service(AbstractRedirect.java:1008)
at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:414)
at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:397)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:306)
at java.lang.Thread.run(Unknown Source)
---------------------
It's a trunk version and it happens to every mail with attachment. In 2.3.0.a1
everything is okay - but I can't use this version because of an error in
fetchmail ...
---------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]