Linux, Java on a server + Robocode =

View: New views
6 Messages — Rating Filter:   Alert me  

Linux, Java on a server + Robocode =

by gypsy_fly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Linux, Java on a server + Robocode on the server = a random condition
of NullPointerException.

I'm conducting a Java Intro class using Robocode at Riverdale
Elementary School with a group of 12 year olds.  Our classroom
happens to be right next to the District IT Department.  So we have
the attention of the IT guy.  He's been trying to eliminate the
NullPointerException problem by granting all kinds of permissions.  
Unfortunately, the problem keeps rearing it's head.

All of our logins are pointed to one directory on the server.  This
makes it very convenient to run battles.  Everyone's robot is visible
to everyone else.  Unfortunately, I haven't noticed where the java
runtime is. I suspect it's on the same directory.

The big issue is that the NullPointerException is random.  In the
last class, my login got it.  Therefore, I could not edit any robot.

Any ideas on what we could persue to eliminate the problem of
NullPointerException?



Re: Linux, Java on a server + Robocode =

by flemmingnlarsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The NullPointerException could occur in many places. With the latest
release of Robocode, the 1.3 Beta 2 I have fixed some potential
NullPointerExceptions, so I should like you to try out 1.3 Beta 2.

In order to locate where in Robocode the NullPointerException occurs,
I need the complete stack trace, which is dumped in the console when
it occurs.

So, please send the stack trace to me, or put it in a reply to this
message.

Regards,
- Flemming N. Larsen


--- In Robocode@..., "Edwin Pilobello" <e_pilobello@...>
wrote:
>
> Linux, Java on a server + Robocode on the server = a random
condition

> of NullPointerException.
>
> I'm conducting a Java Intro class using Robocode at Riverdale
> Elementary School with a group of 12 year olds.  Our classroom
> happens to be right next to the District IT Department.  So we have
> the attention of the IT guy.  He's been trying to eliminate the
> NullPointerException problem by granting all kinds of permissions.  
> Unfortunately, the problem keeps rearing it's head.
>
> All of our logins are pointed to one directory on the server.  This
> makes it very convenient to run battles.  Everyone's robot is
visible
> to everyone else.  Unfortunately, I haven't noticed where the java
> runtime is. I suspect it's on the same directory.
>
> The big issue is that the NullPointerException is random.  In the
> last class, my login got it.  Therefore, I could not edit any robot.
>
> Any ideas on what we could persue to eliminate the problem of
> NullPointerException?
>



Re: Linux, Java on a server + Robocode =

by Nuno Pereira-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you post the full error report?

On 5/14/07, Edwin Pilobello <e_pilobello@...> wrote:

>
>   Linux, Java on a server + Robocode on the server = a random condition
> of NullPointerException.
>
> I'm conducting a Java Intro class using Robocode at Riverdale
> Elementary School with a group of 12 year olds. Our classroom
> happens to be right next to the District IT Department. So we have
> the attention of the IT guy. He's been trying to eliminate the
> NullPointerException problem by granting all kinds of permissions.
> Unfortunately, the problem keeps rearing it's head.
>
> All of our logins are pointed to one directory on the server. This
> makes it very convenient to run battles. Everyone's robot is visible
> to everyone else. Unfortunately, I haven't noticed where the java
> runtime is. I suspect it's on the same directory.
>
> The big issue is that the NullPointerException is random. In the
> last class, my login got it. Therefore, I could not edit any robot.
>
> Any ideas on what we could persue to eliminate the problem of
> NullPointerException?
>
>  
>



--
Nuno Pereira
http://nunopereira.blogspot.com/

Re: Linux, Java on a server + Robocode =

by gypsy_fly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Fleming.  

I'm on site at the moment and just tried to edit a robot.  That is
where I got the java.lang.NullPointerException.  It appears just after
I select a robot to edit and click OK. I tried changing the compiler
to jikes, but was unsuccessful.  I actually don't know how/where java
and robocode are installed.  My *nix is very very rusty, more like
corroded.

I will ask IT Admin to isntall the latest version.


--- In Robocode@..., "flemmingnlarsen"
<flemming.n.larsen@...> wrote:

>
> The NullPointerException could occur in many places. With the latest
> release of Robocode, the 1.3 Beta 2 I have fixed some potential
> NullPointerExceptions, so I should like you to try out 1.3 Beta 2.
>
> In order to locate where in Robocode the NullPointerException occurs,
> I need the complete stack trace, which is dumped in the console when
> it occurs.
>
> So, please send the stack trace to me, or put it in a reply to this
> message.
>
> Regards,
> - Flemming N. Larsen
>
>
> --- In Robocode@..., "Edwin Pilobello" <e_pilobello@>
> wrote:
> >
> > Linux, Java on a server + Robocode on the server = a random
> condition
> > of NullPointerException.
> >
> > I'm conducting a Java Intro class using Robocode at Riverdale
> > Elementary School with a group of 12 year olds.  Our classroom
> > happens to be right next to the District IT Department.  So we have
> > the attention of the IT guy.  He's been trying to eliminate the
> > NullPointerException problem by granting all kinds of permissions.  
> > Unfortunately, the problem keeps rearing it's head.
> >
> > All of our logins are pointed to one directory on the server.  This
> > makes it very convenient to run battles.  Everyone's robot is
> visible
> > to everyone else.  Unfortunately, I haven't noticed where the java
> > runtime is. I suspect it's on the same directory.
> >
> > The big issue is that the NullPointerException is random.  In the
> > last class, my login got it.  Therefore, I could not edit any robot.
> >
> > Any ideas on what we could persue to eliminate the problem of
> > NullPointerException?
> >
>



Re: Linux, Java on a server + Robocode =

by gypsy_fly :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Humm, I don't see the Control Panel.  How do I display that in Linux?


--- In Robocode@..., "Nuno Pereira" <nuni21@...> wrote:
>
> Can you post the full error report?
>
> On 5/14/07, Edwin Pilobello <e_pilobello@...> wrote:
> >
> >   Linux, Java on a server + Robocode on the server = a random
condition

> > of NullPointerException.
> >
> > I'm conducting a Java Intro class using Robocode at Riverdale
> > Elementary School with a group of 12 year olds. Our classroom
> > happens to be right next to the District IT Department. So we have
> > the attention of the IT guy. He's been trying to eliminate the
> > NullPointerException problem by granting all kinds of permissions.
> > Unfortunately, the problem keeps rearing it's head.
> >
> > All of our logins are pointed to one directory on the server. This
> > makes it very convenient to run battles. Everyone's robot is visible
> > to everyone else. Unfortunately, I haven't noticed where the java
> > runtime is. I suspect it's on the same directory.
> >
> > The big issue is that the NullPointerException is random. In the
> > last class, my login got it. Therefore, I could not edit any robot.
> >
> > Any ideas on what we could persue to eliminate the problem of
> > NullPointerException?
> >
> >  
> >
>
>
>
> --
> Nuno Pereira
> http://nunopereira.blogspot.com/
>



Re: Linux, Java on a server + Robocode =

by flemmingnlarsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm.. if Robocode is run from somewhere else on the system, you might
not be able to see it. If you go to the about window, you'll be able
to see what version of Robocode that you are running in the top right
corner.

If it is not version 1.3 Beta 2, then you should try this version,
e.g. install a local version in your home directory and see if the
problem still exists with this version. If the bug has disappeared,
then you should convince the guy that installed Robocode to install
the new version (or coming version 1.3).

- Flemming

--- In Robocode@..., "Edwin Pilobello" <e_pilobello@...>
wrote:
>
> Humm, I don't see the Control Panel.  How do I display that in
Linux?

>
>
> --- In Robocode@..., "Nuno Pereira" <nuni21@> wrote:
> >
> > Can you post the full error report?
> >
> > On 5/14/07, Edwin Pilobello <e_pilobello@> wrote:
> > >
> > >   Linux, Java on a server + Robocode on the server = a random
> condition
> > > of NullPointerException.
> > >
> > > I'm conducting a Java Intro class using Robocode at Riverdale
> > > Elementary School with a group of 12 year olds. Our classroom
> > > happens to be right next to the District IT Department. So we
have
> > > the attention of the IT guy. He's been trying to eliminate the
> > > NullPointerException problem by granting all kinds of
permissions.
> > > Unfortunately, the problem keeps rearing it's head.
> > >
> > > All of our logins are pointed to one directory on the server.
This
> > > makes it very convenient to run battles. Everyone's robot is
visible
> > > to everyone else. Unfortunately, I haven't noticed where the
java
> > > runtime is. I suspect it's on the same directory.
> > >
> > > The big issue is that the NullPointerException is random. In the
> > > last class, my login got it. Therefore, I could not edit any
robot.

> > >
> > > Any ideas on what we could persue to eliminate the problem of
> > > NullPointerException?
> > >
> > >  
> > >
> >
> >
> >
> > --
> > Nuno Pereira
> > http://nunopereira.blogspot.com/
> >
>