[ 
https://issues.apache.org/jira/browse/ARTEMIS-2997?focusedWorklogId=512902&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-512902
 ]

ASF GitHub Bot logged work on ARTEMIS-2997:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Nov/20 14:18
            Start Date: 17/Nov/20 14:18
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request #3345:
URL: https://github.com/apache/activemq-artemis/pull/3345


   


----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 512902)
    Remaining Estimate: 0h
            Time Spent: 10m

> artemis-jms-client: NPE on toString(), ActiveMQQueue/ActiveMQTopic
> ------------------------------------------------------------------
>
>                 Key: ARTEMIS-2997
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2997
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.16.0
>            Reporter: Ingemar Allqvist
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> artemis-jms-client
> If an ActiveMQQueue or an ActiveMQTopic is intantiated with the default 
> constructor, a call to the toString-method will fail with an NPE (since the 
> field simpleAddress is null).
> Actually, all of toString(), getName() and getAddress() will fail.
> This is fatal when defining a queue or a topic as a JCA admin-object in a 
> Resource Adapter in Weblogic Server, since it attempts to "serialize" the 
> object using the toString()-method - before it sets the Address through the 
> property definitions. I don't know how well it "plays" with other app servers.
> Anyway, I consider it a bug if an object created by a public constructor 
> can't evaluate toString().



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to