This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f4f006f35 AXIS2-6071 Fix NPE in logging code
2f4f006f35 is described below

commit 2f4f006f3571aa3219403c9c8d2d095c14568110
Author: Robert Lazarski <alphatheory-rlazar...@github.com>
AuthorDate: Fri Jul 19 16:01:13 2024 -1000

    AXIS2-6071 Fix NPE in logging code
---
 modules/kernel/src/org/apache/axis2/deployment/util/Utils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java 
b/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
index 39b1f28b02..fac2f5fb6d 100644
--- a/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
+++ b/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
@@ -426,7 +426,7 @@ public class Utils {
                 if (axisOperation == null) {
                     axisOperation = getAxisOperationForJmethod(method);
                     axisService.addOperation(axisOperation);
-                    log.warn("on methodName: " +methodName+ " , 
enableJSONOnly: " +enableJSONOnly+ " , axisOperation added to service: " 
+axisService.getName()+ " , operation: " + 
axisOperation.getName().getLocalPart());
+                    log.warn("on methodName: " +methodName+ " , 
enableJSONOnly: " +enableJSONOnly+ " , axisOperation added to service: " 
+axisService.getName());
                 }
                 // by now axis operation should be assigned but we better 
recheck & add the paramether
                 if (axisOperation != null) {

Reply via email to