2008/8/19 Krzysztof Sobolewski <[EMAIL PROTECTED]>:
>
> I don't think I'll be able to try to reproduce it until saturday, at least... 
> Are you comfortable with debugging Java programs?

I think I'm making some progress. You are using the sizes of the
galaxies to determine the map bounds (TParsecDataModel:312 and
onwards). Risk has a size of 0 and a position of (0,0,0) on all
galaxies it seems. I suppose it only uses them as a container for
other stuff, and not something meaningful to be displayed. This means
that the mapbounds are (0,0) to (0,0), thus width/height is 0 and
division by zero later on.

I'm going to let others fight on whether Risk or Starmapper needs to
change. What do you even do when there are no galaxies,
NullPointerExceptions? Or is that situation just not allowed by the
protocol?

Iwanowitch
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to