[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] [jira] (UDIG-1897) CRSChooser logs ClassCastException
|
Frank Gasdorf created UDIG-1897:
-----------------------------------
Summary: CRSChooser logs ClassCastException
Key: UDIG-1897
URL: https://jira.codehaus.org/browse/UDIG-1897
Project: uDIG
Issue Type: Improvement
Components: application, framework
Affects Versions: UDIG 1.3.x
Reporter: Frank Gasdorf
Assignee: Jody Garnett
Priority: Minor
Attachments: CRSChooserClastCastException.patch
If the user tries to change the CRS from, let say WGS84, by hitting the CRSChooser button the following Exception occurs (the value of code was '84' and came from the Regedit Matcher from 'WGS84'):
{noformat}
!MESSAGE Error creating CRS object, trying more...
!STACK 0
java.lang.ClassCastException: org.geotools.referencing.cs.DefaultCoordinateSystemAxis cannot be cast to org.opengis.referencing.crs.CoordinateReferen
ceSystem
at net.refractions.udig.ui.CRSChooser.createCRS(CRSChooser.java:483)
at net.refractions.udig.ui.CRSChooser$5.selectionChanged(CRSChooser.java:193)
{noformat}
IMHO its not a bug because the Chooser isn't broken but because of a ClassCastException that is not caught the error is logged with INFO level into the .log file. Because of an internal guessing this error should not be logged.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira