geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendrik Saly (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GERONIMO-6438) geronimo-javamail_1.4_spec wrong cast
Date Fri, 31 Oct 2014 21:06:34 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hendrik Saly updated GERONIMO-6438:
-----------------------------------
    Component/s:     (was: common)
                     (was: general)
                 mail

> 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: mail
>            Reporter: Roman Bykovskiy
>              Labels: JM14_1.8.5
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message