Stack trace:-

javax.imageio.IIOException: Can't read input file!
        at javax.imageio.ImageIO.read(ImageIO.java:1275)
        at
com.bioimagene.imageServer.storage.jackrabbit.IndexImages.addNewImages(IndexImages.java:66)
        at
com.bioimagene.imageServer.storage.jackrabbit.IndexImages.addNewImages(IndexImages.java:85)
        at
com.bioimagene.imageServer.storage.jackrabbit.IndexImages.main(IndexImages.java:38)



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.

Reply via email to