cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: NPE in the RM code
Date Tue, 08 Mar 2011 22:16:03 GMT
On Monday 07 March 2011 7:59:43 AM Sergey Beryozkin wrote:
> Hi
> 
> Just spotted this trace :
> 
> Running org.apache.cxf.ws.rm.
> RMEndpointTest
> Exception in thread "Timer-1" java.lang.NullPointerException
>        at
> org.apache.cxf.ws.rm.DestinationSequence$ImmediateFallbackAcknowledgment.ru
> n(DestinationSequence.java:448) at
> java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> 
> the test passes but some bug is hiding there in the code...

It's a bug in the test setup.   The test wasn't setting up enough behavoir on 
the mock objects it creates.   I just committed a fix for it. 

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Mime
View raw message