Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5045

Remove e.printStackTrace() from code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR8
    • 7.0.1.CR1
    • ActiveMQ
    • None

      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()

            dtikhomi@redhat.com Dmitrii Tikhomirov
            mnovak1@redhat.com Miroslav Novak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: