[jbosstools-issues] [JBoss JIRA] (JBIDE-10784) moved -ds.xml file into META-INF file and got an exception

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Fri Feb 24 08:23:37 EST 2012


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

Vlado Pakan closed JBIDE-10784.
-------------------------------



Verified on JBT 2012-02-23_0822-H4176-Beta1.
                
> moved -ds.xml file into META-INF file and got an exception
> ----------------------------------------------------------
>
>                 Key: JBIDE-10784
>                 URL: https://issues.jboss.org/browse/JBIDE-10784
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Max Rydahl Andersen
>            Assignee: Daniel Azarov
>             Fix For: 3.3.0.Beta1
>
>
> Participant 'org.jboss.tools.jsf.jsf2moveParticipant' removed due to the following exception
> java.lang.ClassCastException: org.eclipse.core.internal.resources.Project cannot be cast to org.eclipse.core.resources.IFolder
> 	at org.jboss.tools.jsf.jsf2.refactoring.JSf2MoveParticipant.initialize(JSf2MoveParticipant.java:77)
> 	at org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant.initialize(RefactoringParticipant.java:105)
> 	at org.eclipse.ltk.core.refactoring.participants.ParticipantExtensionPoint.getParticipants(ParticipantExtensionPoint.java:100)
> 	at org.eclipse.ltk.core.refactoring.participants.ParticipantManager.loadMoveParticipants(ParticipantManager.java:121)
> 	at org.eclipse.ltk.internal.core.refactoring.resource.MoveResourcesProcessor.loadParticipants(MoveResourcesProcessor.java:280)
> 	at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:233)
> 	at org.eclipse.ltk.core.refactoring.Refactoring.checkAllConditions(Refactoring.java:160)
> 	at org.eclipse.ui.navigator.resources.ResourceDropAdapterAssistant$1.run(ResourceDropAdapterAssistant.java:499)
> 	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
> 	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
> 	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
> 	at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
> 	at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1162)
> 	at org.eclipse.ui.navigator.resources.ResourceDropAdapterAssistant.performResourceMove(ResourceDropAdapterAssistant.java:509)
> 	at org.eclipse.ui.navigator.resources.ResourceDropAdapterAssistant.handleDrop(ResourceDropAdapterAssistant.java:243)
> 	at org.eclipse.ui.navigator.CommonDropAdapter$1.run(CommonDropAdapter.java:194)
> 	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> 	at org.eclipse.ui.navigator.CommonDropAdapter.performDrop(CommonDropAdapter.java:184)
> 	at org.eclipse.jface.viewers.ViewerDropAdapter.drop(ViewerDropAdapter.java:276)
> 	at org.eclipse.ui.part.PluginDropAdapter.drop(PluginDropAdapter.java:69)
> 	at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
> 	at org.eclipse.swt.dnd.DropTarget.drop(DropTarget.java:726)
> 	at org.eclipse.swt.dnd.DropTarget.outlineView_acceptDrop_item_childIndex(DropTarget.java:744)
> 	at org.eclipse.swt.dnd.DropTarget.dropTargetProc(DropTarget.java:469)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.dnd.DropTarget.dndCallSuper(DropTarget.java:208)
> 	at org.eclipse.swt.dnd.DropTarget.performDragOperation(DropTarget.java:737)
> 	at org.eclipse.swt.dnd.DropTarget.dropTargetProc(DropTarget.java:454)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
> 	at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1092)
> 	at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:2052)
> 	at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1084)
> 	at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2519)
> 	at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:2007)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5471)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
> 	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2092)
> 	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2252)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5535)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> 	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4989)
> 	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5138)
> 	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> 	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
> 	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:344)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	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:622)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list