[ 
https://issues.apache.org/jira/browse/ARTEMIS-4965?focusedWorklogId=932506&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-932506
 ]

ASF GitHub Bot logged work on ARTEMIS-4965:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Aug/24 21:21
            Start Date: 29/Aug/24 21:21
    Worklog Time Spent: 10m 
      Work Description: jbertram closed pull request #5190: ARTEMIS-4965 
mitigate NPE
URL: https://github.com/apache/activemq-artemis/pull/5190




Issue Time Tracking
-------------------

    Worklog Id:     (was: 932506)
    Time Spent: 20m  (was: 10m)

> Possible null dereference when property is missing in journal-sql.properties 
> file
> ---------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4965
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4965
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Suhov Roman
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> File: 
> https://github.com/apache/activemq-artemis/blob/main/artemis-jdbc-store/src/main/java/org/apache/activemq/artemis/jdbc/store/sql/PropertySQLProvider.java
> In lines 81,93,94,95,101,106,111,116 and further in the PropertySQLProvider 
> class, where properties are received from the journal-sql.properties file, a 
> null dereference is possible.
> A dereference can occur if the required property is missing from the 
> journal-sql.properties file. A null check must be added to all method return 
> values.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to