ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <>
Subject [jira] Created: (IVYDE-81) An error occur when closing a project while the ivy editor is open
Date Mon, 03 Mar 2008 16:04:54 GMT
An error occur when closing a project while the ivy editor is open

                 Key: IVYDE-81
             Project: IvyDE
          Issue Type: Bug
    Affects Versions: 1.3.0
         Environment: Eclipse 3.2, 3.3, 3.4M5
            Reporter: Nicolas Lalevée

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.
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(
	at org.eclipse.swt.SWT.error(
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
	at org.eclipse.swt.widgets.Display.runAsyncMessages(
	at org.eclipse.swt.widgets.Display.readAndDispatch(
	at org.eclipse.ui.internal.Workbench.runEventLoop(
	at org.eclipse.ui.internal.Workbench.runUI(
	at org.eclipse.ui.internal.Workbench.access$4(
	at org.eclipse.ui.internal.Workbench$
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.eclipse.equinox.launcher.Main.invokeFramework(
	at org.eclipse.equinox.launcher.Main.basicRun(
	at org.eclipse.equinox.launcher.Main.main(
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$
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
	... 23 more

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

View raw message