Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » EMF compare in Eclipse3.5 and Eclipse3.6(NPE from EMF Compare code)  () 1 Vote
EMF compare in Eclipse3.5 and Eclipse3.6 [message #547729] Mon, 19 July 2010 13:54 Go to next message
Rahul Yadav is currently offline Rahul YadavFriend
Messages: 65
Registered: July 2009
Member
Hi,
We were using Eclipse3.5 as base for our product and the code for comparing model developed by us was working fine but after changing over to eclipse3.6 compare fails with following exception...

Caused by: java.lang.NullPointerException
at org.eclipse.emf.compare.diff.service.DiffService.getBestDiff Engine(DiffService.java:192)
at org.eclipse.emf.compare.diff.service.DiffService.doDiff(Diff Service.java:101)
at com.intervoice.gtf.compare.viewmodel.ViewModelCreator.create ViewModel(ViewModelCreator.java:168)
at com.intervoice.gtf.compare.viewmodel.ViewModelCreator.<init >(ViewModelCreator.java:113)
at com.intervoice.gtf.compare.viewmodel.ViewModelCreator.create Creator(ViewModelCreator.java:126)
at com.intervoice.gtf.compare.viewmodel.ViewModelCreator.getCre ator(ViewModelCreator.java:141)
at com.intervoice.gtf.compare.mergeviewer.StructureMergeTreeVie wer.inputChanged(StructureMergeTreeViewer.java:308)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274)

is there any explanation for this.....is there any change in DiffService class from eclipse3.5 to Eclipse3.6?

Thanks All,
Rahul
Re: EMF compare in Eclipse3.5 and Eclipse3.6 [message #638798 is a reply to message #547729] Fri, 12 November 2010 15:42 Go to previous message
Elizabeta  is currently offline Elizabeta Friend
Messages: 3
Registered: November 2010
Junior Member
Hi, we are using Rational Software Architect and emf compare for models we have developed, and we have the same error.
It works fine when is a standalone java project, bur not in a plugin.
Did you find a way to fix your problem?

Thanks.
Previous Topic:Java Pseudo conflict woes
Next Topic:URIHandler extension
Goto Forum:
  


Current Time: Fri Mar 29 01:33:40 GMT 2024

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

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

Back to the top