Torsten Mielke (JIRA | 30 Jan 10:12 2015
Picon

[jira] [Commented] (GERONIMO-5742) NPE in MultiPoolConnectionInterceptor.returnConnection with non-zero minPoolSize


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

Torsten Mielke commented on GERONIMO-5742:
------------------------------------------

Can someone please confirm which version is the first to contain the fix?

> NPE in MultiPoolConnectionInterceptor.returnConnection with non-zero minPoolSize
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5742
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5742
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector
>            Reporter: Florent Guillaume
>            Assignee: David Jencks
>         Attachments: patch.diff
>
>
> There's a NPE in MultiPoolConnectionInterceptor.returnConnection when a non-zero minPoolSize is
used and a connection originating from the pre-fill of the pool is returned.
> Applies to the 3.1 version of geronimo-connector; but the bug is here since at least 2.1.3 (and probably forever).
> Patch and unit test attached.

--
(Continue reading)

Anuja | 23 Jan 14:33 2015

Reason for this error

java.lang.NullPointerException at
org.apache.geronimo.mail.handlers.TextHandler.writeTo(TextHandler.java:144)

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Reason-for-this-error-tp3988696.html
Sent from the Development mailing list archive at Nabble.com.

Hendrik Saly (JIRA | 23 Jan 13:15 2015
Picon

[jira] [Commented] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


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

Hendrik Saly commented on GERONIMO-6526:
----------------------------------------

sorry, dont know yet. pls post a request for this on the geronimo dev/user list

> 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
(Continue reading)

aurelien leboulanger (JIRA | 23 Jan 12:59 2015
Picon

[jira] [Commented] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


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

aurelien leboulanger commented on GERONIMO-6526:
------------------------------------------------

ok it works. Do you know when the 1.8.5 will be released ?

> 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
(Continue reading)

Hendrik Saly (JIRA | 23 Jan 12:09 2015
Picon

[jira] [Commented] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


    [
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
(Continue reading)

aurelien leboulanger (JIRA | 23 Jan 12:00 2015
Picon

[jira] [Commented] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


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

aurelien leboulanger commented on GERONIMO-6526:
------------------------------------------------

how can i test the snapshot with maven please ? do you have a maven snapshot repository ?

> 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
(Continue reading)

aurelien leboulanger (JIRA | 23 Jan 11:59 2015
Picon

[jira] [Comment Edited] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


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

aurelien leboulanger edited comment on GERONIMO-6526 at 1/23/15 10:58 AM:
--------------------------------------------------------------------------

Hello,

I still have an NPE with the 1.8.4 version of geronimo with this sample : 

{code:java}
Properties props = new Properties();
props.setProperty("mail.store.protocol", "imap");
props.setProperty("mail.imap.ssl.enable", "true");
props.setProperty("mail.imap.ssl.checkserveridentity", "false");
props.setProperty("mail.imap.ssl.trust", "*");
Session session = Session.getInstance(props);
Store store = session.getStore();
store.connect(host, login, password);{code}

{quote}
java.lang.NullPointerException
	at org.apache.geronimo.javamail.store.imap.connection.IMAPTaggedResponse.isBAD(IMAPTaggedResponse.java:86)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.receiveResponse(IMAPConnection.java:410)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.sendCommand(IMAPConnection.java:324)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processLogin(IMAPConnection.java:598)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processPlainAuthentication(IMAPConnection.java:537)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.login(IMAPConnection.java:488)
(Continue reading)

aurelien leboulanger (JIRA | 23 Jan 11:58 2015
Picon

[jira] [Comment Edited] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


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

aurelien leboulanger edited comment on GERONIMO-6526 at 1/23/15 10:58 AM:
--------------------------------------------------------------------------

Hello,

I still have an NPE with the 1.8.4 version of geronimo with this sample : 

{code:java}
Properties props = new Properties();
props.setProperty("mail.store.protocol", "imap");
props.setProperty("mail.imap.ssl.enable", "true");
props.setProperty("mail.imap.ssl.checkserveridentity", "false");
props.setProperty("mail.imap.ssl.trust", "*");
Session session = Session.getInstance(props);
Store store = session.getStore();
store.connect(host, login, password);{code}

{quote}
java.lang.NullPointerException
	at org.apache.geronimo.javamail.store.imap.connection.IMAPTaggedResponse.isBAD(IMAPTaggedResponse.java:86)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.receiveResponse(IMAPConnection.java:410)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.sendCommand(IMAPConnection.java:324)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processLogin(IMAPConnection.java:598)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processPlainAuthentication(IMAPConnection.java:537)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.login(IMAPConnection.java:488)
(Continue reading)

Hendrik Saly (JIRA | 23 Jan 11:54 2015
Picon

[jira] [Commented] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


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

Hendrik Saly commented on GERONIMO-6526:
----------------------------------------

its fixed but not released yet, use the snapshot or compile yourself from trunk to get it work

> 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
(Continue reading)

aurelien leboulanger (JIRA | 23 Jan 11:48 2015
Picon

[jira] [Commented] (GERONIMO-6526) IMAP connection via java mail api (geronimo-javamail_1.4_mail) throws NPE


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

aurelien leboulanger commented on GERONIMO-6526:
------------------------------------------------

Hello,

I still have an NPE with the 1.8.4 version of geronimo with this sample : 

{code:java}
Properties props = new Properties();
props.setProperty("mail.store.protocol", "imap");
props.setProperty("mail.imap.ssl.enable", "true");
props.setProperty("mail.imap.ssl.checkserveridentity", "false");
props.setProperty("mail.imap.ssl.trust", "*");
Session session = Session.getInstance(props);
Store store = session.getStore();
store.connect(host, login, password);{code}

{quote}
java.lang.NullPointerException
	at org.apache.geronimo.javamail.store.imap.connection.IMAPTaggedResponse.isBAD(IMAPTaggedResponse.java:86)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.receiveResponse(IMAPConnection.java:410)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.sendCommand(IMAPConnection.java:324)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processLogin(IMAPConnection.java:598)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processPlainAuthentication(IMAPConnection.java:537)
	at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.login(IMAPConnection.java:488)
(Continue reading)

Martyn Taylor | 14 Jan 17:47 2015
Picon

Geronimo release request

Hi all,

I'd like to request a new release of Geronimo.

One of the recent additions to the geronimo-specs project is a new JMS 
2.0 spec jar[1].  We have swapped out a legacy dependency on a JBoss JMS 
2.0 spec jar with a snapshot build of geronimo-spec jms 2.0 as part of 
the IP Clearance process of the ActiveMQ6[2] project.  The ActiveMQ6 
test suite is currently passing against our JMS 2.0 implementation with 
this new Geronimo JMS 2.0 snapshot jar in place.  We are hoping to 
utilize an official release of this jar to get us through IP clearance, 
allowing us to start thinking about an initial ActiveMQ6 release.

If there is anything I can do to help with this process, please let me know.

Kind regards
Martyn

[1] https://github.com/apache/geronimo-specs/pull/2
[2] https://github.com/apache/activemq-6


Gmane