- This topic has 9 replies, 4 voices, and was last updated 16 years, 3 months ago by Loyal Water.
-
AuthorPosts
-
benson_marguliesMemberFile/Open (outside of workspace) on a WSDL yielded:
java.lang.ClassCastException: org.eclipse.ui.ide.FileStoreEditorInput
at org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.buildAndSetModel(ASDMultiPageEditor.java:171)
at org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.createPages(ASDMultiPageEditor.java:147)
at org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor.createPages(InternalWSDLMultiPageEditor.java:403)
at com.genuitec.myeclipse.ui.editors.WSDLEditor.createPages(WSDLEditor.java:12)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:283)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:263)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
at org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2539)
at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1090)
at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:105)
at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:75)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
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)eclipse.buildId=I20070625-1500
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86Version: 6.0.0 GA
Build id: 6.0.0-GA-200708
Loyal WaterMemberCan you send me the file so that I can try opening it at my end.
benson_marguliesMemberThe content of the file doesn’t matter. What matters is whether you are opening using the ‘open a file outside the workspace’ gesture. The stack trace is really clear, the code is not prepared to cope with the resource class that is used in that case.
Loyal WaterMemberI tried opening a jsp file which is located outside my workspace but I wasn’t able to reproduce the issue. Anything in particular that you think I should try to reproduce this error?
benson_marguliesMemberTell me how to post a file, and I’ll send you one.
Loyal WaterMemberYou can email it to me by clicking the email button at the bottom of the post.
gleideckerMemberThis error was posted on September 3, 2007 and I didn’t see any resolution. In my case it can be reproduced by download EBay’s wsdl from http://developer.ebay.com/webservices/latest/eBaySvc.wsdl and then opening it with a file open request in MyEclipse. I am using MyEclipse Enterprise Build id: 6.0.1-GA-200710.
I have also received the same error message opening any wsdl in this manner.
Any help would be appreciated.
Thanks,
Gary
Loyal WaterMemberGary,
I downloaded the EBay wsdl and tried opening it using MyEclipse 6.0.1 and did not get any errors. Can you switch to a new workspace and try opening the wsdl file again. Does the problem persist ?
PhilloMemberHi all,
I am getting this very same problem in the latest version of MyEclipse and it is very annoying indeed. My forum post can be seen here:
https://www.genuitec.com/forums/topic/problem-viewing-wsdl-file/#post-289533
Did this ever get resolved?
Loyal WaterMemberHi all,
We were able to replicate the error and the team is working on a fix will be in the upcoming 7.0GA release. -
AuthorPosts