Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] edit geom tool feedback

On Wednesday, February 13, 2013 08:21:30 PM Jody Garnett wrote:
> > Going back in time to see when the issue was introduced ...
> > 
> > So what we are up to now:
> > - Moovida is testing 1.3.2  .. done! Issue present
> > - Jody is testing 1.3.1 done! Issue present
> 
> And a question for Mauro:
> 
> This only occurs when zoomed out a bit, as shown below I have selected
> everything while zoomed out, and the moved the points … leaving some
> behind!
> 
> The one left behind above does not appear to be selected?
> 
> So where can I find the code that selects points?
Hi, let me check my understood.


Steps: 
1 -  Select Edit Geometry tool
2 - Select a Geometry
3 - Zoom out
4 - Select all point to move (bbox selection strategy)
5-  Drag the geometry
Result:  the poligon is shown in the new position but one vertex is presented 
in the original position (was not moved)

A Null Pointer exception is thrown

!ENTRY net.refractions.udig.project 1 0 2013-02-14 09:10:01.376
!MESSAGE [Snap To Vertex Command] failed to run
!STACK 0
java.lang.NullPointerException: No points associated with (384,114)
	at 
net.refractions.udig.tools.edit.support.EditBlackboard.setCoords(EditBlackboard.java:1286)
	at 
net.refractions.udig.tools.edit.commands.MoveVertexCommand.run(MoveVertexCommand.java:77)
	at 
net.refractions.udig.project.command.UndoableComposite.execute(UndoableComposite.java:82)
	at 
net.refractions.udig.project.command.CommandManager$Executor.execute(CommandManager.java:395)
	at 
net.refractions.udig.project.command.CommandManager$Executor.run(CommandManager.java:326)
	at 
net.refractions.udig.project.command.CommandManager$Executor.run(CommandManager.java:312)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Even though I have done that step sequence many times this exception doesn't 
appear.

(More testing / debug this afternoon)


cheers


-- 
Mauricio Pazos


Back to the top