﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18103	"TypeError: Cannot read property ""0"" from undefined"	Famlam	team	"==== What steps will reproduce the problem?
1. Open attached file (extract from part of the city of Utrecht, The Netherlands)
2. Run Validator
3. ""TypeError: Cannot read property ""0"" from undefined""

==== What is the expected result?
Warning: bad opening_hours format (or something like that)

==== What happens instead?
""TypeError: Cannot read property ""0"" from undefined""

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019)
Build-Date:2019-08-26 06:57:10
Revision:15322
Relative:URL: ^/trunk

Identification: JOSM/1.5 (15322 nl) Windows 8.1 64-Bit
OS Build number: Windows 8.1 (9600)
Memory Usage: 255 MB / 989 MB (91 MB allocated, but free)
Java version: 1.8.0_221-b11, Oracle Corporation, Java HotSpot(TM) Client VM
Screen: \Display0 1600x900
Maximum Screen Size: 1600x900
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (34977)
+ changeset-viewer (22)
+ tageditor (34977)
+ turnlanes-tagging (281)
+ utilsplugin2 (35098)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/OsmoseValidations&zip=1

Last errors/warnings:
- W: Cannot lock cache directory. Will not use disk cache
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: javax.script.ScriptException: TypeError: Cannot read property ""0"" from undefined in <eval> at line number 44. Oorzaak: jdk.nashorn.internal.runtime.ECMAException: TypeError: Cannot read property ""0"" from undefined
- E: javax.script.ScriptException: TypeError: Cannot read property ""0"" from undefined in <eval> at line number 44. Oorzaak: jdk.nashorn.internal.runtime.ECMAException: TypeError: Cannot read property ""0"" from undefined
}}}
"	defect	closed	normal	20.02	Core validator		fixed	validator typeerror opening_hours	ypid23
