Re: [SPAM] - Re: [Asterisk-java-users] DefaultManagerConnectionconstructorproblems - Email found in
Brought to you by:
srt
From: Alex M. <al...@go...> - 2005-03-01 15:14:23
|
On Mon, 2005-02-28 at 16:19 -0600, Stefan Reuter wrote: > Hi Alex, > > > However, if I try using this instead: > > > > dmc = new DefaultManagerConnection("hostname", 5038, "user", > > "password"); > > > > I've tested this about 5 times so far and I get consistent results each > > time. Just in case it matters, I'm using Eclipse 2.1 on a Linux system > > with the 1.5 JDK. Any ideas? > > I tried to reproduce this error but here it works. > Please send me your java file so i can try it here. Source is attached. In its current form it will fail with the null pointer exception. If you comment out line 19 and uncomment lines 20-23, it works just fine. -- Alex Malinovich Golden Technologies, Inc. (219) 462-7200 x 216 http://www.golden-tech.com |