Hello Mason, I'm unable to reproduce this error with Quickstart using GeoTools version 8-SNAPSHOT. From the error trace, I thought it might occur when displaying a shapefile without a defined map projection (.prj file) but I've just tested that and got no error. So I'm assuming it only happens with particular data. Can you give me some details about the data you are displaying please or send me (off list) a small sample.
Michael On 15 August 2011 07:49, mason <[email protected]> wrote: > Hi, > > I have been having the same problem with Erkin. I used the code from the > Quickstart Tutorial and I have set the GeoTools version to 8-SNAPSHOT. > However, I get the following warning messages after map loaded successfully: > Please have a look, thanks. > > Aug 15, 2011 10:35:21 AM org.geotools.filter.function.DefaultFunctionFactory > loadFunctions > WARNING: Function in10 clash between FilterFunction_in8 and > FilterFunction_in9 > Aug 15, 2011 10:35:21 AM org.geotools.filter.function.DefaultFunctionFactory > getFunctionName > WARNING: class > org.geotools.filter.function.FilterFunction_bufferWithSegments has name > conflict betwee 'bufferWithSegments' and 'buffer' > Aug 15, 2011 10:35:21 AM org.geotools.filter.function.DefaultFunctionFactory > loadFunctions > WARNING: Function area clash between AreaFunction and FilterFunction_area > Aug 15, 2011 10:35:21 AM org.geotools.filter.function.DefaultFunctionFactory > loadFunctions > WARNING: Function in10 clash between FilterFunction_in9 and > FilterFunction_in10 > Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException > at java.awt.geom.AffineTransform.<init>(Unknown Source) > at org.geotools.map.MapViewport.getScreenToWorld(MapViewport.java:351) > at > org.geotools.swing.JMapPane.getScreenToWorldTransform(JMapPane.java:783) > at > org.geotools.swing.tool.MapToolManager.convertEvent(MapToolManager.java:198) > at > org.geotools.swing.tool.MapToolManager.mouseEntered(MapToolManager.java:152) > at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source) > at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > mason > > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Problem-method-JMapFrame-showMap-tp6578002p6685745.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > FREE DOWNLOAD - uberSVN with Social Coding for Subversion. > Subversion made easy with a complete admin console. Easy > to use, easy to manage, easy to install, easy to extend. > Get a Free download of the new open ALM Subversion platform now. > http://p.sf.net/sfu/wandisco-dev2dev > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
