On Oct 6, 2004, at 11:18 AM, Andrew Hnatiw wrote:
>
> When I run my code on a Solaris box I get an error window that pops up
> and says
>
> "Political Boundaries|LayerWorker.construct():
> java.lang.NullPointerException"
>
> and the backtrace says that it occurred at ShapeLayer.java:372. This
> appears to be where it grabs
> data from a file... I only get the error every once in a while, and
> when I do the political layer doesn't get
> drawn. If I cause the screen to redraw for any reason it will usually
> draw itself fine afterwards.
>
> Does anybody know how to fix this, or at least how to get rid of the
> error window that pops up? I am giving
> a demo of my work next week and would love to not have error messages
> popping up.
You can comment out the call to fireRequestMessage() at the bottom of
the OMGraphicHandler's LayerWorker.construct() method.
Have you got a stack trace of the null pointer exception?
- Don
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Oct 06 2004 - 12:17:08 EDT