alibaba / yugong

阿里巴巴去Oracle数据迁移同步工具(全量+增量,目标支持MySQL/DRDS)
GNU General Public License v2.0
2.5k stars 957 forks source link

Fix potential NPE exception #126

Open TonyZhai opened 4 years ago

TonyZhai commented 4 years ago

Since the queue initialization line is after the thread start, so there is a potential NPE once the ContinueExtractor is initialized before the queue is initialized, so move the queue initlialization code before the thread start line.

[Ticket: #92]

CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Tony Zhai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.