Skip to content

Unable to plot any GeoJSON due to JSException #44

@beazt123

Description

@beazt123

Describe the bug

'netscape.javascript.JSException: TypeError: e.sourceTarget.getElement is not a function. (In 'e.sourceTarget.getElement()', 'e.sourceTarget.getElement' is undefined)': TypeError: e.sourceTarget.getElement is not a function. (In 'e.sourceTarget.getElement()', 'e.sourceTarget.getElement' is undefined)

I couldn't get a handle of the JLGeoJson object after attempting to plot my GeoJson. The data does display on the graph but due to the exception, couldn't be removed from the graph subsequently. Software went into illegal state.

To Reproduce
Steps to reproduce the behavior:

  1. set up a javafx project
  2. import this library
  3. use the .fromContent(String) method with a try-catch. Print the catch-all exception

Expected behavior
A clear and concise description of what you expected to happen.
No error in the logs

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions