You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Stephen Baker (Jira)" <ji...@apache.org> on 2022/02/02 13:38:00 UTC

[jira] [Closed] (ARTEMIS-3665) NullPointerException in ServerLocator.createSessionFactory

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

Stephen Baker closed ARTEMIS-3665.
----------------------------------
    Fix Version/s: 2.20.0
       Resolution: Fixed

> NullPointerException in ServerLocator.createSessionFactory
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-3665
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3665
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.17.0
>         Environment: Linux version 3.10.0-1160.49.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 30 15:51:32 UTC 2021
> Artemis 2.17.0
> Connection string is:
> (tcp://ba-artms21.qa.raveu.net:61616,tcp://ba-artms22.qa.raveu.net:61616)
>            Reporter: Stephen Baker
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.20.0
>
>
> In one environment I am frequently seeing a {{NullPointerException}} in {{ServerLocator.createSessionFactory()}}:
> {noformat}
> java.lang.NullPointerException
>   at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.<init>(ClientSessionFactoryImpl.java:189
>   at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:683){noformat}
> The line in the report is:
> {noformat}
> connectorFactory = instantiateConnectorFactory(connectorConfig.getA().getFactoryClassName());{noformat}
> Unfortunately I'm not able to reproduce in my development environment which makes debugging difficult.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)