You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozhera.apache.org by "xs3508198 (via GitHub)" <gi...@apache.org> on 2025/03/13 10:27:43 UTC

[PR] fix: fix null point exception [ozhera]

xs3508198 opened a new pull request, #564:
URL: https://github.com/apache/ozhera/pull/564

   <!--
   
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you under the Apache License, Version 2.0 (the
       "License"); you may not use this file except in compliance
       with the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
       Unless required by applicable law or agreed to in writing,
       software distributed under the License is distributed on an
       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       KIND, either express or implied.  See the License for the
       specific language governing permissions and limitations
       under the License.
   
   -->
   
   <!-- Please make sure you have read and understood the contributing guidelines -->
   
   ### Ⅰ. Describe what this PR did
   This PR fixes a Null Pointer Exception (NPE) in the code.
   
   ### Ⅱ. Does this pull request fix one issue?
   <!-- If that, add "fixes #xxx" below in the next line, for example, fixes #97. -->
   None.
   
   ### Ⅲ. Why don't you add test cases (unit test/integration test)? 
   The fix is relatively straightforward and does not require additional test cases. However, if necessary, I can add unit tests to cover this scenario.
   
   ### Ⅳ. Describe how to verify it
   Run the application and navigate to the part of the code where the NPE previously occurred.
   Ensure that the application no longer crashes and handles the null value gracefully.
   Check the logs to confirm that no exceptions are thrown.
   
   ### Ⅴ. Special notes for reviews
   Please review the null check to ensure it does not impact the existing logic.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org
For additional commands, e-mail: commits-help@ozhera.apache.org


Re: [PR] fix: fix null point exception [ozhera]

Posted by "gaoxh (via GitHub)" <gi...@apache.org>.
gaoxh merged PR #564:
URL: https://github.com/apache/ozhera/pull/564


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org
For additional commands, e-mail: commits-help@ozhera.apache.org