Re: [OpenMap Users] VPFLayer.setPath()

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 23 Mar 2005 09:33:08 -0500

Hi Thomas,

You can put more than one disk in the path, and the layer will switch
between continents automatically.

What version are you using? I can't get a good idea of what's null.

- Don


On Mar 23, 2005, at 9:21 AM, Thomas Coffin wrote:

> Hi,
>
> I'm using a VPFLayer to display VMap data. When I use the setPath()
> method to switch from a continent to another, I sometimes get the
> following exception :
> *** ERROR ***
> VPF Layer|LayerWorker.construct(): java.lang.NullPointerException
> *************
> java.lang.NullPointerException
> at com.bbn.openmap.layer.vpf.VPFLayer.prepare(VPFLayer.java:700)
> at
> com.bbn.openmap.layer.policy.BufferedImageRenderPolicy.prepare(Buffered
> ImageRenderPolicy.java:69)
> at
> com.bbn.openmap.layer.OMGraphicHandlerLayer$LayerWorker.construct(OMGra
> phicHandlerLayer.java:648)
> at com.bbn.openmap.util.SwingWorker$2.run(SwingWorker.java:117)
> at java.lang.Thread.run(Thread.java:534)
>
> I met this problem a few times, and I can't reproduce the bug. Most of
> the times, the setPath() method works perfectly.
> Am I doing something wrong ? Is there something I should do before
> making the call to setPath() ?
>
> This is not a critical bug in my application, since the new VMap data
> loaded is still displayed correctly, but I would like to avoid the
> exception to occur, and to understand if whatever I'm doing wrong
> might cause a more serious bug.
>
> Thanks in advance for your help.
>
> --------------------------------------
> Thomas Coffin
> Artelys S.A.
> http://www.artelys.com
> Tel. : + (33|0)1.41.46.19.00
>
> --
> [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"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Mar 23 2005 - 09:33:55 EST

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