Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Dave Syer, 1 year ago
via Spring JIRA by Dave Syer, 2 years ago
via GitHub by johardi
, 2 years ago
Cycle detected in graph
java.lang.RuntimeException: Cycle detected in graph	at org.eclipse.draw2d.graph.InitialRankSolver.solve(InitialRankSolver.java:54)	at org.eclipse.draw2d.graph.InitialRankSolver.visit(InitialRankSolver.java:33)	at org.eclipse.draw2d.graph.DirectedGraphLayout.visit(DirectedGraphLayout.java:98)	at com.springsource.sts.config.flow.parts.GraphLayoutManager.layout(GraphLayoutManager.java:56)	at org.eclipse.draw2d.Figure.layout(Figure.java:1029)	at org.eclipse.draw2d.Figure.validate(Figure.java:1739)	at com.springsource.sts.config.flow.parts.GraphLayoutManager.calculatePreferredSize(GraphLayoutManager.java:36)	at org.eclipse.draw2d.AbstractLayout.getPreferredSize(AbstractLayout.java:93)	at org.eclipse.draw2d.AbstractLayout.getMinimumSize(AbstractLayout.java:79)	at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)	at org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLayout.java:44)	at org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(AbstractHintLayout.java:68)	at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)	at org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLayout.java:44)	at org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(AbstractHintLayout.java:68)	at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)	at org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLayout.java:44)	at org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(AbstractHintLayout.java:68)	at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)	at org.eclipse.draw2d.ScalableLayeredPane.getMinimumSize(ScalableLayeredPane.java:45)	at org.eclipse.draw2d.StackLayout.calculateMinimumSize(StackLayout.java:44)	at org.eclipse.draw2d.AbstractHintLayout.getMinimumSize(AbstractHintLayout.java:68)	at org.eclipse.draw2d.Figure.getMinimumSize(Figure.java:707)	at org.eclipse.draw2d.ViewportLayout.layout(ViewportLayout.java:110)	at org.eclipse.draw2d.Figure.layout(Figure.java:1029)	at org.eclipse.draw2d.Figure.validate(Figure.java:1739)	at org.eclipse.draw2d.Viewport.validate(Viewport.java:363)	at org.eclipse.draw2d.Figure.validate(Figure.java:1741)	at com.springsource.sts.config.flow.parts.GraphAnimation.captureLayout(GraphAnimation.java:70)	at com.springsource.sts.config.flow.parts.ActivityDiagramPart$1.commandStackChanged(ActivityDiagramPart.java:37)	at org.eclipse.gef.commands.CommandStack.notifyListeners(CommandStack.java:273)	at org.eclipse.gef.commands.CommandStack.markSaveLocation(CommandStack.java:262)	at com.springsource.sts.config.flow.AbstractConfigGraphicalEditor.doSave(AbstractConfigGraphicalEditor.java:97)	at com.springsource.sts.config.ui.editors.SpringConfigEditor.doSave(SpringConfigEditor.java:413)	at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper.java:151)	at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)	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:2579)	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)	at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)	at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:156)	at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1357)	at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3328)	at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3341)	at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:76)	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)	at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)	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.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1467)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1175)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1212)	at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:706)	at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837)	at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703)	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1570)	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4587)	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4191)	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:7588)	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185)	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1860)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)	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:368)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)	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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)	at org.eclipse.equinox.launcher.Main.main(Main.java:1287)