Red Hat Bugzilla – Bug 61991
Servlets on Linux crashing Alpha-VMS NFS server with Null Pointer Exception
Last modified: 2007-04-18 12:41:13 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
Description of problem:
I currently am using Java Servlets to access a data-output log located on an
Alpha-VMS system through NFS. I am using a BufferedInputStream to read and
parse the data in real-time. When the servlet throws a NullPointerException
that has not been caught, it crashes the NFS server on the Aplha. I know that
the obvious answer would be to catch the exception (which I have now
implemented) but was wondering if this was a bug within the current NFS spec.
It would seem very odd, and weak of NFS, that a little NullPointerException
would crash the NFS server.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.write servlet to read file across platform using NFS with BufferedInputStream.
2.read through to the end of the file
3.if the data that was searched for was not found and nothing is returned to
the webapplication, then a null pointer is thrown. this is usually what causes