If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
NASA WorldWind Java v2.1.0 has been released! Release notes can be found in the Java forum
The BasicDragger received an update in 2.1.0 to account for drifting away from the cursor during dragging. Classes implementing Movable or Movable2 in the SDK were updated to use the new Draggable interface. I ran the Placemarks example in the SDK with a BasicDragger and did not see the NPE during dragging operations.
Are you using one of the base WW classes or a custom class? There does seem to be an issue with handling of legacy drag operations, see this issue: https://github.com/NASAWorldWind/Wor...Java/issues/94
This would occur if you were using a Movable/Movable2 object that had not been updated to the Draggable interface. The standard PointPlacemark was updated in 2.1.0 and my testing indicates there isn't a problem, but if you can provide more details, I might be able to duplicate the behavior.
I recommend using the DraggableSupport object. It accounts for billboard vs terrain object presentations and dragging on terrain or the ellipsoid. It will also handle the position conversions and, since you've implemented Movable, it will call it automatically.