You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Roman Bykovskiy (JIRA)" <ji...@apache.org> on 2013/02/19 13:23:14 UTC

[jira] [Created] (GERONIMO-6438) geronimo-javamail_1.4_spec wrong cast

Roman Bykovskiy created GERONIMO-6438:
-----------------------------------------

             Summary: geronimo-javamail_1.4_spec  wrong  cast
                 Key: GERONIMO-6438
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6438
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: common, general
            Reporter: Roman Bykovskiy


org.apache.geronimo.mail.handlers.TextHandler

line 141:  String content = (String) object;

But object can be not a String. Shout be object.toString()

(Fails w error java.lang.ClassCastException: javax.mail.internet.MimeMultipart cannot be cast to java.lang.String)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira