Galera estou com um erro na minha aplicação poderiam me dizer o que pode ser para que isso ocorra? Obrigado!
java.lang.IllegalArgumentException:
at java.util.zip.Deflater.createStream(Native Method)
at java.util.zip.Deflater.<init>(Unknown Source)
at java.util.zip.Deflater.<init>(Unknown Source)
at com.bokai.barcodes.PngEncoder.writeIDAT(Unknown Source)
at com.bokai.barcodes.PngEncoder.internalEncode(Unknown Source)
at com.bokai.barcodes.PngEncoder.encode(Unknown Source)
at com.bokai.barcodes.Barcode.saveSimpleImage(Unknown Source)
at bip1300.BIP1300.criaBarra(Unknown Source)
at bip1300.BIP1300.geraImagem(Unknown Source)
at bip1300.BIP1300.printTermoAdesao(Unknown Source)
at bip1300.BIP1300.printDactizinho(Unknown Source)
at Telas.EscolhaImpressao.imprimirDact(Unknown Source)
at Telas.EscolhaImpressao$1.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at Telas.Principal.main(Unknown Source) Imagem Final:\Storage Card\J9\PPRO11\app ext\image.bmp Exception in thread "main" java.lang.OutOfMemoryError:
at java.io.FileOutputStream.writeImpl(Native Method)
at java.io.FileOutputStream.write(Unknown Source)
at org.eclipse.swt.internal.image.LEDataOutputStream.write(Unknown Source)
at java.io.OutputStream.write(Unknown Source)
at org.eclipse.swt.internal.image.WinBMPFileFormat.unloadIntoByteStream(Unknown Source)
at org.eclipse.swt.internal.image.FileFormat.unloadIntoStream(Unknown Source)
at org.eclipse.swt.internal.image.FileFormat.save(Unknown Source)
at org.eclipse.swt.graphics.ImageLoader.save(Unknown Source)
at org.eclipse.swt.graphics.ImageLoader.save(Unknown Source)
at bip1300.BIP1300.geraImagem(Unknown Source)
at bip1300.BIP1300.printTermoAdesao(Unknown Source)
at bip1300.BIP1300.printDactizinho(Unknown Source)
at Telas.EscolhaImpressao.imprimirDact(Unknown Source)
at Telas.EscolhaImpressao$1.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at Telas.Principal.main(Unknown Source)