Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[emft-dev] Bug 258703 [EMF Compare]: NullPointerException when the eobject to compare are not contained in a resource

Hi guys,

I get the following NullPointerException when trying to merge models programmatically according to the example shown in the EMF Compare FAQ (http://wiki.eclipse.org/EMF_Compare_FAQ#How_can_I_use_EMF_Compare_programmatically.3F).

Stacktrace:

java.lang.NullPointerException
	at org.eclipse.emf.compare.match.service.MatchService.getBestExtension(MatchService.java:261)
	at org.eclipse.emf.compare.match.service.MatchService.doMatch(MatchService.java:142)
        (...)

This bug was reported a few month ago (see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=258703) and should have been fixed in 0.9.0M4 (see: http://www.eclipse.org/modeling/emft/news/relnotes.php?project=compare&version=0.9.0M4#0.9.0M4).

Although I am using this version (0.9.0.v200812190330), I get this exception.

Does anyone know what I am doing wrong or how to fix this?

Thanks in advance.
Marcus
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123



Back to the top