[ 
https://issues.apache.org/jira/browse/LUCENE-7849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16023085#comment-16023085
 ] 

David Smiley commented on LUCENE-7849:
--------------------------------------

Please assign to 6.6, not branch_6x; thanks.  I think we (the Lucene project) 
should work to _remove_ "branch_6x" and "6.x" as JIRA versions.

> Geo3d: GeoWideLongitudeSlice constructor can fail under some conditions
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-7849
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7849
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial3d
>    Affects Versions: 6.5.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: master (7.0), branch_6x
>
>
> Under some conditions, the GeoWideLongitudeSlice constructor fails because it 
> tries to construct a midpoint using a longitude that is out of range, e.g.:
> {code}
> java.lang.IllegalArgumentException: Longitude 3.2920212245464384 is out of 
> range: must range from -Math.PI to Math.PI
>         at com.nokia.geo3d.GeoPoint.<init>(GeoPoint.java:92)
>         at com.nokia.geo3d.GeoPoint.<init>(GeoPoint.java:52)
>         at com.nokia.geo3d.GeoPoint.<init>(GeoPoint.java:74)
>         at 
> com.nokia.geo3d.GeoWideLongitudeSlice.<init>(GeoWideLongitudeSlice.java:80)
>         at com.nokia.geo3d.GeoBBoxFactory.makeGeoBBox(GeoBBoxFactory.java:72)
> {code}
> This is because the center longitude is computed and is not normalized.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to