exception when opening a BPEL file [message #848959] |
Wed, 18 April 2012 18:51 |
Allen Zhang Messages: 14 Registered: February 2012 |
Junior Member |
|
|
I want to load a BPEL file as a Resource, my code is here:
ResourceSet resourceSet = new ResourceSetImpl();
URI uri = URI.createURI(filePath);
Resource resource = resourceSet.getResource(uri, true);
then Exception:
Exception in thread "main" java.lang.IllegalStateException: INamespaceMap cannot be attached to an eObject
at org.eclipse.bpel.model.util.BPELUtils.getNamespaceMap(BPELUtils.java:271)
at org.eclipse.bpel.model.resource.BPELReader.saveNamespacePrefix(BPELReader.java:526)
at org.eclipse.bpel.model.resource.BPELReader.xml2Process(BPELReader.java:964)
..
I tried thre bpel files, all can run normally.
What's the problem?
Thank you in advance.
|
|
|
Powered by
FUDForum. Page generated in 0.03666 seconds