|
From: Samuel F. <sam...@gm...> - 2012-09-13 12:11:36
|
Hello,
I tried to run ImageLab.java (in org.geotools.demo with GeoTools 2.7.5) and
I got the following error:
at org.geotools.swing.JMapPane.setTransforms(JMapPane.java:1114)
at org.geotools.swing.JMapPane.doSetDisplayArea(JMapPane.java:607)
at org.geotools.swing.JMapPane.doSetMapContext(JMapPane.java:505)
at org.geotools.swing.JMapPane.setMapContext(JMapPane.java:472)
at org.geotools.swing.JMapFrame.<init>(JMapFrame.java:172)
at org.geotools.swing.JMapFrame.<init>(JMapFrame.java:152)
at org.geotools.demo.ImageLab.displayLayers(ImageLab.java:124)
at org.geotools.demo.ImageLab.getLayersAndDisplay(ImageLab.java:87)
at org.geotools.demo.ImageLab.main(ImageLab.java:61)
It seems that there is a problem with JMapPane where the variable
currentPaintArea is null and then setTransforms() fails. This code used to
run fine with 2.7.2.
any workaround?
thanks
|