﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
21301	Broken format of message for invalid searches	skyper	team	"==== What steps will reproduce the problem?
1. Have some data
1. In Search Dialog, search for `id`

==== What is the expected result?
A well formatted user instruction

==== What happens instead?
A message with format syntax

[[Image(josm_invalid_search_format.jpg,link=)]]

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-09-05 22:35:08 +0200 (Sun, 05 Sep 2021)
Revision:18194
Build-Date:2021-09-05 20:36:08
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18194 en) Linux Debian GNU/Linux 11 (bullseye)
Java version: 17-ea+19-Debian-1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarculaLaf
Environment variable LANG: en_US.utf8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME

Plugins:
+ flatlaf (35799)

Last errors/warnings:
- 05514.176 W: org.openstreetmap.josm.data.osm.search.SearchParseError: Range of primitive ids expected
- 05606.709 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke ""java.lang.CharSequence.length()"" because ""this.text"" is null
- 05680.388 W: org.openstreetmap.josm.data.osm.search.SearchParseError: Range of primitive ids expected
- 05723.569 W: org.openstreetmap.josm.data.osm.search.SearchParseError: Range of primitive ids expected
- 05790.037 W: org.openstreetmap.josm.data.osm.search.SearchParseError: Range of primitive ids expected
- 06068.318 W: org.openstreetmap.josm.data.osm.search.SearchParseError: Range of primitive ids expected
- 06219.019 W: org.openstreetmap.josm.data.osm.search.SearchParseError: <html>Expecting <code>:</code> after <i>id</i></html>
}}}"	defect	new	minor		Core	latest		template_report search invalid	
