web-api-commander icon indicating copy to clipboard operation
web-api-commander copied to clipboard

java -jar web-api-commander.jar --generateReferenceDDL error

Open honeymoose opened this issue 2 years ago • 2 comments

Run command:

java -jar web-api-commander.jar --generateReferenceDDL

get error.

C:\Users\yhu>cd C:\Users\yhu\Downloads

C:\Users\yhu\Downloads>java -jar web-api-commander.jar --generateReferenceDDL
java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "org.reso.models.ReferenceStandardField.getSuggestedMaxLength()" is null

C:\Users\yhu\Downloads>

guess was error:

2023-08-29_15-45-20

honeymoose avatar Aug 29 '23 19:08 honeymoose

Thanks for reporting this. I'll look into it.

For now, you can use the DDL that's been checked in. https://github.com/RESOStandards/web-api-commander/tree/main/src/main/resources/ddl

Note that RESO is no longer using numeric keys for its resources so you should use the string version.

darnjo avatar Sep 22 '23 02:09 darnjo

Thank you very much for updates. 👍

honeymoose avatar Sep 22 '23 02:09 honeymoose