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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to