[jira] Created: (UDIG-1642) Cant edit PostGIS line feature in 1.2-rc2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (UDIG-1642) Cant edit PostGIS line feature in 1.2-rc2

JIRA jira@codehaus.org
Cant edit PostGIS line feature in 1.2-rc2
-----------------------------------------

                 Key: UDIG-1642
                 URL: http://jira.codehaus.org/browse/UDIG-1642
             Project: uDIG
          Issue Type: Bug
          Components: tools and editing
    Affects Versions: UDIG 1.2.RC2
         Environment: Win32 - JRE 1.6.0_20-b02, PostGIS 1.5, PostgreSQL 8.4
            Reporter: Stanley Sufficool


When editing a line feature from a postgis database, the following error is thrown:

java.lang.IllegalStateException: Must call hasNext before calling next
        at org.geotools.jdbc.JDBCFeatureReader.ensureNext(JDBCFeatureReader.java:239)
        at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:253)
        at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:83)
        at org.geotools.data.store.ContentFeatureCollection$WrappingFeatureIterator.next(ContentFeatureCollection.java:197)
        at org.geotools.data.store.ContentFeatureCollection$WrappingFeatureIterator.next(ContentFeatureCollection.java:177)
        at net.refractions.udig.project.command.provider.FIDFeatureProvider.get(FIDFeatureProvider.java:42)
        at net.refractions.udig.project.command.provider.FIDFeatureProvider.get(FIDFeatureProvider.java:1)
        at net.refractions.udig.project.internal.commands.edit.SetAttributeCommand.run(SetAttributeCommand.java:102)
        at net.refractions.udig.project.internal.commands.edit.SetGeometryCommand.run(SetGeometryCommand.java:72)
        at net.refractions.udig.project.command.UndoableComposite.execute(UndoableComposite.java:81)
        at net.refractions.udig.tools.edit.BehaviourCommand.execute(BehaviourCommand.java:65)
        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

       
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel