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

Creating import configuration throws NPE #6016

Open
matthias-ronge opened this issue Mar 28, 2024 · 1 comment
Open

Creating import configuration throws NPE #6016

matthias-ronge opened this issue Mar 28, 2024 · 1 comment
Labels
bug import Import mappings and configurations

Comments

@matthias-ronge
Copy link
Collaborator

Describe the bug
I tried to configure the Kalliope import. This error message occurred when saving. The import configuration was not saved.

java.lang.NullPointerException
    at org.kitodo.production.forms.validators.ImportConfigurationParentMappingValidator.validate(ImportConfigurationParentMappingValidator.java:51)
    at org.kitodo.production.forms.validators.ImportConfigurationParentMappingValidator.validate(ImportConfigurationParentMappingValidator.java:27)
    at javax.faces.component._ComponentUtils.callValidators(_ComponentUtils.java:291)
    at javax.faces.component.UIInput.validateValue(UIInput.java:489)
    at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:155)
    at org.primefaces.component.selectonemenu.SelectOneMenu.validateValue(SelectOneMenu.java:198)
    at javax.faces.component.UIInput.validate(UIInput.java:746)
    at javax.faces.component.UIInput.processValidators(UIInput.java:293)
    at javax.faces.component.UISelectOne.processValidators(UISelectOne.java:117)
    at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1458)
    at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1458)
    at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1458)
    ...

To Reproduce
Steps to reproduce the behavior:

  1. Fill in data, see screenshots below
  2. Click on 'Save'
  3. See error

Expected behavior
The process should be saved, or an understandable error message should appear if there is a problem.

Release
3.6.2

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox 124.0.1

Additional context
page1
page2

@solth solth added the import Import mappings and configurations label Apr 9, 2024
@BartChris
Copy link
Collaborator

Maybe related: #5647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug import Import mappings and configurations
Projects
None yet
Development

No branches or pull requests

3 participants