[Gvsig_english] java.lang.NullPointerException

Michael Fecht fecht at grid-it.at
Wed Jun 13 11:27:35 CEST 2007


Hi List,

I'm tried to create new shapefile with gvSIG. Everything wored fine 
(creating, digitizing, entering attributes) until I tried to finish 
editition and wanted to save the changes.

The information console prints the following message:

java.lang.NullPointerException

Whats wrong?

Michael

Here ist the logging from the shell:

DEBUG [AWT-EventQueue-1] (NotificationManager.java:99) - 
java.lang.NullPointerException
java.lang.NullPointerException
         at 
com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.getPositionForRecord(IndexedShpDriver.
java:870)
         at 
com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.getShape(IndexedShpDriver.java:352)
         at 
com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getShape(VectorialFileAdapter.java:165)
         at 
com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getFeature(VectorialFileAdapter.java:23
7)
         at 
com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter.getRow(VectorialEditableAdapter.ja
va:485)
         at 
com.iver.cit.gvsig.project.documents.table.gui.Table$DataSourceDataModel.getValueAt(Table.j
ava:1251)
         at javax.swing.JTable.getValueAt(JTable.java:1771)
         at javax.swing.JTable.prepareRenderer(JTable.java:3724)
         at 
javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
         at 
javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
         at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
         at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at 
javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4794)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent.paint(JComponent.java:798)
         at 
java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
         at 
sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
         at 
sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
         at java.awt.Container.paint(Container.java:1312)
         at sun.awt.RepaintArea.paint(RepaintArea.java:177)
         at 
sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:405)
         at java.awt.Component.dispatchEventImpl(Component.java:3678)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at 
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
         at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
DEBUG [AWT-EventQueue-1] (NewSkin.java:480) - Activando Informationskonsole
  INFO [Thread-41] (?:?) - datasource closed










-- 
Mag. Michael Fecht

GRID-IT Gesellschaft für angewandte Geoinformatik mbH
Technikerstraße 21a, A-6020 Innsbruck
web  www.grid-it.at
fax +43 (0)512 507 4869

tel +43 (0)512 507 4862
mail fecht at grid-it.at
-----------------------------------------------------
Abonnieren Sie unseren Newsletter unter
   http://www.grid-it.at/home/service/newsletter/


More information about the Gvsig_internacional mailing list