ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] Assigned: (IVYDE-81) An error occur when closing a project while the ivy editor is open
Date Wed, 26 Mar 2008 08:27:24 GMT

     [ https://issues.apache.org/jira/browse/IVYDE-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicolas Lalevée reassigned IVYDE-81:
------------------------------------

    Assignee: Nicolas Lalevée

> An error occur when closing a project while the ivy editor is open
> ------------------------------------------------------------------
>
>                 Key: IVYDE-81
>                 URL: https://issues.apache.org/jira/browse/IVYDE-81
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 1.3.0
>         Environment: Eclipse 3.2, 3.3, 3.4M5
>            Reporter: Nicolas Lalevée
>            Assignee: Nicolas Lalevée
>             Fix For: 1.3.0
>
>         Attachments: IVYDE-81-r633150.patch
>
>
> The project have to hold a ivy.xml, this file being edited by the Ivy editor.
> Then close the project. On close the editor should also be closed, but it fails.
> Here is the stack trace from the error log view.
> {noformat}
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException:
org.apache.ivyde.eclipse.ui.core.IvyFileEditorInput cannot be cast to org.eclipse.ui.part.FileEditorInput)
> 	at org.eclipse.swt.SWT.error(SWT.java:3563)
> 	at org.eclipse.swt.SWT.error(SWT.java:3481)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
> 	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 	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:508)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.ClassCastException: org.apache.ivyde.eclipse.ui.core.IvyFileEditorInput
cannot be cast to org.eclipse.ui.part.FileEditorInput
> 	at org.apache.ivyde.eclipse.ui.editors.IvyEditor$1.run(IvyEditor.java:198)
> 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
> 	... 23 more
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message