[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7871) Exception after I close one of 3 Properties View in JBDS

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Dec 17 08:23:17 EST 2010


    [ https://issues.jboss.org/browse/JBIDE-7871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570990#comment-12570990 ] 

Viacheslav Kabanovich commented on JBIDE-7871:
----------------------------------------------

I have reproduced this problem with WTP's XML editor. For the purity of the experiment, all editors should be closed at the previous Eclipse run. 
1. Open Properties view.
2. Open an xml (even empty file will do) in WTP's XML editor. No need to select anything.
3. Open New Properties view, leave the 'old' properties view pinned.
4. Click inside both Properties views (inside space where properties are to be displayed) - this sounds mumbo-jumbo, but it is necessary.
5. Close the 'new' properties view.
6. Click 'View Menu' button on the toolbar  of the 'old' properties view (e.g. to navigate to 'New Properties view' action again, but no need to invoke it).
7. Find the exception.

I am not sure that this is an issue of WTP's XML editor, it may be that of Properties view itself. Vitali, please try it with other editors that provide properties source. In any case, this issue should be reported to Eclipse bugzilla. I will set it as UpStream.

> Exception after I close one of 3 Properties View in JBDS
> --------------------------------------------------------
>
>                 Key: JBIDE-7871
>                 URL: https://issues.jboss.org/browse/JBIDE-7871
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.2.0.Beta2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.CR1
>
>
> https://issues.jboss.org/browse/JBIDE-7870 - steps to reproduce are here, then just close one of Properties View
> org.eclipse.swt.SWTException: Widget is disposed
> at org.eclipse.swt.SWT.error(SWT.java:4083)
> at org.eclipse.swt.SWT.error(SWT.java:3998)
> at org.eclipse.swt.SWT.error(SWT.java:3969)
> at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
> at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
> at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1043)
> at org.eclipse.ui.views.properties.PropertySheetPage.setFocus(PropertySheetPage.java:536)
> at org.eclipse.wst.sse.ui.internal.properties.ConfigurablePropertySheetPage.setFocus(ConfigurablePropertySheetPage.java:205)
> at org.eclipse.ui.part.PageBookView.setFocus(PageBookView.java:882)
> at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:332)
> at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:629)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.runtime.Platform.run(Platform.java:888)
> at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:624)
> at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3533)
> at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077)
> at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
> at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:192)
> at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:101)
> at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
> at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:282)
> at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$2(DefaultTabFolder.java:1)
> at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$4.mouseDown(DefaultTabFolder.java:134)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:185)
> 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:4066)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> 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(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:619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list