geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Bykovskiy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GERONIMO-6438) geronimo-javamail_1.4_spec wrong cast
Date Tue, 19 Feb 2013 12:23:14 GMT
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

Mime
View raw message