uDIG
  1. uDIG
  2. UDIG-1882

UDIGSimpleFeatureStore getBounds() required to issue add point notification

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.x
    • Fix Version/s: None
    • Component/s: tools and editing
    • Labels:
      None
    • Environment:
      win64, lin64

      Description

      I just wanted to add a point to an existing layer.
      What I get are the following exceptions:

      java.lang.UnsupportedOperationException: subclasses should override
      at org.geotools.feature.collection.AdaptorFeatureCollection.getBounds(AdaptorFeatureCollection.java:613)
      at net.refractions.udig.project.internal.impl.UDIGSimpleFeatureStore.addFeatures(UDIGSimpleFeatureStore.java:279)
      at net.refractions.udig.project.internal.commands.edit.AddFeatureCommand.run(AddFeatureCommand.java:89)
      at net.refractions.udig.tools.edit.commands.CreateAndSelectNewFeature.run(CreateAndSelectNewFeature.java:86)
      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:54)

      Plus the new feature is duplicated, so I end up in having to remove on of the two.

        Activity

          People

          • Assignee:
            Jody Garnett
            Reporter:
            Andrea Antonello
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: