franz1981 edited a comment on issue #2960: NO-JIRA Fix compiler warning in 
FederationStreamConnectMessage
URL: https://github.com/apache/activemq-artemis/pull/2960#issuecomment-581136720
 
 
   @sebthom @cshannon 
   I'm going to revert this:
   ```java
   020-02-01 20:37:19,445 WARN  [org.apache.activemq.artemis.core.server] 
AMQ222218: Server disconnecting: Error decoding buffer: 
java.lang.IllegalStateException: java.lang.IllegalStateException: Error. Unable 
to instantiate FederationPolicy: 
org.apache.activemq.artemis.core.config.federation.FederationAddressPolicyConfiguration.<init>(null)
        at 
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:390)
 [:]
        at 
org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:654)
 [:]
        at 
org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnection$1.run(InVMConnection.java:204)
 [:]
        at 
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
 [:]
        at 
org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
 [:]
        at 
org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:66)
 [:]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[rt.jar:1.8.0_66]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[rt.jar:1.8.0_66]
        at 
org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
 [:]
   Caused by: java.lang.IllegalStateException: Error. Unable to instantiate 
FederationPolicy: 
org.apache.activemq.artemis.core.config.federation.FederationAddressPolicyConfiguration.<init>(null)
        at 
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.FederationStreamConnectMessage.getFederationPolicy(FederationStreamConnectMessage.java:153)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.FederationStreamConnectMessage.decodeRest(FederationStreamConnectMessage.java:131)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.decode(PacketImpl.java:364)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.ServerPacketDecoder.slowPathDecode(ServerPacketDecoder.java:266)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.ServerPacketDecoder.decode(ServerPacketDecoder.java:138)
 [:]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:377)
 [:]
        ... 8 more
   Caused by: java.lang.NoSuchMethodException: 
org.apache.activemq.artemis.core.config.federation.FederationAddressPolicyConfiguration.<init>(null)
        at java.lang.Class.getConstructor0(Class.java:3082) [rt.jar:1.8.0_66]
        at java.lang.Class.getConstructor(Class.java:1825) [rt.jar:1.8.0_66]
        at 
org.apache.activemq.artemis.core.protocol.core.impl.wireformat.FederationStreamConnectMessage.getFederationPolicy(FederationStreamConnectMessage.java:151)
 [:]
        ... 13 more
   
   ```
   Now running the CI vs https://github.com/apache/activemq-artemis/pull/2968

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to