There is a method of a 3rd party library we use (I can't name it because it's a commercial solution) which has a method which looks more or less like this (lots and lots params):
numerix.setPrice(Instrument instrument,YieldCurve yc,TradeDate date,Currency c,...)
I am 100% sure that each param I pass is non-null. Yet I get a NullPointerException inside the method.
How can it be?
Also I have no line number in the stack trace so how can I debug it?