Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1701) advanced editing: cannot start drawing from an existing vertex

advanced editing: cannot start drawing from an existing vertex
--------------------------------------------------------------

                 Key: UDIG-1701
                 URL: http://jira.codehaus.org/browse/UDIG-1701
             Project: uDIG
          Issue Type: Bug
          Components: tools and editing
    Affects Versions: UDIG 1.2.RC3, UDIG 1.2.RC2
         Environment: win xp, jre 1.6.0_18
            Reporter: Atte Kemppilä


1. enable "advanced editing" (window > preferences > tool > edit tool >  advanced editing)
2. select "create polygon tool"
3. draw a polygon
4. commit
5. draw a second polygon. start drawing from a vertex of the previously created polygon.

result: Drawing doesn't begin as it should. See stacktrace from below.

* Works if "advanced editing" is not enabled.
* Current snapping behavior doesn't seem to have effect. You get error even if you have "no snapping".
* Works fine if the vertex to which you are snapping is not on same layer you are editing.
* Fails with point and line tools also.


Error from the log:

!ENTRY net.refractions.udig.project 1 0 2010-07-19 13:30:28.580
!MESSAGE [Select Geometry] failed to run
!STACK 0
java.util.NoSuchElementException
	at net.refractions.udig.tools.edit.commands.SelectFeaturesAtPointCommand$IntersectTestingIterator.next(SelectFeaturesAtPointCommand.java:300)
	at net.refractions.udig.tools.edit.commands.SelectFeaturesAtPointCommand$IntersectTestingIterator.next(SelectFeaturesAtPointCommand.java:1)
	at net.refractions.udig.tools.edit.commands.SelectFeaturesAtPointCommand.runSelectionStrategies(SelectFeaturesAtPointCommand.java:188)
	at net.refractions.udig.tools.edit.commands.SelectFeaturesAtPointCommand.run(SelectFeaturesAtPointCommand.java:111)
	at net.refractions.udig.project.command.UndoableComposite.execute(UndoableComposite.java:81)
	at net.refractions.udig.project.command.CommandManager$Executor.execute(CommandManager.java:394)
	at net.refractions.udig.project.command.CommandManager$Executor.run(CommandManager.java:325)
	at net.refractions.udig.project.command.CommandManager$Executor.run(CommandManager.java:311)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




Back to the top