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

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

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

ASF subversion and git services commented on AMQ-6297:
------------------------------------------------------

Commit daf7e85e68e2403bc9e86948ae38adaa3e55ad69 in activemq's branch refs/heads/master from [~gtully]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=daf7e85 ]

https://issues.apache.org/jira/browse/AMQ-6297 - null check for case where interface has no bindings


> 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
>            Assignee: Gary Tully
>
> 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}
> Properties
> {code}
> activemq.network.connector.uri=multicast://default
> activemq.transport.connector.uri=tcp://localhost:0
> activemq.transport.connector.discovery.uri=multicast://default
> {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)