Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-3591

SelectLobParser throws NullPointerException when parsing SQL for an unknown table

    XMLWordPrintable

Details

    Description

      I'm running the latest code from master as of today (up to this commit: https://github.com/debezium/debezium/commit/03cb907d85f67fbf8ab1a8961601035adddefffd)

      I'm running into a NPE when parsing a statement for the "WRH$_SQL_PLAN" table:

      [2021-06-04 21:00:34,444] ERROR Mining session stopped due to the {} (io.debezium.connector.oracle.logminer.LogMinerHelper:493)
      java.lang.NullPointerException
              at io.debezium.connector.oracle.logminer.parser.SelectLobParser.reset(SelectLobParser.java:248)
              at io.debezium.connector.oracle.logminer.parser.SelectLobParser.parse(SelectLobParser.java:50)
              at io.debezium.connector.oracle.logminer.LogMinerQueryResultProcessor.processResult(LogMinerQueryResultProcessor.java:190)
              at io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSource.execute(LogMinerStreamingChangeEventSource.java:192)
              at io.debezium.pipeline.ChangeEventSourceCoordinator.streamEvents(ChangeEventSourceCoordinator.java:159)
              at io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:122)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      

      Attachments

        Issue Links

          Activity

            People

              ccranfor@redhat.com Chris Cranford
              infinitesnowboy Patrick Chu (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: