[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-2420) Exception appears on "<ctrl>+z" combination in jsp page.

Svetlana Yasenovich (JIRA) jira-events at lists.jboss.org
Fri Mar 19 13:15:39 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svetlana Yasenovich closed JBIDE-2420.
--------------------------------------



Verified on jbdevstudio-eap-win32-3.0.0.v201003100055R-H50-GA: work properly.

> Exception appears on "<ctrl>+z" combination in jsp page. 
> ---------------------------------------------------------
>
>                 Key: JBIDE-2420
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2420
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor Templates
>    Affects Versions: 3.0.0.alpha
>         Environment: subversion revision 8913
> windows xp
>            Reporter: Andrei Scherbovich
>            Assignee: Victor Rubezhny
>             Fix For: 3.0.0.beta1
>
>
> Exception appears on "<ctrl>+z" combination in jsp page.
> Steps:
> EXECUTE: Use content assist to enter any tag on jsp page (<f:facet> e.g.)
> EXECUTE: Press "<ctrl>+z" to undo last action
> FAILURE: Exception appears
> java.lang.RuntimeException: java.lang.IllegalStateException: already in a rewrite session
> 	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.startRewriteSession(JobSafeStructuredDocument.java:224)
> 	at org.eclipse.wst.sse.core.internal.undo.StructuredTextUndoManager.undo(StructuredTextUndoManager.java:636)
> 	at org.eclipse.wst.sse.ui.StructuredTextViewerUndoManager.undo(StructuredTextViewerUndoManager.java:183)
> 	at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3718)
> 	at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:891)
> 	at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1423)
> 	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:595)
> 	at org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor$JSPStructuredTextViewer.doOperation(JSPTextEditor.java:675)
> 	at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
> 	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:471)
> 	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:822)
> 	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:511)
> 	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:126)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1184)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
> 	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
> 	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
> 	at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1352)
> 	at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3894)
> 	at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:341)
> 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:3787)
> 	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
> 	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> 	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2370)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> 	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:193)
> 	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:382)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
> Caused by: java.lang.IllegalStateException: already in a rewrite session
> 	at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalStartRewriteSession(BasicStructuredDocument.java:2775)
> 	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:204)
> 	at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:42)
> 	at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.startRewriteSession(JobSafeStructuredDocument.java:216)
> 	... 59 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list