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: Sun Nov 23 21:31:54 GMT 2014

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

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