Skip to content

Crash on Upload: Changeset tag value too long (IllegalArgumentException) when many notes are in the list #33

@ericodb

Description

@ericodb

When adding a large number of notes to the solver list and attempting to upload changes, JOSM crashes with an java.lang.IllegalArgumentException. This happens because the plugin attempts to include all note IDs/references in the changeset comment or tags, exceeding the OpenStreetMap character limit (255 characters).

Steps to Reproduce:

Add a high number of notes (e.g., 20 or more) to the noteSolver list.

Perform some edits in JOSM.

Click on "Upload all changes".

The error window appears instead of the upload confirmation.

Error Log / Stack Trace:

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (51) of main
java.lang.IllegalArgumentException: Changeset tag value is too long: "x....................................."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions