Fuse IDE
  1. Fuse IDE
  2. ECLIPSE-562

StackOverflowException when browsing route in Fuse IDE

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      2.1.288
    • Similar Issues:
      Show 7 results 

      Description

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

      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
        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
        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
        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
        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
        Lars Heinemann
        added a comment -

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

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

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

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

        There is no longer a stack overflow with latest IDE.

        Show
        Claus Ibsen
        added a comment - There is no longer a stack overflow with latest IDE.
        Hide
        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
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: