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