You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Domagoj Cosic (JIRA)" <ji...@apache.org> on 2018/10/19 10:20:00 UTC
[jira] [Created] (CXF-7880) NullPointerException in
org.apache.cxf.maven_plugin.Java2WSMojo
Domagoj Cosic created CXF-7880:
----------------------------------
Summary: NullPointerException in org.apache.cxf.maven_plugin.Java2WSMojo
Key: CXF-7880
URL: https://issues.apache.org/jira/browse/CXF-7880
Project: CXF
Issue Type: Bug
Components: Tooling
Affects Versions: 3.2.6, 3.2.5
Reporter: Domagoj Cosic
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 may be null as the present check in line 476 (just 5 lines below) demonstrates. It would easily solve the problem if you could rewrite the above clause as e.g.:
{{Objects.equals(classifier, a.getClassifier())}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)