Re: OMText.setRotationAngle method problem

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Jul 19 2002 - 15:27:20 EDT

Thanks for the report, Paul, it's fixed for 4.5.1.

- Don

On Wednesday, July 10, 2002, at 05:57 PM, Paul Chisholm wrote:

> I am using the OMText.setRotationAngle method. In 4.4 it works fine but
> in 4.5 if the argument is anything but 0.0 the following exception is
> raised:
>  
> java.lang.NullPointerException
>  at com.bbn.openmap.omGraphics.OMText.render(OMText.java:935)
>  at
> com.bbn.openmap.omGraphics.OMGraphicList.render(OMGraphicList.java:675)
>  
> Source lines 934+935 of OMText in 4.5 are
>  
> //       computeBounds();
>      Rectangle rect = polyBounds.getBounds();
> In 4.4 the computeBounds call is not commented out. I think the call to
> computeBounds is supposed to initialise polyBounds.
>  
> Paul
>  
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jul 19 15:29:23 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT