Exception generating supplemental JSON data for CLDR-36

Description

Executing `ldml2json` for supplemental data raises an exception. No exception is raised for `main`, `rbnf` or `segments`.

{{CLDR$ java -DCLDR_DIR=./cldr-common-36 -jar tools/java/cldr.jar org.unicode.cldr.json.Ldml2JsonConverter -d ./json-36 -p true -t supplemental
>> org.unicode.cldr.json.Ldml2JsonConverter
[-d, ./json-36, -p, true, -t, supplemental]
#-c commondir ≝ /Users/kip/Development/Unicode/CLDR/cldr-common-36/common/
#-d destdir ≔ ./json-36
#-m match ≝ .*
#-t type ≔ supplemental
#-r resolved ≝ false
#-s draftstatus ≝ unconfirmed
#-l coverage ≝ optional
#-n fullnumbers ≝ false
#-o other ≝ false
#-p packages ≔ true
#-i identity ≝ true
Processing file supplemental/characters
characterFallbacks.json = 180 values
Processing file supplemental/dayPeriods
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.unicode.cldr.tool.Main.main(Main.java:61)
Caused by: java.lang.UnsupportedOperationException: Can't modify frozen object.
at org.unicode.cldr.util.XPathParts$Element.putAttribute(XPathParts.java:731)
at org.unicode.cldr.util.XPathParts.setAttribute(XPathParts.java:1140)
at org.unicode.cldr.json.CldrItem.split(CldrItem.java:244)
at org.unicode.cldr.json.Ldml2JsonConverter.convertCldrItems(Ldml2JsonConverter.java:589)
at org.unicode.cldr.json.Ldml2JsonConverter.processDirectory(Ldml2JsonConverter.java:1228)
at org.unicode.cldr.json.Ldml2JsonConverter.main(Ldml2JsonConverter.java:119)
... 5 more}}

xpath

None

locale

None

Status

Priority

TBD

Assignee

Unassigned

Reporter

Kip Cole

tracReporter

None

Reviewer

None

Labels

None

Components

None

Fix versions

None

phase

None
Configure