On Mon, Nov 29, 2010 at 12:50 PM, Aidan Diffey <[email protected]> wrote: > I have taken John's advise and implemented my own > FTPFileSystemFactory, View and file. > > I have implemented my FtpFile createInputStream to read the data from > the database and return a new ByteArrayOutputStream containing the > byte[] data read from the database. > > This has not solved the problem, BUT it has allowed me to view a stack > trace which might be helpful in diagnosing the problem. See stack > trace and some wire shark trace as well. From looking at this and the > code, it would appear that something has set the inputstream inside > the BufferedInputStream to null.
Could you provide a test case (including some minimal code for your file system implementation independent on a DB) for this? /niklas
