jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndesk1900 <ndesk1...@gmail.com>
Subject Re: System.getSecurityManager(); is null
Date Tue, 14 Jul 2009 20:00:59 GMT

Stack trace:-

javax.imageio.IIOException: Can't read input file!
	at javax.imageio.ImageIO.read(ImageIO.java:1275)

ndesk1900 wrote:
> Hello all,
> I've written some code that connects to the repository, loads an image
> (using ImageIO.read()) and i wish to store that image in the JCR.
> The problem is; as soon as i make a call to ImageIO.read() i am thrown an
> exception; reason for the exception is [SecurityManager security =
> System.getSecurityManager();]  System.getSecurityManager() returning null
> somewhere in the File class. I've never really needed to
> 'setSecurityManager' as such before; is this something to do with
> Jackrabbit? Any ideas how to solve this?
> Thanks
> Neville

View this message in context: http://www.nabble.com/System.getSecurityManager%28%29--is-null-tp24472460p24486768.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

View raw message