gvSIG bugs #488
NPE when invert selection on editing mode
Status: | Closed | % Done: | 100% | |
---|---|---|---|---|
Priority: | Urgent | Spent time: | - | |
Assignee: | Cesar Ordiñana | |||
Category: | Vector editing | |||
Target version: | 2.0.0-alpha5 | |||
Severity: | Add-on version: | |||
gvSIG version: | 2.0.0 | Add-on build: | ||
gvSIG build: | 2045 | Add-on resolve version: | ||
Operative System: | Add-on resolve build: | |||
Keywords: | Proyecto: | |||
Has patch: | No | Hito: | ||
Add-on name: | Unknown |
Description
- Create a new view
- Add a Shape
- Store the project
- Close the project
- Open the stored project
- Select a feature (just select by point)
- Start Editing
- Open Attribute table
- Click on invert selection at menu bar
This steps throws:
java.lang.NullPointerException at org.gvsig.fmap.dal.feature.impl.DefaultFeatureReferenceSelection.getCommands(DefaultFeatureReferenceSelection.java:347) at org.gvsig.fmap.dal.feature.impl.DefaultFeatureReferenceSelection.reverse(DefaultFeatureReferenceSelection.java:257) at org.gvsig.fmap.dal.feature.impl.DefaultFeatureReferenceSelection.reverse(DefaultFeatureReferenceSelection.java:247) at org.gvsig.app.extension.TableRowsOperations.invertSelection(TableRowsOperations.java:84) at org.gvsig.app.extension.TableRowsOperations.execute(TableRowsOperations.java:71)
Associated revisions
When loaded from persistence the FeatureSelectionHelper was not being created.
Fixes #488.
History
#1 Updated by Manuel Madrid about 12 years ago
- Priority changed from Normal to Urgent
#2 Updated by Joaquín del Cerro Murciano about 12 years ago
- Target version set to 2.0.0-alpha5
#3 Updated by Cesar Ordiñana about 12 years ago
- Status changed from New to In progress
- Assignee set to Cesar Ordiñana
#4 Updated by Cesar Ordiñana about 12 years ago
- Status changed from In progress to Awaiting response
I was unable to reproduce the problem. Maybe its related to the layer being edited.
¿Could you provide the shape which produced the error just in case?
#5 Updated by Jose Manuel Vivó Arnal about 12 years ago
Try to reproduce it in a stored project.
#6 Updated by Cesar Ordiñana about 12 years ago
- Description updated (diff)
Yes, the error is produced over a view of an stored project, instead of a new one.
I'm going to change the main description of the steps to reflect it.
#7 Updated by Cesar Ordiñana about 12 years ago
- Status changed from Awaiting response to Fixed
- % Done changed from 0 to 100
Applied in changeset r38192.
#8 Updated by María Maluenda almost 12 years ago
- Status changed from Fixed to Closed
Closed in the gvSIG build 2047
#9 Updated by María Maluenda almost 12 years ago
Closed in the gvSIG build 2047