Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.2.5, 3.2.6
-
None
-
None
-
Unknown
Description
In version 3.2.5 a classifier check was introduced in the if clause, in line 471 as of version 3.2.6:
classifier.equals(a.getClassifier())
but without null pointer protection, causing an NPE if classifier is null. classifier is expected to sometimes be null as the present check in line 476 (just 5 lines below) demonstrates. The above clause could be rewritten as e.g.:
Objects.equals(classifier, a.getClassifier())
Attachments
Issue Links
- duplicates
-
CXF-7851 NullPointerException in cxf-java2ws-plugin with more than one attachWsdl=true
- Closed