web-api-commander
web-api-commander copied to clipboard
java -jar web-api-commander.jar --generateReferenceDDL error
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:

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.
Thank you very much for updates. 👍