Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
2.1.0
-
None
Description
I tried to create this issue previously, but then it said that I did not have permissions to view the ticket I just created, so I am trying again thinking that maybe my session expired or something.
So, what is happening is that I can now edit routes in the IDE without a stack overflow error, but when I try to save them, even with just a simple modification to a description of a component, I get two errors thrown:
A Save Failed: java.lang.reflect.InvocationTargetException error dialog is displayed. In the workspace error log, there are two errors. One has no stack trace and the same info as the dialog. The second has more extensive information. Interestingly, if I try to refresh the routes after this occurs, I get a StackOverflowError. Also, the errors about no output processor are not correct. All of the routes have output processors. If I close the IDE and then open up again and go to JMX browser, there are duplicate routes showing. It appears that it is not updating the existing routes, but rather creating new ones. Below are the errors:
eclipse.buildId=M20120208-0800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
Warning
Tue Apr 10 16:46:47 CDT 2012
Save Failed
java.lang.reflect.UndeclaredThrowableException
at $Proxy4.addOrUpdateRoutesFromXml(Unknown Source)
at com.fusesource.ide.fabric.camel.navigator.CamelContextNode.updateXml(CamelContextNode.java:123)
at com.fusesource.ide.fabric.camel.editor.CamelContextNodeEditorInput.save(CamelContextNodeEditorInput.java:86)
at com.fusesource.rider.editor.editor.RiderDesignEditor.saveCamelEditorInput(RiderDesignEditor.java:1340)
at com.fusesource.rider.editor.editor.RiderDesignEditor.saveModelToFile(RiderDesignEditor.java:1329)
at com.fusesource.rider.editor.editor.RiderDesignEditor.doSave(RiderDesignEditor.java:828)
at com.fusesource.rider.editor.editor.RiderEditor.doSave(RiderEditor.java:392)
at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:277)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2649)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:285)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:264)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1399)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3416)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3429)
at org.eclipse.ui.internal.handlers.SaveHandler.execute(SaveHandler.java:54)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.fusesource.fmc.camel.facade.CamelFacadeSupport$1.invoke(CamelFacadeSupport.java:77)
... 56 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy3.addOrUpdateRoutesFromXml(Unknown Source)
... 61 more
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route errorHandlerRoute1 at: >>> From[activemq:topic:VirtualTopic.ISOProxy.ErcotToTenaska] <<< in route: Route[[From[activemq:topic:VirtualTopic.ISOProxy.ErcotToTena... because of Route errorHandlerRoute1 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:865)
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:171)
at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:715)
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1743)
at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:659)
at org.apache.camel.management.mbean.ManagedCamelContext.addOrUpdateRoutesFromXml(ManagedCamelContext.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalArgumentException: Route errorHandlerRoute1 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:863)
... 37 more
____________________________________________________________________________________________
eclipse.buildId=M20120208-0800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
Error
Tue Apr 10 16:50:50 CDT 2012
Unhandled event loop exception
java.lang.StackOverflowError
at com.fusesource.ide.fabric.camel.navigator.ProcessorBeanView.<init>(ProcessorBeanView.java:20)
at com.fusesource.ide.fabric.camel.navigator.CamelContextNode.createProcessorBeanView(CamelContextNode.java:426)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNode.createPropertyBean(ProcessorNode.java:52)
at com.fusesource.rider.commons.tree.NodeSupport.getPropertyBean(NodeSupport.java:70)
at com.fusesource.rider.commons.tree.NodeSupport.createPropertySource(NodeSupport.java:56)
at com.fusesource.rider.commons.tree.NodeSupport.getPropertySource(NodeSupport.java:85)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:69)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
at com.fusesource.ide.fabric.camel.navigator.ProcessorNodeSupport.appendAllProcessorSourceList(ProcessorNodeSupport.java:73)
Let me know if you need more information...
-Michael