#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

  • Jeremias Märki

    Jeremias Märki - 2009-03-19
    • status: open --> closed-fixed
     
  • Jeremias Märki

    Jeremias Märki - 2009-03-19

    Applied. Thanks for catching that and for the patch!

     

Log in to post a comment.