I downloaded your BPEL jars and installed to my eclipse-jee-ganymede
version 3.4.2 (it is a fresh installation, in order to test the BPEL
designer).
I encountered this error when i opened a bpel file:
'Reading XPath Function Registry ...' has encountered a problem.
java.io.FileNotFoundException: /functions/functions.xml
And when I try to edit the Xpath expression in the Assign (in my bpel
diagram) properties, i encountered this error:
An error has occurred. See error log for more details. An error has
occurred when activating this view. An error has occurred when activating
this view
java.io.FileNotFoundException: /functions/functions.xml
I extracted the following error message from the eclipse error log:
!ENTRY org.eclipse.bpel.ui 4 0 2009-03-23 22:20:11.057
!MESSAGE java.io.FileNotFoundException: /functions/functions.xml
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException:
java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at
org.eclipse.bpel.common.BPELResourceSet.getResource(BPELResourceSet.java:92)
at
org.eclipse.bpel.common.extension.model.Activator.load(Activator.java:168)
at
org.eclipse.bpel.fnmeta.FunctionLibrary.getRegistryForLanguage(FunctionLibrary.java:72)
at org.eclipse.bpel.ui.expressions.Functions.<init>(Functions.java:35)
at
org.eclipse.bpel.ui.expressions.Functions.getInstance(Functions.java:52)
at org.eclipse.bpel.ui.BPELUIPlugin$2.run(BPELUIPlugin.java:302)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler.findBundleEntry(Handler.java:44)
at
org.eclipse.osgi.framework.internal.core.BundleResourceHandler.openConnection(BundleResourceHandler.java:168)
at java.net.URL.openConnection(Unknown Source)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:110)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:91)
at
org.eclipse.core.internal.boot.PlatformURLConnection.getInputStream(PlatformURLConnection.java:229)
at
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInputStream(URIHandlerImpl.java:178)
at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:301)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1212)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
... 7 more
!ENTRY org.eclipse.bpel.ui 4 0 2009-03-23 22:20:11.791
!MESSAGE java.io.FileNotFoundException: /functions/functions.xml
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException:
java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at
org.eclipse.bpel.common.BPELResourceSet.getResource(BPELResourceSet.java:92)
at
org.eclipse.bpel.common.extension.model.Activator.load(Activator.java:168)
at
org.eclipse.bpel.fnmeta.FunctionLibrary.getRegistryForLanguage(FunctionLibrary.java:72)
at org.eclipse.bpel.ui.expressions.Functions.<init>(Functions.java:35)
at
org.eclipse.bpel.ui.expressions.Functions.getInstance(Functions.java:52)
at org.eclipse.bpel.ui.BPELUIPlugin$2.run(BPELUIPlugin.java:302)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler.findBundleEntry(Handler.java:44)
at
org.eclipse.osgi.framework.internal.core.BundleResourceHandler.openConnection(BundleResourceHandler.java:168)
at java.net.URL.openConnection(Unknown Source)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:110)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:91)
at
org.eclipse.core.internal.boot.PlatformURLConnection.getInputStream(PlatformURLConnection.java:229)
at
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInputStream(URIHandlerImpl.java:178)
at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:301)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1212)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
... 7 more
!ENTRY org.eclipse.ui.workbench 4 2 2009-03-23 22:20:50.338
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException:
java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at
org.eclipse.bpel.common.BPELResourceSet.getResource(BPELResourceSet.java:92)
at
org.eclipse.bpel.common.extension.model.Activator.load(Activator.java:168)
at
org.eclipse.bpel.fnmeta.FunctionLibrary.getRegistryForLanguage(FunctionLibrary.java:72)
at org.eclipse.bpel.ui.expressions.Functions.<init>(Functions.java:35)
at
org.eclipse.bpel.ui.expressions.Functions.getInstance(Functions.java:52)
at
org.eclipse.bpel.ui.expressions.XPathExpressionEditor.addExtraStoreCommands(XPathExpressionEditor.java:649)
at
org.eclipse.bpel.ui.properties.ExpressionAssignCategory.newStoreToModelCommand(ExpressionAssignCategory.java:179)
at
org.eclipse.bpel.ui.properties.TextSection$2.createApplyCommand(TextSection.java:98)
at
org.eclipse.bpel.common.ui.command.EditModelCommandFramework.finishCurrentChange(EditModelCommandFramework.java:175)
at
org.eclipse.bpel.common.ui.command.EditModelCommandFramework.applyCurrentChange(EditModelCommandFramework.java:103)
at
org.eclipse.bpel.ui.properties.ExpressionSection$4.focusOut(ExpressionSection.java:692)
at
org.eclipse.bpel.ui.expressions.AbstractExpressionEditor.notifyFocusOut(AbstractExpressionEditor.java:84)
at
org.eclipse.bpel.ui.expressions.XPathExpressionEditor$2.focusLost(XPathExpressionEditor.java:232)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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:1008)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2429)
at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1765)
at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:4130)
at org.eclipse.swt.widgets.Canvas.WM_KILLFOCUS(Canvas.java:429)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3820)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:974)
at org.eclipse.swt.widgets.Control.setFocus(Control.java:2811)
at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:927)
at
org.eclipse.bpel.common.ui.tray.GraphicalEditorWithPaletteAndTray.setFocus(GraphicalEditorWithPaletteAndTray.java:118)
at
org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:1016)
at
org.eclipse.ui.part.MultiPageEditorPart.setFocus(MultiPageEditorPart.java:998)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java:127)
at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:622)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at
org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java:617)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3487)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3034)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:272)
at
org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:236)
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:1008)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1353)
at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:2195)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3830)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:79)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3417)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.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:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Caused by: java.io.FileNotFoundException: /functions/functions.xml
at
org.eclipse.osgi.framework.internal.protocol.bundleentry.Handler.findBundleEntry(Handler.java:44)
at
org.eclipse.osgi.framework.internal.core.BundleResourceHandler.openConnection(BundleResourceHandler.java:168)
at java.net.URL.openConnection(Unknown Source)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:110)
at
org.eclipse.core.internal.boot.PlatformURLConnection.connect(PlatformURLConnection.java:91)
at
org.eclipse.core.internal.boot.PlatformURLConnection.getInputStream(PlatformURLConnection.java:229)
at
org.eclipse.emf.ecore.resource.impl.URIHandlerImpl.createInputStream(URIHandlerImpl.java:178)
at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:301)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1212)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
... 133 more
Actually, before I download and install your BPEL jars, i have tried with
the CVS version (downloaded on 17 March 2009) of the BPEL Designer.
Everything was fine if I run the designer using the Run Configuration. But
when i exported all plugins as jar files and installed as the Eclipse
plugins, the above errors were encountered. Exactly the same errors
observed when using your BPEL jars.
Any clues of the problems? When i searched through the source directory of
the plugins, i only found a functions.xml file under the folder
org.eclipse.bpel.examples.extensionPoints\functions