Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
honeymoose opened this issue Aug 29, 2023 · 2 comments
Open

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

honeymoose opened this issue Aug 29, 2023 · 2 comments

Comments

@honeymoose
Copy link

honeymoose commented Aug 29, 2023

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

@darnjo
Copy link
Member

darnjo commented Sep 22, 2023

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.

@honeymoose
Copy link
Author

Thank you very much for updates. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants