james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] [Comment Edited] (MIME4J-266) NPE in MimeBoundaryInputStream.java:67
Date Fri, 05 Jan 2018 17:22:00 GMT

    [ https://issues.apache.org/jira/browse/MIME4J-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313483#comment-16313483
] 

Tellier Benoit edited comment on MIME4J-266 at 1/5/18 5:21 PM:
---------------------------------------------------------------

Hi.

I confirm there is an issue with mime4J 0.7.2 and successfully reproduced it.

I tried reproducing your issue on the latest version of mime4J (0.8.2) and could not reproduce
it with your EML.

Given that mime4j 0.7.2 was released in 2007, I would advise you to update to the latest version...


was (Author: btellier):
Hi.

I confirm there is an issue with mime4J 0.7.2 and successfully reproduced it.

I tried reproducing your issue on the latest version of mime4J (0.8.2) and could not reproduce
it with your EML.

Given that mime4j 0.7.2 was released in 2007, I would advise you updating to the latest version...

> NPE in MimeBoundaryInputStream.java:67
> --------------------------------------
>
>                 Key: MIME4J-266
>                 URL: https://issues.apache.org/jira/browse/MIME4J-266
>             Project: James Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.7.2
>            Reporter: Raffaele Gambelli
>         Attachments: MimeBoundaryInputStreamNPE.eml
>
>
> I had this NPE, It is the first time that I receive it despite of thousands parsed emails.
> "java.lang.NullPointerException: null
>         at org.apache.james.mime4j.io.MimeBoundaryInputStream.<init>(MimeBoundaryInputStream.java:67)
>         at org.apache.james.mime4j.stream.MimeEntity.createMimePartStream(MimeEntity.java:366)
>         at org.apache.james.mime4j.stream.MimeEntity.advance(MimeEntity.java:320)
>         at org.apache.james.mime4j.stream.MimeTokenStream.next(MimeTokenStream.java:360)
>         at org.apache.james.mime4j.parser.MimeStreamParser.parse(MimeStreamParser.java:176)
>         at org.apache.james.mime4j.message.DefaultMessageBuilder.parseMessage(DefaultMessageBuilder.java:311)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message