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

Collection without keywords results in HTTP 500 #225

Open
WillemElbers opened this issue Sep 21, 2023 · 0 comments
Open

Collection without keywords results in HTTP 500 #225

WillemElbers opened this issue Sep 21, 2023 · 0 comments

Comments

@WillemElbers
Copy link
Contributor

WillemElbers commented Sep 21, 2023

Keywords are optional, but leaving this field empty results in a nullpointer exception causing a HTTP 500:

Caused by: java.lang.NullPointerException
	at java.util.StringTokenizer.<init>(StringTokenizer.java:199) ~[?:?]
	at java.util.StringTokenizer.<init>(StringTokenizer.java:221) ~[?:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.pages.crud.v2.editor.CreateAndEditPanel.persist(CreateAndEditPanel.java:524) ~[classes/:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.pages.crud.v2.editor.CreateAndEditPanel.access$700(CreateAndEditPanel.java:37) ~[classes/:?]
	at eu.clarin.cmdi.virtualcollectionregistry.gui.pages.crud.v2.editor.CreateAndEditPanel$5.onClick(CreateAndEditPanel.java:279) ~[classes/:?]
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

1 participant