Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4814

EAP 5.1 CR2 - EmbeddedTools failed to show any details about an AtomicAction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • TBD EAP 5
    • EAP_EWP 5.1.0_CR2
    • Transaction Manager
    • None
    • EAP 5.1.0 CR2

    • Hide

      Restart JBossTS embedded tools. This will clear the error.

      Show
      Restart JBossTS embedded tools. This will clear the error.
    • Hide
      When trying to obtain an ORB, in the constructor for <classname>com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.abstractrecord.ResourceRecordViewer</classname>, the code only caught <systemitem>java.lang.Exception</systemitem>, but the failure throws <systemitem>java.lang.Error (caused by "address in use")</systemitem>. As a result, an exception was leaking out, causing the tool to fail to complete its initialization. The plugin code was updated to catch <systemitem>Throwable</systemitem> instead of <systemitem>Exception</systemitem> and the plugin can now finish its initialization.
      Show
      When trying to obtain an ORB, in the constructor for <classname>com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.abstractrecord.ResourceRecordViewer</classname>, the code only caught <systemitem>java.lang.Exception</systemitem>, but the failure throws <systemitem>java.lang.Error (caused by "address in use")</systemitem>. As a result, an exception was leaking out, causing the tool to fail to complete its initialization. The plugin code was updated to catch <systemitem>Throwable</systemitem> instead of <systemitem>Exception</systemitem> and the plugin can now finish its initialization.
    • Documented as Resolved Issue

      The JBossTS Embedded Tools has a problem with showing detailed information about a transaction.

      I hit an issue when I started the tools from jmx-console and unfolded items in HashedActionStore like ObjectStore -> StateManager -> BasicAction -> TwoPhaseCoordinator -> AtomicAction -> 7f000001:a38c:4c5c103d:6e. The last item was not able to unfold due to this error:

      server.log's snippet:
      16:09:32,529 ERROR [STDERR] java.lang.NullPointerException
      16:09:32,530 ERROR [STDERR] at com.arjuna.ats.tools.objectstorebrowser.frames.BrowserFrame.updateTreePath(BrowserFrame.java:499)
      16:09:32,530 ERROR [STDERR] at com.arjuna.ats.tools.objectstorebrowser.frames.BrowserFrame.valueChanged(BrowserFrame.java:450)
      16:09:32,530 ERROR [STDERR] at javax.swing.JTree.fireValueChanged(JTree.java:2820)
      16:09:32,530 ERROR [STDERR] at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3191)
      16:09:32,530 ERROR [STDERR] at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
      16:09:32,530 ERROR [STDERR] at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
      16:09:32,530 ERROR [STDERR] at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
      16:09:32,530 ERROR [STDERR] at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
      16:09:32,530 ERROR [STDERR] at javax.swing.JTree.setSelectionPath(JTree.java:1598)
      16:09:32,530 ERROR [STDERR] at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2311)
      16:09:32,530 ERROR [STDERR] at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3520)
      16:09:32,530 ERROR [STDERR] at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3459)
      16:09:32,530 ERROR [STDERR] at java.awt.Component.processMouseEvent(Component.java:6264)
      16:09:32,530 ERROR [STDERR] at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      16:09:32,530 ERROR [STDERR] at java.awt.Component.processEvent(Component.java:6032)
      16:09:32,530 ERROR [STDERR] at java.awt.Container.processEvent(Container.java:2041)
      16:09:32,530 ERROR [STDERR] at java.awt.Component.dispatchEventImpl(Component.java:4630)
      16:09:32,530 ERROR [STDERR] at java.awt.Container.dispatchEventImpl(Container.java:2099)
      16:09:32,531 ERROR [STDERR] at java.awt.Component.dispatchEvent(Component.java:4460)
      16:09:32,531 ERROR [STDERR] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      16:09:32,531 ERROR [STDERR] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235)
      16:09:32,531 ERROR [STDERR] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      16:09:32,531 ERROR [STDERR] at java.awt.Container.dispatchEventImpl(Container.java:2085)
      16:09:32,531 ERROR [STDERR] at java.awt.Window.dispatchEventImpl(Window.java:2478)
      16:09:32,531 ERROR [STDERR] at java.awt.Component.dispatchEvent(Component.java:4460)
      16:09:32,531 ERROR [STDERR] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      16:09:32,531 ERROR [STDERR] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      16:09:32,531 ERROR [STDERR] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      16:09:32,531 ERROR [STDERR] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      16:09:32,531 ERROR [STDERR] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      16:09:32,531 ERROR [STDERR] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      16:09:32,531 ERROR [STDERR] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

      I tried this with the same result in 'all' and 'default' profile of EAP.

              rdickens_jira Russell Dickenson (Inactive)
              istudens@redhat.com Ivo Studensky
              Misty Stanley-Jones Misty Stanley-Jones (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: