Welcome to WebSphere-World!

     Main Menu
· Home
· Topics
· Downloads
· Forums
· Submit News
· Top 10

     Other Modules
· Sign In / Your Account
· Members List
· Statistics
· Feedback
· Need a break? [Games]
· About this site / FAQs

     Who's Online
There are currently, 77 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

     User's Login
Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

     GameHighScores

WebSphere-World: Forums

WebSphere-World :: View topic - SRTServletResponse Null Pointer Exception
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

SRTServletResponse Null Pointer Exception

 
Post new topic   Reply to topic    WebSphere-World Forum Index -> AppServer General Discussion
View previous topic :: View next topic  
Author Message
bcny
Newbie
Newbie


Joined: Jul 14, 2005
Posts: 26

PostPosted: Thu Jul 14, 2005 11:26 am    Post subject: SRTServletResponse Null Pointer Exception Reply with quote

We are running WAS 6.0.2 (Released 7/12 - we upgraded because of this issue which still happens). When a url is loaded we keep recieving a null pointer exception thrown from the server itself. Sometimes the pages seems to work and other times they seem fail. Below is the stack trace, if any one could be of assistance it would be greatly appreciated.

[7/14/05 12:24:52:258 EDT] 000001f4 WebContainer E SRVE0232E: Internal Server Error. <br> Exception Message: [java.lang.NullPointerException
at com.ibm.ws.webcontainer.srt.SRTServletResponse.setDefaultResponseEncoding(SRTServletResponse.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.SRTServletResponse.start(SRTServletResponse.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.srt.SRTConnectionContext.start(SRTConnectionContext.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Back to top
View user's profile Send private message
bcny
Newbie
Newbie


Joined: Jul 14, 2005
Posts: 26

PostPosted: Thu Jul 14, 2005 3:37 pm    Post subject: Update Reply with quote

It seems to be throwing this error while trying to load an image. If we restart the server the image loads fine for a while, and then at some unconsistent point it starts throwing this exception trying to load that image. If you type the location of the image into a web browser you get a HTTP 500 Error. It doesn't make sense. Its not an image name problem because there are images in the same dir that have longer names and they all load properly and the other weird thing is restarting the server and the problem goes away (for a period of time).

Anyone have any suggestions?
Back to top
View user's profile Send private message
roksmith
Newbie
Newbie


Joined: Nov 30, 2004
Posts: 20

PostPosted: Tue Jul 19, 2005 2:07 pm    Post subject: Reply with quote

make sure you don't have 2 applications with the same root context
Back to top
View user's profile Send private message
bcny
Newbie
Newbie


Joined: Jul 14, 2005
Posts: 26

PostPosted: Wed Jul 20, 2005 6:37 am    Post subject: Reply with quote

We don't, and as stated above, once the server is restarted it will act fine for a while and then start throwing exceptions again.
Back to top
View user's profile Send private message
cog
Newbie
Newbie


Joined: Jul 26, 2005
Posts: 1

PostPosted: Tue Jul 26, 2005 1:15 pm    Post subject: Same error, any ideas yet? Reply with quote

We have just noticed this same error. It is very specific to 1 image's name. If we change it by a single character, it works. Have you had any success in figuring this problem out yet?
Back to top
View user's profile Send private message
bcny
Newbie
Newbie


Joined: Jul 14, 2005
Posts: 26

PostPosted: Tue Jul 26, 2005 1:58 pm    Post subject: No Luck Reply with quote

No we haven't, in fact now its happening on yet another image!
Back to top
View user's profile Send private message
bradyp
Newbie
Newbie


Joined: Oct 04, 2005
Posts: 1

PostPosted: Tue Oct 04, 2005 7:04 pm    Post subject: Reply with quote

Sorry to be repetitive, but has anyone solved this problem? I am experiencing it problem now too. I haven't had much time to delve into it yet, but the apperence of the problem seems to have co-incided with the introduction of a new css stylesheet into our application which references images. Does this ring any bells?
Any help appreciated!
Back to top
View user's profile Send private message
krausest
Newbie
Newbie


Joined: Oct 10, 2005
Posts: 1

PostPosted: Mon Oct 10, 2005 9:41 am    Post subject: Reply with quote

I get the same error - and have no solution yet, but I'm in contact with IBM support.
Some things I still have to find out:
So far I've seen it only for new deployments (EAR files freshly deployed, no server restart), but I haven't tested thoroughly. Have you seen this exception also when you've stopped and restarted the app server after a fresh deployment?
Any other news on this issue?
Back to top
View user's profile Send private message
was_vps
Newbie
Newbie


Joined: Aug 31, 2005
Posts: 1

PostPosted: Fri Oct 14, 2005 4:15 am    Post subject: Reply with quote

Hi,

We opened a PMR on this, after many traces and mail to IBM support.
We found that the problem is related to the invocationCache.
The problem always occoured after a re-deploy,and this cache was not
cleaned up .
A workaround is to turn off this cahce. Setting invocationCacheSize=0

A fix are available soon


cheers, Bjørn
Back to top
View user's profile Send private message
tomfordlsu
Newbie
Newbie


Joined: May 11, 2006
Posts: 1

PostPosted: Thu May 11, 2006 6:18 am    Post subject: Reply with quote

We are seeing this problem also. IBM tells us to clear the wstemp directory but that is not a fix, it is a montonous work around. We are running 6.0.2 on Linux. Does anyone know if any of the existing IBM patches fix this particular problem?

I tried the invocationCacheSize=0 but for us it did not fix the problem.
Back to top
View user's profile Send private message
bcny
Newbie
Newbie


Joined: Jul 14, 2005
Posts: 26

PostPosted: Thu May 11, 2006 6:44 am    Post subject: Solution Reply with quote

Sorry I thought I posted a reply that I got from was_vps. Here is the solution:

Servers > Application Servers > Server 1 > Java and Process Management > Process Definition > Java Virtual Machine > Custom Properties

Name = "invocationCacheSize"
Value = "0"
Description = ""
Back to top
View user's profile Send private message
wenhuawu
Newbie
Newbie


Joined: Oct 25, 2006
Posts: 1

PostPosted: Wed Oct 25, 2006 1:08 pm    Post subject: I following the following instruction and fixed my problem Reply with quote

I following the following instruction and fixed my problem in RAD WAS test server.

-------------------------------------------------
Servers > Application Servers > Server 1 > Java and Process Management > Process Definition > Java Virtual Machine > Custom Properties

Name = "invocationCacheSize"
Value = "0"
Description = ""
Back to top
View user's profile Send private message
jdm
Newbie
Newbie


Joined: Mar 07, 2007
Posts: 1

PostPosted: Wed Mar 07, 2007 9:00 am    Post subject: Reply with quote

Hi,

i'm having the same problem on AIX and invocationCacheSize=0 did not make a difference. Has this been solved in a new release ?

jdm
Back to top
View user's profile Send private message
Cynosure
Newbie
Newbie


Joined: Oct 30, 2008
Posts: 1

PostPosted: Thu Oct 30, 2008 8:25 pm    Post subject: any solution plz Reply with quote

I am getting the same error in my environment any solution you have got. Help highly appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WebSphere-World Forum Index -> AppServer General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2003 phpBB Group
phpBB port v2.0.7 based on Tom Nitzschner's phpbb2.0.6 upgraded to phpBB 2.0.7 standalone was developed and tested by:
ChatServ, mikem,
and Paul Laudanski (aka Zhen-Xjell).

Version 2.0.7 by Nuke Cops © 2004 http://www.nukecops.com




WebSphere is a registered trademark of International Business Machines Corporation in the United States or other countries or both.
Please note that this site is a user-driven community site. It is not operated by IBM. Information is provided on an as-is basis and it may or may not be supported by IBM.

PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.29 Seconds