Menu

#8 Null Pointer exception if parent ack arrives too fast

open
nobody
None
5
2004-03-24
2004-03-24
No

NullPointer exception is thrown on spread.getDfmHandler
() if the ack for the first parent arrives before the
spread.startSpread() call has completed. (This creates
the DFMHandlers)

As Simulator and Spread run in different threads this
possible when ack for first parent (Generated by
SimulatorMarketThread) arrives before DFMHandlers are
completely created (MainThread)

Discussion


Log in to post a comment.