<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 </FONT><FONT face=Arial
size=2>following error during its initialization:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Exception in java
interpreter:org.isis.gme.bon.BONException: User Custom Class Invocation target
exception in CreateModel</FONT></DIV>
<DIV><FONT face=Arial size=2>Stack trace:</FONT></DIV>
<DIV><FONT face=Arial
size=2>org.isis.gme.bon.JBuilderFactory.createMode(JBuilderFactory.java:131)</FONT></DIV>
<DIV><FONT face=Arial
size=2>org.isis.gme.bon.JBuilderFolder.<init>(JBuilderFolder.java:41)</FONT></DIV>
<DIV><FONT face=Arial
size=2>org.isis.gme.bon.JBuilder.<init>(JBuilder.java:32)</FONT></DIV>
<DIV><FONT face=Arial
size=2>org.isis.gme.bon.ComponentInvoker.invokeEx(ComponentInvoker.java:111)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I delete the null references the interpreter
runs fine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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 ?).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any help and comments you may
have,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Paulo Asterio</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>