Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » ToStringVisitorImpl.toString returning null
ToStringVisitorImpl.toString returning null [message #578154] Fri, 19 May 2006 18:26
Joel Greenyer is currently offline Joel GreenyerFriend
Messages: 170
Registered: July 2009
Senior Member
Hi,
I observed the method ToStringVisitorImpl.toString(Visitable v) returning null.

While creating e.g. a Variable through the reflective API mechanism, the method returns null. Probably because not all
features have been initialized corretly. Changing the method as shown works fine so far.

public static String toString(Visitable v) {
return (String) v.accept(getInstance()) + "";
}

I don't know if this is a bug or if there might be more general problems with what I'm doing?


Joel
Previous Topic:CDO replication
Next Topic:CDO replication
Goto Forum:
  


Current Time: Tue May 14 08:42:24 GMT 2024

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

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

Back to the top