As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Node Documento_Aux = this.browseBean.getDocument(); File imagen_Original ; ContentReader lectura = this.getFileFolderService().getReader(Documento_Aux.getNodeRef()); lectura.getContent(imagen_Original); //Here it fails saying that the file is incorrect or null BufferedImage orignalBF = ImageIO.read(imagen_Original); Image original_Img = toImage(orignalBF);
BufferedImage image = ImageIO.read(reader.getContentInputStream());