Search code examples
pharomoose-technology

Error on importing FAMIX Java model using the VerveineJ


I'm trying to import a FAMIX JHotDraw java model using Verveinej, but no success so far.

I'm facing a FAMIX.FileIndexedAnchor not found error. As far as I understood Moose is not finding the source files, am I right? So, where should I set the root source folder?

Thanks in advance!

Error

Adding some trace:

FMMetaRepository(Object)>>error:
FMMetaRepository>>elementNamed: in Block: [ self error: 'Element ''' , aString , ''' not fou...etc...
Dictionary>>at:ifAbsent:
FMMetaRepository>>elementNamed:ifAbsent:
FMMetaRepository>>elementNamed:
FMFutureElement>>with:name:
FMFutureElement class>>with:name:
MSEImporter(FMImporter)>>beginElement:
FMMSEParser>>Element
FMMSEParser>>Document
FMMSEParser>>basicRun
FMMSEParser>>run in Block: [ :bar | ...
BlockClosure>>cull:
Job>>run in Block: [ result := block cull: self ]
BlockClosure>>on:do:
Job>>run in Block: [ ...
BlockClosure>>ensure:
Job>>run
MorphicUIManager(UIManager)>>displayProgress:from:to:during:
MorphicUIManager(UIManager)>>displayProgress:at:from:to:during:
FMMSEParser>>run
MSEImporter(FMImporter)>>run
MooseModel class>>importFrom:withMetamodel:
MooseModel class>>importFrom:
MooseModel>>importFromMSEStream:
MooseImportFromVerveineJWizard>>validateImportation
MooseImportFromVerveineJWizard>>performTerminateButtonAction in Block: [ :bar | ...
MooseCustomTask>>basicRun
MooseCustomTask(MooseTask)>>runWithProgress in Block: [ :bar | ...
BlockClosure>>cull:

Solution

  • Kudos to Doru on Moose-dev list and Max Leske for the tips above. Turns out the problem was regarding my Moose image version which does not supports FileIndexedAnchor. So, just move to Moose 5.1 and every things begun to work!