Topic
3 replies Latest Post - ‏2013-03-13T23:44:39Z by SystemAdmin
SystemAdmin
SystemAdmin
151 Posts
ACCEPTED ANSWER

Pinned topic ODME 3.7 : DOM generation problem

‏2013-03-13T21:09:51Z |
HI,

I am creating a ODME application.
I created the Data Model but I can create the DOM due to java error

java.lang.NullPointerException at ilog.odms.ide.odm.dom.generator.ecore.IloDomCreateRelationships.execute(IloDomCreateRelationships.java:100) at ilog.odms.ide.odm.dom.generator.IloDomGenerator.generate(IloDomGenerator.java:132) at ilog.odms.ide.odm.dom.builder.IloDomBuilderResourceChangeListener.generateDom(IloDomBuilderResourceChangeListener.java:239) at ilog.odms.ide.odm.dom.builder.IloDomBuilderResourceChangeListener$3.run(IloDomBuilderResourceChangeListener.java:166) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


I have created the java project and have pointed the schema to the java project.
It should be a problem with my data model because when I use a dummy test data model it works. But I my data model pass the validation test.

can someone help me?
Updated on 2013-03-13T23:44:39Z at 2013-03-13T23:44:39Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    151 Posts
    ACCEPTED ANSWER

    Re: ODME 3.7 : DOM generation problem

    ‏2013-03-13T22:21:11Z  in response to SystemAdmin
    I found the problem.

    it was the Foreign Key. If you have one you need to put a name in the field "inverse verb phrase".

    tricky error. would be nice to have a clue in the message error
  • SystemAdmin
    SystemAdmin
    151 Posts
    ACCEPTED ANSWER

    Re: ODME 3.7 : DOM generation problem

    ‏2013-03-13T23:36:22Z  in response to SystemAdmin
    the label of Foreign key is not the only problem
    • SystemAdmin
      SystemAdmin
      151 Posts
      ACCEPTED ANSWER

      Re: ODME 3.7 : DOM generation problem

      ‏2013-03-13T23:44:39Z  in response to SystemAdmin
      Hi Again,

      the label of of the Foreign Key is not my only problem as still have it.
      The problem is with the foreign Key because when I remove them, the problem disappear and the DOM is created.

      What other rules should it be observe for the DOM?