gvSIG bugs #4630
Not possible to add the new field (AREA or PERIMETER)
Status: | Closed | % Done: | 0% | |
---|---|---|---|---|
Priority: | Normal | Spent time: | - | |
Assignee: | ||||
Category: | Document table | |||
Target version: | 2.4.0-2834 (rev. org.gvsig.desktop-2.0.201) | |||
Severity: | Major | Add-on version: | ||
gvSIG version: | 2.4.0 | Add-on build: | ||
gvSIG build: | 2833 | Add-on resolve version: | ||
Operative System: | Add-on resolve build: | |||
Keywords: | Proyecto: | |||
Has patch: | Hito: | |||
Add-on name: | Unknown |
Description
It's not possible to add and populate the AREA (or PERIMETER) field by the GeometryMeasurementExtension when there are NULL geometries:
INFO 1421631 AWT-EventQueue-0 org.gvsig.andami.actioninfo.impl.DefaultActionInfo - org.gvsig.geometrymeasurement.app.mainplugin:org.gvsig.geometrymeasurement.app.extension.AreaMeasurementExtension.execute('table-add-area') ERROR 1422941 AWT-EventQueue-0 org.gvsig.geometrymeasurement.app.extension.AbstractGeometryMeasurementExtension - Not possible to add the new field java.lang.NullPointerException at org.gvsig.geometrymeasurement.app.extension.utils.Operations.addDoubleFieldFromOperation(Operations.java:95) at org.gvsig.geometrymeasurement.app.extension.AreaMeasurementExtension.execute(AreaMeasurementExtension.java:49) at org.gvsig.geometrymeasurement.app.extension.AbstractGeometryMeasurementExtension.execute(AbstractGeometryMeasurementExtension.java:161) at org.gvsig.andami.actioninfo.impl.DefaultActionInfo.execute(DefaultActionInfo.java:307) at org.gvsig.andami.actioninfo.impl.DefaultActionInfo.actionPerformed(DefaultActionInfo.java:352) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [...] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) ERROR 1423019 AWT-EventQueue-0 org.gvsig.andami.messages.NotificationManager - java.lang.NullPointerException java.lang.NullPointerException at org.gvsig.geometrymeasurement.app.extension.utils.Operations.addDoubleFieldFromOperation(Operations.java:95) at org.gvsig.geometrymeasurement.app.extension.AreaMeasurementExtension.execute(AreaMeasurementExtension.java:49) at org.gvsig.geometrymeasurement.app.extension.AbstractGeometryMeasurementExtension.execute(AbstractGeometryMeasurementExtension.java:161) at org.gvsig.andami.actioninfo.impl.DefaultActionInfo.execute(DefaultActionInfo.java:307) at org.gvsig.andami.actioninfo.impl.DefaultActionInfo.actionPerformed(DefaultActionInfo.java:352) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) [...] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) INFO 1423940 AWT-EventQueue-0 org.gvsig.fmap.mapcontrol.dal.feature.swing.table.FeatureTableModel$DelayAction - DelayAction.run[16] begin ERROR 1423940 AWT-EventQueue-0 org.gvsig.andami.messages.NotificationManager - Attribute 'GEOMETRY'[150306876476316_53175d22] is read only. Attribute 'GEOMETRY'[150306876476316_53175d22] is read only. at org.gvsig.fmap.dal.feature.impl.DefaultFeature.set(DefaultFeature.java:115) at org.gvsig.fmap.dal.feature.impl.DefaultEditableFeature.set(DefaultEditableFeature.java:86) at org.gvsig.fmap.dal.feature.impl.FeatureTypeManager$UpdateFeatureTypeTransform.applyTransform(FeatureTypeManager.java:259) at org.gvsig.fmap.dal.feature.impl.DefaultFeatureStoreTransforms.applyTransform(DefaultFeatureStoreTransforms.java:236) at org.gvsig.fmap.dal.feature.impl.featureset.FastDefaultIterator.createFeature(FastDefaultIterator.java:65) at org.gvsig.fmap.dal.feature.impl.featureset.DefaultIterator.next(DefaultIterator.java:105) at org.gvsig.fmap.dal.feature.impl.featureset.FastDefaultIterator.next(FastDefaultIterator.java:31) [...] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Associated revisions
refs #4630, corregido NullPointerException
History
#1
Updated by Joaquín del Cerro Murciano about 7 years ago
- Target version changed from 2.4.0-2850-final (rev. org.gvsig.desktop-2.0.220) to 2.4.0-2834 (rev. org.gvsig.desktop-2.0.201)
- Assignee set to Joaquín del Cerro Murciano
#2
Updated by Joaquín del Cerro Murciano about 7 years ago
- Status changed from New to Fixed
#3
Updated by Antonio Falciano almost 7 years ago
- Status changed from Fixed to Closed