We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Steps to reproduce:
NullPointerException happens on EditDescriptiveMetadata.java:394
private boolean hasModifiedForm() { HashMap<String, MetadataValue> formMap = new HashMap<>(); for (MetadataValue mv : supportedBundle.getValues()) { formMap.put(mv.getId(), mv); } HashMap<String, MetadataValue> bundleMap = new HashMap<>(); for (MetadataValue mv : bundle.getValues()) { bundleMap.put(mv.getId(), mv); } for (Entry<String, MetadataValue> entry : formMap.entrySet()) { String key = entry.getKey(); MetadataValue mvForm = entry.getValue(); String formValue = mvForm != null ? mvForm.get("value") : ""; MetadataValue mvBundle = bundleMap.get(key); String bundleValue = mvBundle != null ? bundleMap.get(key).get("value") : ""; if (!formValue.equals(bundleValue)) // <<<< HERE return true; } return false; }
This is because formValue and bundleValue are both null.
null
The text was updated successfully, but these errors were encountered:
WIP #1215
ede4708
Desc. metadata with separator edit XML NPE, closes #1215
fef2bf2
f1f48e6
luis100
No branches or pull requests
Steps to reproduce:
NullPointerException happens on EditDescriptiveMetadata.java:394
This is because formValue and bundleValue are both
null
.The text was updated successfully, but these errors were encountered: