[
https://issues.apache.org/jira/browse/GERONIMO-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14289095#comment-14289095
]
Hendrik Saly commented on GERONIMO-6526:
----------------------------------------
Version is 1.9-SNAPSHOT, snapshot repo is here
https://repository.apache.org/content/groups/snapshots/org/apache/geronimo/javamail/geronimo-javamail_1.4/1.9.0-SNAPSHOT/
<groupId>org.apache.geronimo.javamail</groupId>
<artifactId>geronimo-javamail_1.4</artifactId>
<version>1.9.0-SNAPSHOT</version>
In case you have trouble with the spec api:
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-javamail_1.4_spec</artifactId>
<version>1.7.2-SNAPSHOT</version>
</dependency>
repo is here
https://repository.apache.org/content/groups/snapshots/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.2-SNAPSHOT/
> IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE
> -------------------------------------------------------------------------
>
> Key: GERONIMO-6526
> URL: https://issues.apache.org/jira/browse/GERONIMO-6526
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: mail
> Affects Versions: 3.0.0, 3.0.1
> Reporter: Oliver Guenther
> Priority: Minor
> Labels: JM14_1.8.5
> Attachments: GERONIMO-6526.patch, geronimo-6526-svn-withtests.diff,
> geronimo-6526-withtests.diff
>
>
> Tryng to use the java mail api in establishing an imap connection results in
> an NPE.
> {code}
> Properties p = new Properties();
> p.put("mail.store.protocol", "imap"); // imaps does the same
> p.put("mail.host", "");
> Session ss = Session.getInstance(p);
> Store s = ss.getStore();
> s.connect(user, pass); // Here we get the NPE
> {code}
> Using the same code with the sun/oracle implementation is successful.
> A full example can be found here:
> https://github.com/og0815/sandbox/tree/master/geronimo-javamail-imap-bug
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)