Skip to content

fixed "Unable to deliver event" error caused by java.lang.NullPointer…#278

Open
flzxsqc200 wants to merge 1 commit into
apache:trunkfrom
flzxsqc200:deliver-test
Open

fixed "Unable to deliver event" error caused by java.lang.NullPointer…#278
flzxsqc200 wants to merge 1 commit into
apache:trunkfrom
flzxsqc200:deliver-test

Conversation

@flzxsqc200

@flzxsqc200 flzxsqc200 commented Mar 25, 2019

Copy link
Copy Markdown

image
I found policy.process() at line 145 may return null,then it caused failure when call equal() function.So I make the program continue the loop when null pointer be detected.

besides,I think volatile boolean may be better than AtomicBoolean object to realize sync shoudStop status .

…Exception at SinkRunner.java:145

Change-Id: I5e4dca32430d04a14e73a894ab7515821a3a478d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant