Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Unable to create 'ResourceSetImpl' instance in Eclipse 3.4.1
Unable to create 'ResourceSetImpl' instance in Eclipse 3.4.1 [message #627312] Tue, 06 January 2009 08:30
Kishore Kushwaha is currently offline Kishore KushwahaFriend
Messages: 36
Registered: July 2009
Location: Lucknow, India

I have just started working on an UML project after studying the article
"Getting Started with UML2" from the following URL: ng_Started_with_UML2/article.html

I have followed all steps given in this article, and its working except
these lines:

------------------------------------------------------------ ----------------
URI uri =

save(model, uri);
------------------------------------------------------------ ----------------

protected static void save(org.eclipse.uml2.uml.Package package_, URI uri)
Resource resource = new ResourceSetImpl().createResource(uri);
------------------------------------------------------------ ----------------

But the line "new ResourceSetImpl().createResource(uri);"
always returns a null object, even if the uri object is proper.

I am unable to understand the problem b'coz I have installed all required
plugins as given in article. (Also ResourceSetImpl class is also present
into workspace of eclipse 3.4.1)

Please tell me the cause of my problem.

Thanks in advance.

Previous Topic:Reusing package-element in UML Metamodel extension
Next Topic:Memory leak in uml2 ?
Goto Forum:

Current Time: Fri Apr 03 02:19:15 GMT 2020

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

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

Back to the top