jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoTools
  • GEOT-2144

ScriptTest failure on Linux w/ Java 6

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 2.7.5
  • Component/s: referencing
  • Labels:
    None
  • Environment:
    Maven version: 2.0.9
    Java version: 1.6.0_10
    OS name: "linux" version: "2.6.27-7-generic" arch: "i386" Family: "unix"

Description

This is my first chance to try building on linux in years; after battling with dependency trouble I am now down to sorting out compile errors.

Test set: org.geotools.referencing.ScriptTest
-------------------------------------------------------------------------------
Tests run: 16, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 0.842 sec <<< FAILURE!
testStereographic(org.geotools.referencing.ScriptTest) Time elapsed: 0.043 sec <<< ERROR!
org.opengis.referencing.operation.TransformException: Transformation doesn't produce the expected values.
...
testOrthographic(org.geotools.referencing.ScriptTest) Time elapsed: 0.019 sec <<< ERROR!
org.geotools.referencing.operation.projection.ProjectionException: The transform result may be 1,943,446.412 mete
rs away from the expected position. Are you sure that the input coordinates are inside this map projection area o
f validity? The point is located 270°00.0'W away from the central meridian and 40°47.0'S away from the latitude o
f origin. The projection is "Orthographic".
at org.geotools.referencing.operation.projection.MapProjection.checkReciprocal(MapProjection.java:630)
at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:821)
at org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:855)
at org.geotools.referencing.operation.transform.AbstractMathTransform.transform(AbstractMathTransform.jav
a:256)
at org.geotools.referencing.Console.test(Console.java:602)
at org.geotools.referencing.ScriptRunner.test(ScriptRunner.java:61)

Is this one of those cases where Java 5 handles things differently?

Issue Links

depends upon

Task - A task that needs to be done. GEOT-2117 Review GeoToolkit fixes

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Open - The issue is open and ready for the assignee to start work on it.
is related to

Bug - A problem which impairs or prevents the functions of the product. GEOT-1917 Build failures on jdk 1.6

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Martin Desruisseaux added a comment - 27/Dec/08 4:39 PM
There is some chances that this issue is fixed in geotidy. All projections the test scripts has been ported, some of them modified, and pass with Java 6 update 11 on Linux Gentoo.
Show
Martin Desruisseaux added a comment - 27/Dec/08 4:39 PM There is some chances that this issue is fixed in geotidy. All projections the test scripts has been ported, some of them modified, and pass with Java 6 update 11 on Linux Gentoo.
Hide
Permalink
Martin Desruisseaux added a comment - 04/Feb/09 4:49 AM
Set "fix version" to unknown since I can't commit to fix this issue for the next milestone. Actually this issue is already fixed in geotidy - the question is more when this work can be linked to GeoTools trunk.
Show
Martin Desruisseaux added a comment - 04/Feb/09 4:49 AM Set "fix version" to unknown since I can't commit to fix this issue for the next milestone. Actually this issue is already fixed in geotidy - the question is more when this work can be linked to GeoTools trunk.

People

  • Assignee:
    Unassigned
    Reporter:
    Jody Garnett
Vote (0)
Watch (0)

Dates

  • Created:
    09/Nov/08 9:48 PM
    Updated:
    21/Dec/11 10:38 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.