[gme-users] Java Interface to GME

Brian Williams BrianW at isis.vanderbilt.edu
Mon Oct 18 10:43:00 CDT 2004


Can you send me your metamodel, model, and interpreter? It's not obvious
why this error is occuring. There seems to be an unhandled exception
when creating a JBuilderModel. There is already code implemented to take
care of Null References.

 

Brian

 

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Paulo
Asterio
Sent: Saturday, October 16, 2004 4:11 AM
To: gme-users
Subject: [gme-users] Java Interface to GME

 

Hi,

 

I created a Java interpreter for one paradigm that uses Reference
objects. Runnign this Java interpreter for a model that contains a null
reference part (a part with type Reference and that references a <Null
reference>) leads to the following error during its initialization:

 

Exception in java interpreter:org.isis.gme.bon.BONException: User Custom
Class Invocation target exception in CreateModel

Stack trace:

org.isis.gme.bon.JBuilderFactory.createMode(JBuilderFactory.java:131)

org.isis.gme.bon.JBuilderFolder.<init>(JBuilderFolder.java:41)

org.isis.gme.bon.JBuilder.<init>(JBuilder.java:32)

org.isis.gme.bon.ComponentInvoker.invokeEx(ComponentInvoker.java:111)

 

If I delete the null references the interpreter runs fine.

 

Is there a way to prevent this error to occurs ? It seems to me that one
should register this kind of reference in the registerCustomClasses()
method (but, how ?).

 

Thanks for any help and comments you may have,

 

Paulo Asterio

 

 

 

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20041018/3721d45d/attachment.htm


More information about the gme-users mailing list