tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: NullPointerException in MimeHeaders
Date Tue, 02 Feb 2010 12:53:22 GMT
> From: Bertalan Kis [mailto:Bertalan.Kis@razorfish.com]
> Subject: RE: NullPointerException in MimeHeaders
> 
> com.dnaO2.openspace.client.filter.MetadataRequestSynchFilter.doFilter
> (MetadataRequestSynchFilter.java:54)

The above is the spot you should be looking at, since that's the only stack entry for your
code.

One possible problem is incorrect variable scope, such as using a static or instance variable
in a filter or servlet when you should be using a local one.  Static and instance variables
are shared by all requests, so any concurrent threads using them can trip each other up. 
The same issue applies to request-specific information being stored in a session while multiple
requests are being processed.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message