[jbosstools-issues] [JBoss JIRA] (JBDS-3152) Cheatsheet crashes silently when they need to open files

Snjezana Peco (JIRA) issues at jboss.org
Fri Sep 19 03:45:04 EDT 2014


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

Snjezana Peco commented on JBDS-3152:
-------------------------------------

The issue happens because the JBoss Perspective adds a placeholder for the Cheat Sheets view in a way incompatible with Eclipse >=4.2.
It can be reproduced in JBT when using the JBoss perspective.
It is enough to open any cheatsheet and an editor after it. 

You have to test the patch in a new workspace because resetting the JBoss Perspective doesn't help.
https://github.com/jbosstools/jbosstools-base/pull/318 fixes this issue.

> Cheatsheet crashes silently when they need to open files
> --------------------------------------------------------
>
>                 Key: JBDS-3152
>                 URL: https://issues.jboss.org/browse/JBDS-3152
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: central
>         Environment: JBDS 8.0.0.CR1b, OSX 10.9.4
>            Reporter: Fred Bricon
>            Assignee: Snjezana Peco
>            Priority: Blocker
>             Fix For: 8.0.0.CR2
>
>
> After creating a AngularJS Forge project, the cheatsheet opens, then, after clicking a couple times on the continue buttons, persistence.xml opens but the cheatsheet closes silently. The log shows : 
> {quote}
> org.eclipse.swt.SWTException: Widget is disposed
> 	at org.eclipse.swt.SWT.error(SWT.java:4441)
> 	at org.eclipse.swt.SWT.error(SWT.java:4356)
> 	at org.eclipse.swt.SWT.error(SWT.java:4327)
> 	at org.eclipse.swt.widgets.Widget.error(Widget.java:783)
> 	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:573)
> 	at org.eclipse.swt.widgets.Control.setCursor(Control.java:3659)
> 	at org.eclipse.ui.internal.cheatsheets.views.CheatSheetViewer.runSubItemPerformExecutable(CheatSheetViewer.java:1096)
> 	at org.eclipse.ui.internal.cheatsheets.views.CoreItem$4.linkActivated(CoreItem.java:198)
> 	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
> 	at org.eclipse.ui.forms.widgets.ImageHyperlink.handleActivate(ImageHyperlink.java:199)
> 	at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
> 	at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
> 	at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> {quote} 
> It used to work at some point, last week.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list