[Gvsig_english] POTENTIAL ERROR gvSIG 1.9 (BN 1253) -- Jave Heap Error while editing table

Simon Cropper (Botanicus Australia Pty Ltd) scropper at botanicusaustralia.com.au
Fri Jan 8 06:42:02 CET 2010


Hey, ask and you will receive...

The error occurred the next time I used the program (after restart).

For some reason I decided to peel back all things done to the shapefile 
today. Starting with 'checking' the 'spatial index' checkbox in the 
properties section of the layer concerned. Is it possible this was 
corrupted, as once I unticked this box the error disappeared.

Question: Is the spatial index specific to the instance in the ToC or 
the shapefile? It appears as if you can uncheck spatial index in a ToC 
instance and have it ticked in the other ToC instances.

Is may be possible that this variation may have resulted in the crash, 
but I can't consistently trigger the error.

**** ERROR ****

Java heap space java.lang.OutOfMemoryError: Java heap space 
     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:195) 
     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:175) 
     com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.getShape(IndexedShpDriver.java:286)     com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getShape(VectorialFileAdapter.java:144)     com.iver.cit.gvsig.fmap.drivers.featureiterators.AttrQueryFeatureIterator.next(AttrQueryFeatureIterator.java:157)     org.gvsig.symbology.fmap.labeling.GeneralLabelingStrategy.draw(GeneralLabelingStrategy.java:309)     com.iver.cit.gvsig.fmap.layers.FLyrVect.drawLabels(FLyrVect.java:1965)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:215)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)     com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)     com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)     com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)     java.lang.Thread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:195)     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:175)     com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.getShape(IndexedShpDriver.java:286)     com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getShape(VectorialFileAdapter.java:144)     com.iver.cit.gvsig.fmap.drivers.featureiterators.AttrQueryFeatureIterator.next(AttrQueryFeatureIterator.java:157)     org.gvsig.symbology.fmap.labeling.GeneralLabelingStrategy.draw(GeneralLabelingStrategy.java:309)     com.iver.cit.gvsig.fmap.layers.FLyrVect.drawLabels(FLyrVect.java:1965)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:215)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)     com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)     com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)     com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)     java.lang.Thread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:195)     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:175)     com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.getShape(IndexedShpDriver.java:286)     com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getShape(VectorialFileAdapter.java:144)     com.iver.cit.gvsig.fmap.drivers.featureiterators.AttrQueryFeatureIterator.next(AttrQueryFeatureIterator.java:157)     org.gvsig.symbology.fmap.labeling.GeneralLabelingStrategy.draw(GeneralLabelingStrategy.java:309)     com.iver.cit.gvsig.fmap.layers.FLyrVect.drawLabels(FLyrVect.java:1965)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:215)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)     com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)     com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)     com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)     java.lang.Thread.run(Unknown Source) java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:195)     com.iver.cit.gvsig.fmap.core.GeneralPathX. (GeneralPathX.java:175)     com.iver.cit.gvsig.fmap.drivers.shp.IndexedShpDriver.getShape(IndexedShpDriver.java:286)     com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getShape(VectorialFileAdapter.java:144)     com.iver.cit.gvsig.fmap.drivers.featureiterators.AttrQueryFeatureIterator.next(AttrQueryFeatureIterator.java:157)     org.gvsig.symbology.fmap.labeling.GeneralLabelingStrategy.draw(GeneralLabelingStrategy.java:309)     com.iver.cit.gvsig.fmap.layers.FLyrVect.drawLabels(FLyrVect.java:1965)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:215)     com.iver.cit.gvsig.fmap.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:175)     com.iver.cit.gvsig.fmap.MapContext.draw(MapContext.java:1092)     com.iver.cit.gvsig.fmap.MapControl$PaintingRequest.paint(MapControl.java:1043)     com.iver.cit.gvsig.fmap.MapControl$Drawer2$Worker.run(MapControl.java:1234)     java.lang.Thread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     com.jgoodies.looks.plastic.PlasticTabbedPaneUI.ensureCurrentLayout(PlasticTabbedPaneUI.java:544)     com.jgoodies.looks.plastic.PlasticTabbedPaneUI.paint(PlasticTabbedPaneUI.java:332)     javax.swing.plaf.metal.MetalTabbedPaneUI.update(Unknown Source)     javax.swing.JComponent.paintComponent(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JLayeredPane.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JLayeredPane.paint(Unknown Source)     javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)     javax.swing.JComponent.paintDoubleBuffered(Unknown Source)     javax.swing.JComponent._paintImmediately(Unknown Source)     javax.swing.JComponent.paintImmediately(Unknown Source)     javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     com.jgoodies.looks.plastic.PlasticTabbedPaneUI.ensureCurrentLayout(PlasticTabbedPaneUI.java:544)     com.jgoodies.looks.plastic.PlasticTabbedPaneUI.paint(PlasticTabbedPaneUI.java:332)     javax.swing.plaf.metal.MetalTabbedPaneUI.update(Unknown Source)     javax.swing.JComponent.paintComponent(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JLayeredPane.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JComponent.paintChildren(Unknown Source)     javax.swing.JComponent.paint(Unknown Source)     javax.swing.JLayeredPane.paint(Unknown Source)     javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)     javax.swing.JComponent.paintDoubleBuffered(Unknown Source)     javax.swing.JComponent._paintImmediately(Unknown Source)     javax.swing.JComponent.paintImmediately(Unknown Source)     javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source) Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space Java heap space java.lang.OutOfMemoryError: Java heap space java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0     javax.swing.text.BoxView.getOffset(Unknown Source)     javax.swing.text.BoxView.childAllocation(Unknown Source)     javax.swing.text.CompositeView.getChildAllocation(Unknown Source)     javax.swing.text.BoxView.getChildAllocation(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.calculateViewPosition(Unknown Source)     javax.swing.plaf.basic.BasicTextUI$UpdateHandler.layoutContainer(Unknown Source)     java.awt.Container.layout(Unknown Source)     java.awt.Container.doLayout(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validateTree(Unknown Source)     java.awt.Container.validate(Unknown Source)     javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)     javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)     java.awt.event.InvocationEvent.dispatch(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknown Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)     java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.pumpEvents(Unknown Source)     java.awt.EventDispatchThread.run(Unknown Source)

Cheers Simon

Simon Cropper
Botanicus Australia Pty Ltd
PO Box 160, Sunshine, Victoria 3020.
P: 9311 5822. M: 041 830 3437.
mailto: scropper at botanicusaustralia.com.au 
<mailto:scropper at botanicusaustralia.com.au>
web: www.botanicusaustralia.com.au <http://www.botanicusaustralia.com.au>


On 8/01/2010 4:14 PM, Simon Cropper (Botanicus Australia Pty Ltd) wrote:
> Hi,
>
> I managed to generate a Java Heap error in gvSIG.
>
> Unfortunately I was unable to capture any error details.
>
> I can tell you what I was doing and hopefully you can reproduce.
>
> I was editing a shapefile's attribute table. Specifically I was changing
> the values of a field used in complex labeling in individually defined
> labeling classes - 10W = 10m high white writing, 5W = 5m high white
> writing, etc.
>
> The shapefile is present 3 times in ToC. The first is site #, second
> vegetation type, third quality. The label sizre is based on a field
> called [LglGrp]. I was editing this field when I asked myself what the
> previous instance of the shapefile looked like. Without really thinking
> I clicked on the first instance (Site #) of the shapefile to view the
> labels (without saving my changes) and BANG all hell broke loose - I had
> numerous Java Heap Errors.
>
> I exited the program without saving and reentered. The shapefile was
> intact but the recent edits were lost (obviously). I have scoured the
> system but no error log was found.
>
> I have tried to repeat my steps but have not been able to triggered the
> error again.
>
> Anyone know what would have triggered such a response? Memory issues?
>    



More information about the Gvsig_internacional mailing list