Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.10.0
-
None
Description
While creating a pull request for another ticket, the null-analyzer of Eclipse found a guaranteed NullPointerException in org.apache.thrift.TBaseAsyncProcessor<I>.
In the method process(AsyncFrameBuffer) we see this code fragment:
AsyncProcessFunction fn = processMap.get(msg.name); if (fn == null) { TProtocolUtil.skip(in, TType.STRUCT); in.readMessageEnd(); if (!fn.isOneway()) {
The variable fn can only be null in the last line.
Attachments
Issue Links
- links to