and i tried one more thing when i implement the
public void projectionChanged(ProjectionEvent event) {
projection = event.getProjection();
Iterator itList = unitList.iterator();
while (itList.hasNext()) {
MilitaryUnitGraphicsObj graphic = (MilitaryUnitGraphicsObj)
itList
.next();
graphic.setNeedToRegenerate(true);
graphic.getUnitDescription().setNeedToRegenerate(true);
if (projection != null){
graphic.generate(projection);
graphic.getUnitDescription().generate(projection);
}
}
}
during the call to graphic.getUnitDescription().generate(projection);
when i go to debugging into the generate method of OMText i get
exception calling this method pt.translate(point.x, point.y); exception
is NullPointer Exception (PLEASE HELP) what is wrong with the OMText ??
i construct it normlly using approprite constructod.
Mariusz Chmielewski
--
[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 Fri Jun 03 2005 - 10:17:31 EDT