1

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:
4
  • Not necessarily. The file might be damaged (AFAICT from the stack trace; I'm don't use Moose much). Where did you get the .mse from?
    – Max Leske
    Commented Mar 2, 2015 at 21:15
  • .mse file was generated by VerveineJ coomand line execution and I also tried through Moose context menu, generating another .mse, but got the same error. Any ideas? Perhaps, as you pointed out, the problem is on the file generation.
    – Klerisson
    Commented Mar 2, 2015 at 21:26
  • 1
    Are you using the prebuilt image from the website or do you load the code yourself? You could try using the .mse for JHotDraw from the Pangea repository to see if the error still pops up.
    – Max Leske
    Commented Mar 2, 2015 at 21:56
  • Oh, and it might help if you posted the top portion of the stack trace (you can copy the trace by using the icons in the upper right corner of the debugger)
    – Max Leske
    Commented Mar 2, 2015 at 21:58

1 Answer 1

1

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.