Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » Editing deploy.xml Cause org.eclipse.jface and java.lang.LinkageError and javax/wsdl/Binding problem
Editing deploy.xml Cause org.eclipse.jface and java.lang.LinkageError and javax/wsdl/Binding problem [message #541007] Fri, 18 June 2010 02:01 Go to next message
Xutao is currently offline XutaoFriend
Messages: 3
Registered: June 2010
Junior Member
I was editing a deploy.xml for my HelloWorld bpel process.

In the Inbound interfaces(Services) section, I draged the Associated Port and selected the HelloWorldPort.

Then after about 20 seconds, The following error occurs:




The Error message is:
Problems occurred when invoking code from plug-in: "org.eclipse.jface".


The Exception Trace Stack is


java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously initiated loading for a different type with name "javax/wsdl/Binding"
at org.eclipse.bpel.apache.ode.deploy.ui.pages.ProcessPage$Port TypeLabelProvider.getColumnText(ProcessPage.java:648)
at org.eclipse.jface.viewers.TableColumnViewerLabelProvider.upd ate(TableColumnViewerLabelProvider.java:70)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn. java:145)
at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(A bstractTableViewer.java:399)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRun nable.run(StructuredViewer.java:481)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(Struct uredViewer.java:2111)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefres hAll(AbstractTableViewer.java:711)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefres h(AbstractTableViewer.java:649)
at org.eclipse.jface.viewers.AbstractTableViewer.internalRefres h(AbstractTableViewer.java:636)
at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredV iewer.java:1457)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1392)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1353)
at org.eclipse.jface.viewers.StructuredViewer.refresh(Structure dViewer.java:1455)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer. java:537)
at org.eclipse.jface.viewers.StructuredViewer.refresh(Structure dViewer.java:1414)
at org.eclipse.bpel.apache.ode.deploy.ui.pages.ProcessPage$Inte rfaceWidgetCellModifier.modify(ProcessPage.java:444)
at org.eclipse.jface.viewers.ColumnViewer$2.setValue(ColumnView er.java:274)
at org.eclipse.jface.viewers.EditingSupport.saveCellEditorValue (EditingSupport.java:113)
at org.eclipse.jface.viewers.ColumnViewerEditor.saveEditorValue (ColumnViewerEditor.java:455)
at org.eclipse.jface.viewers.ColumnViewerEditor.applyEditorValu e(ColumnViewerEditor.java:311)
at org.eclipse.jface.viewers.ColumnViewerEditor$2.applyEditorVa lue(ColumnViewerEditor.java:153)
at org.eclipse.jface.viewers.CellEditor$1.run(CellEditor.java:3 33)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at org.eclipse.jface.viewers.CellEditor.fireApplyEditorValue(Ce llEditor.java:331)
at org.eclipse.jface.viewers.ComboBoxCellEditor.applyEditorValu eAndDeactivate(ComboBoxCellEditor.java:273)
at org.eclipse.jface.viewers.ComboBoxCellEditor.focusLost(Combo BoxCellEditor.java:284)
at org.eclipse.jface.viewers.ComboBoxCellEditor$4.focusLost(Com boBoxCellEditor.java:170)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:137)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:7 70)
at org.eclipse.swt.custom.CCombo.handleFocus(CCombo.java:844)
at org.eclipse.swt.custom.CCombo$3.handleEvent(CCombo.java:141)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:120 Cool
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java: 2583)
at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2282)
at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:457 3)
at org.eclipse.swt.widgets.Button.WM_SETFOCUS(Button.java:1216)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4014 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619 )
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:978)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:2965)
at org.eclipse.swt.widgets.Button.setRadioFocus(Button.java:100 6)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:92 2)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:92 6)
at org.eclipse.ui.forms.widgets.FormToolkit$2.mouseDown(FormToo lkit.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:179)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
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(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
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.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

End of stack

This problem can be reproduced.




Below is a link in the WTP subforum of this site,

I think it is almost same with my problem.

http://www.eclipse.org/forums/index.php?t=msg&th=161831& amp; amp; amp;start=0&

[Updated on: Fri, 18 June 2010 02:32]

Report message to a moderator

Re: Editing deploy.xml Cause org.eclipse.jface and java.lang.LinkageError and javax/wsdl/Binding pro [message #543587 is a reply to message #541007] Tue, 29 June 2010 21:49 Go to previous message
SSurfer  is currently offline SSurfer Friend
Messages: 1
Registered: June 2010
Junior Member
This is just a hack (Lets get someone with more skills on this)... but it got me through.

I editied line 647 of the following checkout:

/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/ apache/ode/deploy/ui/pages/ProcessPage.java

from:

Binding binding = port.getBinding();

to:

org.eclipse.wst.wsdl.internal.impl.BindingImpl binding = (org.eclipse.wst.wsdl.internal.impl.BindingImpl) port.getBinding();
Previous Topic:Business Technology Summit 2010
Next Topic:PartnerLink - Wrong WSDL-Format?
Goto Forum:
  


Current Time: Sat Dec 20 00:23:32 GMT 2014

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

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