Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Unable to open any non-Eclipse generated WSDLs
Unable to open any non-Eclipse generated WSDLs [message #177772] Wed, 23 August 2006 13:27 Go to next message
Eclipse User
Originally posted by: Sarwar_Raza.3Com.com

I've been unable to use WTP (1.5 w/ Eclipse 3.2) WSDL editor to view any
WSDLs except those created using WTP. Is this is a known issue? It seems to
throw the same exception everytime, no matter what WSDL I attempt to open
(File-->Open File).

Stack trace attached.

Thanks
\Sarwar

Unable to create this part due to an internal error. Reason for the failure:
org.eclipse.ui.internal.editors.text.JavaFileEditorInput

java.lang.ClassCastException:
org.eclipse.ui.internal.editors.text.JavaFileEditorInput
at
org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.buil dAndSetModel(ASDMultiPageEditor.java:128)
at
org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.crea tePages(ASDMultiPageEditor.java:106)
at
org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor .createPages(InternalWSDLMultiPageEditor.java:347)
at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2588)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2521)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2513)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2498)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2493)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2470)
at
org.eclipse.ui.internal.editors.text.OpenExternalFileAction. run(OpenExternalFileAction.java:132)
at
org.eclipse.ui.internal.editors.text.OpenExternalFileAction. run(OpenExternalFileAction.java:100)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Re: Unable to open any non-Eclipse generated WSDLs [message #177789 is a reply to message #177772] Wed, 23 August 2006 14:47 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Sarwar,

Many editors don't support any input other the IFileEditorInput, i.e.,
they can only be opened for resources in the workspace. So put yours
WSDLs in a project and it should work fine.


Sarwar Raza wrote:

>I've been unable to use WTP (1.5 w/ Eclipse 3.2) WSDL editor to view any
>WSDLs except those created using WTP. Is this is a known issue? It seems to
>throw the same exception everytime, no matter what WSDL I attempt to open
>(File-->Open File).
>
>Stack trace attached.
>
>Thanks
>\Sarwar
>
>Unable to create this part due to an internal error. Reason for the failure:
>org.eclipse.ui.internal.editors.text.JavaFileEditorInput
>
>java.lang.ClassCastException:
>org.eclipse.ui.internal.editors.text.JavaFileEditorInput
> at
> org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.buil dAndSetModel(ASDMultiPageEditor.java:128)
> at
> org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.crea tePages(ASDMultiPageEditor.java:106)
> at
> org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor .createPages(InternalWSDLMultiPageEditor.java:347)
> at
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2588)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2521)
> at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2513)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2498)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2493)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2470)
> at
> org.eclipse.ui.internal.editors.text.OpenExternalFileAction. run(OpenExternalFileAction.java:132)
> at
> org.eclipse.ui.internal.editors.text.OpenExternalFileAction. run(OpenExternalFileAction.java:100)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
>
>
>
Re: Unable to open any non-Eclipse generated WSDLs [message #177850 is a reply to message #177789] Thu, 24 August 2006 22:54 Go to previous message
Eclipse User
Originally posted by: Sarwar_Raza.3Com.com

Thanks Ed. Adding it to the project made the problem go away.
Works like a charm now.

\Sarwar

"Ed Merks" <merks@ca.ibm.com> wrote in message
news:echpq2$35b$2@utils.eclipse.org...
> Sarwar,
>
> Many editors don't support any input other the IFileEditorInput, i.e.,
> they can only be opened for resources in the workspace. So put yours
> WSDLs in a project and it should work fine.
>
>
> Sarwar Raza wrote:
>
>>I've been unable to use WTP (1.5 w/ Eclipse 3.2) WSDL editor to view any
>>WSDLs except those created using WTP. Is this is a known issue? It seems
>>to throw the same exception everytime, no matter what WSDL I attempt to
>>open (File-->Open File).
>>
>>Stack trace attached.
>>
>>Thanks
>>\Sarwar
>>
>>Unable to create this part due to an internal error. Reason for the
>>failure: org.eclipse.ui.internal.editors.text.JavaFileEditorInput
>>
>>java.lang.ClassCastException:
>>org.eclipse.ui.internal.editors.text.JavaFileEditorInput
>> at
>> org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.buil dAndSetModel(ASDMultiPageEditor.java:128)
>> at
>> org.eclipse.wst.wsdl.ui.internal.asd.ASDMultiPageEditor.crea tePages(ASDMultiPageEditor.java:106)
>> at
>> org.eclipse.wst.wsdl.ui.internal.InternalWSDLMultiPageEditor .createPages(InternalWSDLMultiPageEditor.java:347)
>> at
>> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:276)
>> at
>> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
>> at
>> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:372)
>> at
>> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:566)
>> at
>> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:214)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2588)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2521)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2513)
>> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2498)
>> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2493)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2470)
>> at
>> org.eclipse.ui.internal.editors.text.OpenExternalFileAction. run(OpenExternalFileAction.java:132)
>> at
>> org.eclipse.ui.internal.editors.text.OpenExternalFileAction. run(OpenExternalFileAction.java:100)
>> at
>> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
>> at
>> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
>> at
>> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>> at org.eclipse.core.launcher.Main.run(Main.java:977)
>> at org.eclipse.core.launcher.Main.main(Main.java:952)
>>
>>
Previous Topic:javax.servlet in tomcat plugin
Next Topic:Can a bottom up web service be created from an interface definition ?
Goto Forum:
  


Current Time: Fri Oct 24 23:26:37 GMT 2014

Powered by FUDForum. Page generated in 0.01761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software