Uploaded image for project: 'Fuse Tools'
  1. Fuse Tools
  2. FUSETOOLS-562

StackOverflowException when browsing route in Fuse IDE

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      2.1.288

      Description

      See PROD-1326 which is from a customer using latest beta version.

        Gliffy Diagrams

        1. prod1326_simple.xml
          2 kB
          Lars Heinemann
        1. screenshot-1.jpg
          201 kB
        2. screenshot-2.jpg
          179 kB
        3. screenshot-3.jpg
          200 kB

          Activity

          Hide
          it1 IT Tenaska added a comment -

          I am still getting the StackOverflowError on the version I updated to today (2.1.345) when I try to add a route (right-click on design surface and select "add route"). Also, the when I try to edit routes, only one route in the list is ever shown in the designer, no matter which one I select from the JMX explorer. In the old 2.0 versions, the designer would show all the routes in the context at once on the design surface. Now it only shows the first one and there is no way (that I can see) to see/edit the other routes.

          Show
          it1 IT Tenaska added a comment - I am still getting the StackOverflowError on the version I updated to today (2.1.345) when I try to add a route (right-click on design surface and select "add route"). Also, the when I try to edit routes, only one route in the list is ever shown in the designer, no matter which one I select from the JMX explorer. In the old 2.0 versions, the designer would show all the routes in the context at once on the design surface. Now it only shows the first one and there is no way (that I can see) to see/edit the other routes.
          Hide
          it1 IT Tenaska added a comment - - edited

          More details... If I select "Edit Routes" from the right-click contextual menu on the Camel Context in the JMX explorer, it does open only one route and only the first route of the nine routes I have defined. However, the "Routes" menu on the top menu bar allows you to select different routes. If I select a different route from that menu, I get a StackOverflowError with this stack trace (truncated):

          java.lang.StackOverflowError
          at java.util.ArrayList.toArray(Unknown Source)
          at java.util.ArrayList.<init>(Unknown Source)
          at com.fusesource.rider.model.AbstractNode.getSourceConnections(AbstractNode.java:884)
          at com.fusesource.rider.model.AbstractNode.getOutputs(AbstractNode.java:717)
          at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1379)
          at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1381)
          at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1381)
          at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1381)
          ...

          I have attached some supporting screenshots.

          Show
          it1 IT Tenaska added a comment - - edited More details... If I select "Edit Routes" from the right-click contextual menu on the Camel Context in the JMX explorer, it does open only one route and only the first route of the nine routes I have defined. However, the "Routes" menu on the top menu bar allows you to select different routes. If I select a different route from that menu, I get a StackOverflowError with this stack trace (truncated): java.lang.StackOverflowError at java.util.ArrayList.toArray(Unknown Source) at java.util.ArrayList.<init>(Unknown Source) at com.fusesource.rider.model.AbstractNode.getSourceConnections(AbstractNode.java:884) at com.fusesource.rider.model.AbstractNode.getOutputs(AbstractNode.java:717) at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1379) at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1381) at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1381) at com.fusesource.rider.model.AbstractNode.appendDescendents(AbstractNode.java:1381) ... I have attached some supporting screenshots.
          Hide
          lhein Lars Heinemann added a comment -

          Added a smaller camel context file which should cause the same issue.

          Show
          lhein Lars Heinemann added a comment - Added a smaller camel context file which should cause the same issue.
          Hide
          davsclaus Claus Ibsen added a comment -

          The attached file prod1326_simple.xml is not a valid route.

          Show
          davsclaus Claus Ibsen added a comment - The attached file prod1326_simple.xml is not a valid route.
          Hide
          davsclaus Claus Ibsen added a comment -

          There is no longer a stack overflow with latest IDE.

          Show
          davsclaus Claus Ibsen added a comment - There is no longer a stack overflow with latest IDE.
          Hide
          it1 IT Tenaska added a comment -

          Fantastic. Just tested and it is now working. I have another issue saving routes now, but I'll log that as a separate issue.

          Show
          it1 IT Tenaska added a comment - Fantastic. Just tested and it is now working. I have another issue saving routes now, but I'll log that as a separate issue.
          Hide
          tsedmik Tomáš Sedmík added a comment -

          verified - JBDSIS 8.0.2.GA

          Show
          tsedmik Tomáš Sedmík added a comment - verified - JBDSIS 8.0.2.GA

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development