Null when `getMethodInvocationsLocal()`
mauricioaniche opened this issue · 3 comments
mauricioaniche commented
See class https://github.com/mauricioaniche/ck/blob/master/fixtures/real-world/ByteBufferAsyncWritableChannel.java. It contains a subclass ChunkData
. If we call getMethodInvocationsLocal()
to the ChunkData/2
constructor, it returns null.
I believe that's a bug.
jan-gerling commented
I will have a look at it. You can assign the issue to me.
jan-gerling commented
I was able to reproduce this error and will work on a fix.
jan-gerling commented
Problem:
For classes with no visible methods, the local method invocations were not set, because I called it to generate TCC and LCC where these cases can be skipped.
Solution:
Generate empty HashSets for all cases.