[
https://issues.apache.org/jira/browse/ARTEMIS-4965?focusedWorklogId=932492&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-932492
]
ASF GitHub Bot logged work on ARTEMIS-4965:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 29/Aug/24 20:20
Start Date: 29/Aug/24 20:20
Worklog Time Spent: 10m
Work Description: jbertram opened a new pull request, #5190:
URL: https://github.com/apache/activemq-artemis/pull/5190
(no comment)
Issue Time Tracking
-------------------
Worklog Id: (was: 932492)
Remaining Estimate: 0h
Time Spent: 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
> Priority: Major
> Time Spent: 10m
> 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