[
https://issues.apache.org/jira/browse/LUCENE-7849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16023384#comment-16023384
]
David Smiley commented on LUCENE-7849:
--------------------------------------
We assign fix versions for the version it will be released for. It's atypical
that there is a branch for a specific version at the time an issue is closed.
The release manager for a creates the branch (like branch_6_5 pattern) at the
time of a feature freeze.
_Woops!_ I realized I asked you to assign to 6.6 which is the release
in-progress. This is a bug fix so you could in fact port to branch_6_6 but
since you opted not to, you can add to *6.7*
(BTW I re-assigned the only other issue from branch_6x version and I then
deleted that JIRA version).
> 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), 6.6
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]