Re: [OpenMap Users] Political Layer NullPointerException

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 6 Oct 2004 12:15:51 -0400

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

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT