#20 NPE in PreloaderBarcode

closed-fixed
nobody
None
5
2009-03-19
2009-03-16
cbowditch
No

When using Barcode4J together with FOP I received a NPE in the PreloaderBarcode.java class. This is because the code tries to close the InputStream before opening it when the preloader getImage method is called for some SVG which is in my FO Document. A simple one line code change avoids the error, please see attached patch

Discussion

  • cbowditch
    cbowditch
    2009-03-16

    Patch mk2

     
    • status: open --> closed-fixed
     
  • Applied. Thanks for catching that and for the patch!