You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2016/06/30 17:15:10 UTC

[jira] [Closed] (ARTEMIS-603) Remove e.printStackTrace() from code

     [ https://issues.apache.org/jira/browse/ARTEMIS-603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

clebert suconic closed ARTEMIS-603.
-----------------------------------
    Resolution: Fixed

> Remove e.printStackTrace() from code
> ------------------------------------
>
>                 Key: ARTEMIS-603
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-603
>             Project: ActiveMQ Artemis
>          Issue Type: Task
>    Affects Versions: 1.3.0
>            Reporter: Dmitrii Tikhomirov
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> ActiveMQActivationSpec.validate() method should not call e.printStackTrace(); in catch block. It should be properly logged:
>       try {
>        ...
>       catch (IntrospectionException e) {
>          e.printStackTrace();
>       }
> The same issue is in:
> InVMAcceptor.stop()
> NettyAcceptor.stop()
> ClusterManager.clear()
> ClusterManager.intercept()
> ColocatedHAManager.stop()
> ClusterConnectionImpl.disconnectRecord()
> ClusterConnectionImpl.removeRecord()
> ActiveMQServerImpl.freezeConnections()
> ColocatedActivation.allVotesCast()
> ColocatedActivation.getActivationChannelHandler()
> FileLockNodeManager.startLiveNode()
> InVMNodeManager.startLiveNode()
> RefsOperation.afterRollback()
> ServerSessionImpl.xaForget()
> SharedNothingBackupActivation.run()
> SharedStoreBackupActivation.run()
> ManagementServiceImpl.unregisterAcceptors()



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