<!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 5.50.4522.1800" 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>After playing a while with JInterface, I noticed a
possible bug in OtpNode$Acceptor. I run JDK 1.3 on Windows.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The constructor ends with </FONT></DIV>
<DIV><FONT face=Arial size=2> publishPort();</FONT></DIV>
<DIV><FONT face=Arial size=2> acceptor.start();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I get a nullPointerException on the last line, but
all works well if it is changed to</FONT></DIV>
<DIV><FONT face=Arial size=2> start();</FONT></DIV>
<DIV><FONT face=Arial size=2>or </FONT></DIV>
<DIV><FONT face=Arial size=2> this.start();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The reason is of course that since the constructor
is not ended yet, OtpNode.acceptor is still null...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Vlad</FONT></DIV></BODY></HTML>