You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Darmen Zhakenov (JIRA)" <ji...@apache.org> on 2016/05/20 05:40:12 UTC

[jira] [Created] (AMQ-6297) NullPointerException in MulticastDiscoveryAgent.findNetworkInterface

Darmen Zhakenov created AMQ-6297:
------------------------------------

             Summary: NullPointerException in MulticastDiscoveryAgent.findNetworkInterface
                 Key: AMQ-6297
                 URL: https://issues.apache.org/jira/browse/AMQ-6297
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 5.13.3
         Environment: Windows Server 2008 R2 Standard
jdk1.8.0_77
Apache Tomcat 8.0.30
Springframework 4.2.5.Release
            Reporter: Darmen Zhakenov


Broker configuration in spring:
{code:xml}
    <amq:broker useJmx="true" persistent="true" schedulerSupport="true" brokerName="hardcollection"
                dataDirectoryFile="file:${catalina.base}/active-mq">
        <amq:networkConnectors>
            <amq:networkConnector uri="${activemq.network.connector.uri}" />
        </amq:networkConnectors>
        <amq:transportConnectors>
            <amq:transportConnector uri="${activemq.transport.connector.uri}" discoveryUri="${activemq.transport.connector.discovery.uri}"/>
        </amq:transportConnectors>
    </amq:broker>
{code}

Exception throwed when broker is starting.
{quote}
Caused by: java.lang.NullPointerException: null
	at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.findNetworkInterface(MulticastDiscoveryAgent.java:351)
	at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgent.start(MulticastDiscoveryAgent.java:324)
	at org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:253)
	at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2680)
	at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2594)
	at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:756)
	at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:718)
	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:621)
	at org.apache.activemq.broker.BrokerService.autoStart(BrokerService.java:575)
	at org.apache.activemq.broker.BrokerService.postConstruct(BrokerService.java:562)
	... 69 common frames omitted
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)