Re: Could some body help please ?

"joseoomartin" <[email protected]> Thu, 02 Sep 2004 14:08:39 -0000
Newsgroups gmane.comp.cybernetics.webot.contest
Message-ID <[email protected]>
Thanks FireManFreed, but i am sure that this library is in the classpath, 

The fact is that i can use every funtcion is this library but if i put
the instruction:

   Probs= new NormalDistribution[11][94];

the robot controller is aborted with out any exception

if a do not put this instruction the the controller works well ,
except that when i try to assign values to the array , a null pointer
assignement is raised becasue i am not initiallizing the array, (of
course).

So i can not initialize the array ?
why ?




--- In [email protected], "gboban" <gboban@g...> wrote:
> My first guess would be that library you are using is jar file and
is not
> included in classpath, so controller can't use classes from this jar
file
> within webots. I don't use any additional libraries in my controller, so
> probably someone who does, could provide better insight.
> 
> FiremanFred
> 
> 
> ----- Original Message -----
> From: "joseoomartin" <joseamartin@c...>
> To: <[email protected]>
> Sent: Thursday, September 02, 2004 3:52 PM
> Subject: [webots-contest] Could some body help please ?
> 
> 
> > I am using the library Jsci.
> >
> > there is a class NormalDistribution.
> >
> > but if i try to initialize the size of the array, webots aborts the
> > robot controller with out any possibility of reading any error.
> >
> > I have proved this class outside webots and this instruction works
well
> >
> >           Probs= new NormalDistribution[11][94];
> >
> > but if i write this intruction on webots, the robot controller is
> > aborted, and no chance of catching any expeption is possible.
> >
> > Could some body help ?...
> >
> > Thanks...
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> > __________ NOD32 1.498 (20030901) Information __________
> >
> > This message was checked by NOD32 Antivirus System.
> > http://www.nod32.com
> >
> >



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/pU_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/webots-contest/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/