Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » BPEL Designer » exception when opening a BPEL file
exception when opening a BPEL file [message #848959] Wed, 18 April 2012 18:51
Allen Zhang is currently offline Allen ZhangFriend
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.
Previous Topic: Problems witin BPMN plz
Next Topic:Problem when open a bpel file
Goto Forum:
  


Current Time: Tue Mar 19 07:14:18 GMT 2024

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

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

Back to the top