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
-- [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 Thu Jul 11 04:01:43 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT