Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-976

PostgresSequentialSequentialFileDriver SQLProvider NPE

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 1.5.4, 2.0.0
    • Broker
    • None

    Description

      PostgresSequentialSequentialFileDriver has a NPE.
      Default constructor doesn't fill sqlProvider field and it is ok, but org.apache.activemq.artemis.jdbc.store.file.JDBCFileUtils#getDBFileDriver doesn't set sqlProvider field in case of PostgreSQL and this leads to a NPE at org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFileFactoryDriver#createSchema

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            d0k1 Denis Kirpichenkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment