Re: Re: Could some body help please ?
Olivier Michel <[email protected]> Fri, 03 Sep 2004 08:33:50 +0200
| Newsgroups | gmane.comp.cybernetics.webot.contest |
|---|---|
| Organization | Cyberbotics Ltd. |
| Message-ID | <[email protected]> |
That sounds strange... Do you know exactly what makes the NormalDistribution constructor ? Does it create new Threads or makes other system related things ? If you have access to the source code of this constructor, I would recommand you to add a few System.err.println() statements to better understand where and why it crashes... -Olivier joseoomartin wrote: >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 Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/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/