NetLogo/GIS-Extension — Issue #2: applet intermittently fails to read data files in both 4.1.3 and 5.0
Author: SethTisue
Created: 2011-11-14 22:46:31+00:00
State: open

sometimes it works, but there are intermittent failures, with all sorts of different error messages (sometimes a heap space error even if you're running with a ton of heap). it seems that when the extension reads data files their contents may intermittently be corrupted?

example of one of the errors you can get:
```text
java.io.IOException: unsupported shape type
at org.myworldgis.io.shapefile.ESRIShapeBuffer.getESRIRecord(ESRIShapeBuffer.java:132)
at org.myworldgis.io.shapefile.ESRIShapefileReader.getNextShape(ESRIShapefileReader.java:87)
at org.myworldgis.netlogo.LoadDataset.loadShapefile(LoadDataset.java:101)
at org.myworldgis.netlogo.LoadDataset.reportInternal(LoadDataset.java:189)
at org.myworldgis.netlogo.GISExtension$Reporter.report(GISExtension.java:40)
at org.nlogo.prim._externreport.report(_externreport.java:56)
at org.nlogo.prim._setobservervariable.perform(_setobservervariable.java:38)
at org.nlogo.nvm.Context.stepConcurrent(Context.java:99)
at org.nlogo.nvm.ConcurrentJob.step(ConcurrentJob.java:90)
at org.nlogo.job.JobThread.runPrimaryJobs(JobThread.java:181)
at org.nlogo.job.JobThread.run(JobThread.java:105)
```