Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-562
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Claus Ibsen
Reporter: Claus Ibsen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

StackOverflowException when browsing route in Fuse IDE

Created: 02/Mar/12 08:07 AM   Updated: 25/May/12 08:40 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1.0

File Attachments: 1. XML File prod1326_simple.xml (2 kB)

Image Attachments:

1. screenshot-1.jpg
(201 kB)

2. screenshot-2.jpg
(179 kB)

3. screenshot-3.jpg
(200 kB)
Environment: 2.1.288


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

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
IT Tenaska added a comment - 14/Mar/12 09:44 PM
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.

IT Tenaska added a comment - 14/Mar/12 09:50 PM - 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.


Lars Heinemann added a comment - 30/Mar/12 12:07 PM
Added a smaller camel context file which should cause the same issue.

Claus Ibsen added a comment - 03/Apr/12 12:47 PM
The attached file prod1326_simple.xml is not a valid route.

Claus Ibsen added a comment - 03/Apr/12 02:05 PM
There is no longer a stack overflow with latest IDE.

IT Tenaska added a comment - 10/Apr/12 09:01 PM
Fantastic. Just tested and it is now working. I have another issue saving routes now, but I'll log that as a separate issue.