JMapPane doesn't pick up the messages
-------------------------------------
Key: GEOT-918
URL: http://jira.codehaus.org/browse/GEOT-918
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.2.0
Reporter: Adrian Custer
Assigned To: Ian Turton
Priority: Blocker
Fix For: 2.2.0
When JMapPane's MapViewer class is moved to another package and run, the
buttons fail to load because the message.properties files is not found. The
error is something like:
Exception in thread "main" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:138)
at org.geotools.gui.swing.ZoomInAction.<init>(ZoomInAction.java:38)
at
org.geotools.demo.introduction.QuickStart.initGUI(QuickStart.java:445)
at org.geotools.demo.introduction.QuickStart.main(QuickStart.java:617)
The error used to be different, complaining explicitly about the
message.properties file for the ZoomInAction (the first that it tries to load).
(This may be fixed already in which case the bug will have a negative lifespan.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel