Cancelling a data import creates an ECC Queue output record with a topic of CancelProbe. When the associated information is processed on the MID Server, a NullPointerException might occur, which is visible in the MID Server agent log. Further, the original ECC Queue might remain in 'ready' state, causing it to be processed repeatedly.
Steps to Reproduce
For one example of this issue, cancel an import. (Other scenarios can have the same effect.)
Navigate to System Import Sets > Data Sources.
Create or open a JDBC Data Source.
Click Load All Records under Related Links.
On the Progress page, click Cancel.
Check the agent log on the MID Server.
Note the occurrences of NullPointerException errors.
Find and update the ECC Queue records that are causing the issue.
For example, following the scenario in the Steps to Reproduce of cancelling an impor:
- Navigate to ECC > Queue.
- Set the following filters:
- Agent: The affected MID Server (for example, mid.server.my-mid-server)
- Topic: CancelProbe
- Queue: Output
- State: Ready
- For each record, set the value of State to Processed and update the record.
Note: When testing this workaround, you do not have to restart the MID Server. However, if the issue persists after all ECC Queue records are updated, a restart might be necessary.
Related Problem: PRB665835