Modify

Opened 4 days ago

Closed 4 days ago

Last modified 3 days ago

#24303 closed defect (duplicate)

Plugin intersection uses deprecated, now removed method

Reported by: galen8183 Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin intersection Version:
Keywords: Cc:

Description

The intersection plugin uses the newly removed greatCircleDistance method from LatLon.java
Removed in:

commit 80050a1fe661292911cb6408e270d450565fb3e0 (tag: 19394)
Author: stoecker <stoecker@0c6e7542-c601-0410-84e7-c038aed88b3b>
Date:   Fri 2025-04-25 20:46:01 +0000
 
    fix #24104 - drop remaining deprecations
 
    git-svn-id: https://josm.openstreetmap.de/svn/trunk@19394 0c6e7542-c601-0410-84e7-c038aed88b3b

Error given:

 - 00018.551 E: Handled by bug report queue: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin intersection. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoSuchMethodError: 'double org.openstreetmap.josm.data.coor.LatLon.greatCircleDistance(org.openstreetmap.josm.data.coor.LatLon)'

Issue on the plugin repo: https://github.com/kaart-labs/lane-connectivity_plugin/issues/7

Attachments (0)

Change History (4)

comment:1 by anonymous, 4 days ago

Thanks for your report, however your ticket is incomplete and therefore not helpful in its current form.

Please add all needed information according to this list:

  • The required parts of the Status Report from your JOSM.
  • Describe what behaviour you expected.
  • Describe what did happen instead.
  • Describe if and how the issue is reproducible.
  • Add any relevant information like error messages or screenshots.

To ensure that all technical relevant information is contained, create new tickets by clicking in JOSMs Main Menu on Helpsource:trunk/resources/images/bug.svg Report Bug.

Remember: This is a generic notice so we don't need to write the same stuff again and again. It may only apply in parts to the specific case!



What version are you running?

comment:2 by stoecker, 4 days ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #24292.

in reply to:  1 comment:3 by galen8183, 3 days ago

Replying to anonymous:

What version are you running?

Any version after 19394, as mentioned in the commit shown... specific details were unimportant here.

comment:4 by taylor.smock, 3 days ago

Plugin version, not JOSM version.
I did a plugin version bump and rebuild a few days ago, and I wanted to make certain you had the latest version of the plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.