users@glassfish.java.net

Re: NullPointerException at com.sun.xml.wss.NonceManager.getInstance(NonceManager.java:170)

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Fri, 05 Feb 2010 08:43:35 -0500

Kumar Jayanti wrote:
> Farrukh Najmi wrote:
>>
>> Since I have moved my web app to Glassfish V3 Final(from V3 Prelude)
>> I am seeing the following exception on the first request secured by
>> XWSS to the server. Subsequent requests are OK.
>>
>> I am using XWSS 3.0. When I try debugging it it appears that the
>> NonceManager.java source code does not seem to match the version
>> loaded by Glassfish V3 Final.
>> So I am suspecting conflicting versions of XWSS are being loaded.
>>
>> Can any one tell me what could cause this and what to try to avoid it.
>>
>> Note that I am using spring-ws (rather than jax-ws) with XWS 3.0 for
>> client to server communication and all was well with Glassfish V3
>> Prelude.
>>
>> Here is teh exception trace:
> Here is the issue for that :
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=11138
> And it has been release noted :
> http://docs.sun.com/app/docs/doc/820-7688/gjjcf?a=view
>
> update metro on V3 by installing latest metro and it should go away.

Hi Kumar,

Kumar for pointing me to the fix.

According to UpdateManager for Glassfish V3 Final in NB I have the
latest Metro Web Services Stack:

Version: 2.0-29
Published: 12-03-2009

What am I missing? Please tell me how to update metro for by GF V3 Final.
What version of xwss is this issue fixed in and where can I find the
maven distro for it.
BTW xwss 3.1 is not available in maven repo. Can that be addressed please.

Thanks very much for your help and best wishes at Oracle.

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com