ArrayIndexOutOfBoundsException in ShapefileRenderer
---------------------------------------------------

                 Key: GEOT-2606
                 URL: http://jira.codehaus.org/browse/GEOT-2606
             Project: GeoTools
          Issue Type: Bug
          Components: ext shapefilerender
    Affects Versions: 2.5.3
            Reporter: Frank Gasdorf
         Attachments: Rendering2DTest.patch

If a MapContext changes the ShapefileRenderer don't care and uses the old Array 
of layer IndexInfo's:

java.lang.ArrayIndexOutOfBoundsException: 0
        at 
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1340)
        at 
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:265)
        at 
org.geotools.renderer.shape.ShapefileRenderer.paint(ShapefileRenderer.java:1497)
        at 
org.geotools.gui.swing.map.map2d.stream.strategy.SingleBufferedImageStrategy.createBufferImage(SingleBufferedImageStrategy.java:132)
        at 
org.geotools.gui.swing.map.map2d.stream.strategy.SingleBufferedImageStrategy$DrawingThread.run(SingleBufferedImageStrategy.java:252)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to