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

ASF GitHub Bot commented on ARTEMIS-1655:
-----------------------------------------

GitHub user michaelandrepearce opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1839

    ARTEMIS-1655 TransportConfiguration - only encode non-null values

    Check for null, to avoid encoding issue, this is seen on failover.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michaelandrepearce/activemq-artemis 
ARTEMIS-1655

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1839.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1839
    
----
commit 457e96b039a611e87bd8a4e7eb605525e0a815f0
Author: Michael André Pearce <michael.andre.pearce@...>
Date:   2018-02-02T09:52:38Z

    ARTEMIS-1655 TransportConfiguration - only encode non-null values
    
    Check for null, to avoid encoding issue, this is seen on failover.

----


> During failover a null key in TransportConfiguration is causing error during 
> encode.
> ------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1655
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1655
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Michael Andre Pearce
>            Assignee: Michael Andre Pearce
>            Priority: Major
>
> 09:34:37,659 WARN  [org.apache.activemq.artemis.utils.actors.OrderedExecutor] 
> AMQ119033: Invalid type: n
> ull: java.lang.IllegalArgumentException: AMQ119033: Invalid type: null
>         at 
> org.apache.activemq.artemis.api.core.TransportConfiguration.encodeMap(TransportConfiguration.
> java:317) [artemis-core-client-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.api.core.TransportConfiguration.encode(TransportConfiguration.jav
> a:336) [artemis-core-client-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
>         at 
> org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage_V
> 2.encodeRest(ClusterTopologyChangeMessage_V2.java:88) 
> [artemis-core-client-2.5.0-SNAPSHOT.jar:2.5.0-SNAP
> SHOT]
>         at 
> org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage_V
> 3.encodeRest(ClusterTopologyChangeMessage_V3.java:60) 
> [artemis-core-client-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to