commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <>
Subject [jira] Commented: (VFS-113) NullPointerException during getting InputStream from SftpFileObject
Date Wed, 04 Jul 2007 13:42:06 GMT


Mario Ivankovits commented on VFS-113:

I am out of time at the moment.

So if its a threading issue, you could create your own FileSystemManager per Thread.

Just have a look at the source and do the same, just store the reference in an ThreadLocal.

Hope this is a appropriate workaround for the moment.

> NullPointerException during getting InputStream from SftpFileObject
> -------------------------------------------------------------------
>                 Key: VFS-113
>                 URL:
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Tim Rademacher
>             Fix For: 1.1
>         Attachments: SftpFileObject.diff
> Hi, 
> I experienced unregular NullPointerExceptions while getting an InputStream from an SftpFileObject.
It only occures in a multithreading environment.
> I made a patch. By now it seems to work!
> Regards,
> Tim

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message