siddhi icon indicating copy to clipboard operation
siddhi copied to clipboard

【NullPointerException】StreamEventPool streamEventList is null?

Open afreetgo opened this issue 5 years ago • 5 comments

Description: I used storm + siddhi to process monitoring data, but NullPointerException appeared.

Detailed debugging screenshots are as follows: image image

**Affected Siddhi Version:3.1.x,3.2.x

afreetgo avatar Apr 29 '19 02:04 afreetgo

@afreetgo Above issue does not have enough context for us to debug. Can you please provide more context to the issue?

What is the Siddhi query that you have used? Please share a test case that we could use to reproduce the issue.

mohanvive avatar Apr 29 '19 15:04 mohanvive

Preliminary judgment is that it may be due to the blockage of storm threads that lead to unsuccessful assignment. I am writing a separate test case to verify it.

afreetgo avatar Apr 30 '19 01:04 afreetgo

storm-siddhi-test.zip

This test code can reproduce the problem, please modify FILEPATH in TestSpout, please help to see what caused it? How to solve it? Thank you very much.

afreetgo avatar Apr 30 '19 08:04 afreetgo

Set breakpoints on line 48 of SiddhiBolt

afreetgo avatar Apr 30 '19 08:04 afreetgo

Adding synchronized (inputHandler) can solve this problem.

afreetgo avatar May 09 '19 04:05 afreetgo