Skip to main content

java.lang.NullPointerException

2 replies [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
V B Kumar Jayanti

Kenneth Clark wrote:

> Hi everyone.
>
>
>
> I have just upgraded to the latest SUN glassfish build 1.5.03 I think
> it is.
>
>
>
> *Now here is the problem:*
>
> When I call webservices that worked in V1 (from a C# client) I am
> getting a java.lang.NullPointerException in the updated version. But
> when I run them through the tester it returns the data fine. Is there
> a setting I have missed somewhere? What logging should I set on what
> aspect to try and resolve this problem. It doesn’t seem to be hitting
> the code as I can’t find any output from try catch statements I have
> set up. It appears it wants to do something inside the system but
> fails. The Verifier gives no clues either.
>
>
>
Can you explain what features are being used by the webservice ?. Does
it use security or other things. Please paste the complete stack trace.

Thanks.

[att1.html]

Kenneth Clark

Hi, there was no stack trace or any form of logging this error.

I resolved the issue by switching to the host IP instead of the host name
from the service caller.

________________

Thanks and regards

Kenneth Clark

Solutions Engineer

ShadowLogo.png

Tel: 27 11 679 3075

Mobile: 27 (0) 84 583 1348

Email: HYPERLINK
"mailto:kenneth.clark@skyetech.co.za"kenneth.clark@skyetech.co.za

Website: http://www.skyetech.co.za

From: Vbkumar.Jayanti@Sun.COM [mailto:Vbkumar.Jayanti@Sun.COM]
Sent: 05 November 2007 09:14
To: users@glassfish.dev.java.net
Subject: Re: java.lang.NullPointerException

Kenneth Clark wrote:

Hi everyone.

I have just upgraded to the latest SUN glassfish build 1.5.03 I think it is.

Now here is the problem:

When I call webservices that worked in V1 (from a C# client) I am getting a
java.lang.NullPointerException in the updated version. But when I run them
through the tester it returns the data fine. Is there a setting I have
missed somewhere? What logging should I set on what aspect to try and
resolve this problem. It doesn’t seem to be hitting the code as I can’t find
any output from try catch statements I have set up. It appears it wants to
do something inside the system but fails. The Verifier gives no clues
either.

Can you explain what features are being used by the webservice ?. Does it
use security or other things. Please paste the complete stack trace.

Thanks.

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.22/1111 - Release Date: 2007/11/05
04:36

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.22/1111 - Release Date: 2007/11/05
04:36

[att1.html]
[image001.png]