]
Koen Aers resolved JBIDE-8589.
------------------------------
Resolution: Done
This problem was due to a Forge runtime issue. It was fixed in the runtime and an update
of the embedded runtime solved the issue in 3.3.0.M1
Opening the seam forge tools console goes into an infinite loop on
windows
--------------------------------------------------------------------------
Key: JBIDE-8589
URL:
https://issues.jboss.org/browse/JBIDE-8589
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.3.0.M1
Environment: Windows 7, Helios SR2, Forge Tools 1.0.0.v20110311-0200-H17-Alpha1
from the nightly build
Reporter: Fred Bricon
Assignee: Koen Aers
Priority: Blocker
Fix For: 3.3.0.M1
After opening the Forge Console view, if I click on the Start forge button, whether I
selected a project beforehand or not, the console goes into an infinite loop, eating all
the CPU.
Relevant parts of the thread dump are
{noformat}
"main" prio=6 tid=0x01399400 nid=0x1bcc runnable [0x0039d000]
java.lang.Thread.State: RUNNABLE
at org.eclipse.swt.internal.win32.OS.ScriptPlace(Native Method)
at org.eclipse.swt.graphics.TextLayout.shape(TextLayout.java:3337)
at org.eclipse.swt.graphics.TextLayout.computeRuns(TextLayout.java:356)
at org.eclipse.swt.graphics.TextLayout.getBounds(TextLayout.java:1565)
at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:212)
at
org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:229)
at org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:7783)
at org.eclipse.swt.custom.StyledText.handleTextChanged(StyledText.java:6202)
at org.eclipse.swt.custom.StyledText$6.textChanged(StyledText.java:5636)
at
org.eclipse.ui.internal.console.ConsoleDocumentAdapter.documentChanged(ConsoleDocumentAdapter.java:375)
- locked <0x14fac538> (a org.eclipse.ui.internal.console.ConsoleDocumentAdapter)
at
org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:769)
at
org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:736)
at
org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:721)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:796)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1191)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)
at org.eclipse.ui.internal.console.ConsoleDocument.replace(ConsoleDocument.java:82)
- locked <0x14fac298> (a org.eclipse.ui.internal.console.ConsoleDocument)
at org.jboss.tools.seam.forge.console.Console$1.run(Console.java:148)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
- locked <0x14fc7df0> (a org.eclipse.swt.widgets.RunnableLock)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at
org.eclipse.ui.internal.WorkbenchWindow.canHandleShellCloseEvent(WorkbenchWindow.java:817)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:686)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
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.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1665)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4164)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:497)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4253)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2454)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:497)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4253)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
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:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
{noformat}
Full thread dumps are available [
here|http://pastie.org/1670643] and
[
there|http://pastie.org/1670653]
The infinite loop keeps displaying $ [noproject] myworkspace
For the record, I've seen similar behavior trying to get maven shell working under
eclipse. Both projects use jline
regards,
Fred Bricon
--
This message is automatically generated by JIRA.
For more information on JIRA, see: