bubgum / crw-cmu

Automatically exported from code.google.com/p/crw-cmu
0 stars 0 forks source link

Fishfarm GUI throws an exception each time while adding a boat after the first one #55

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add the first boat to the GUI
2. Add the second boat to the GUI

What is the expected output? What do you see instead?
Null pointer exception. See attached file. Maybe a related issue, the sensor 
readings from the boats that throw this exception are not displayed in the 
Netbeans output.

Original issue reported on code.google.com by abhinav....@gmail.com on 12 Mar 2012 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
The boat marker is also not shown for boats that are added after the first one.

Original comment by abhinav....@gmail.com on 12 Mar 2012 at 6:41

GoogleCodeExporter commented 9 years ago

Original comment by abhinav....@gmail.com on 12 Mar 2012 at 6:56

GoogleCodeExporter commented 9 years ago
I can't replicate this.  The exception in the log file was the data add one 
that I just wrapped in another bug fix, although there is no sign that 
exception is actually occurring. 

I suspect that it is actually some combination of algorithm and display setting 
that causes the problem.  Can you try to replicate and record which settings 
you used to cause it to happen?

Original comment by psh...@gmail.com on 20 Mar 2012 at 1:32

GoogleCodeExporter commented 9 years ago
This was caused due to the null values obtained from the sensor initially when 
connected. A catch statement was out.

Original comment by abhinav....@gmail.com on 22 Mar 2012 at 3:58