Jump to content

tjhawkins2

Members
  • Posts

    1
  • Joined

  • Last visited

tjhawkins2's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I upgraded to iReport 2.0.2 today. I'm trying to use barcodes for the first time. I have a very simple barcode Int2of5 with value 1234567890. It shows on the screen, but when I want to view it was a PDF since that's what would be used to view it from my application I'm developing for, it throws errors. net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The method getBarcodeImage(int, Object, boolean, boolean) in the type BcImage is not applicable for the arguments (int, int, boolean, boolean, null, int, int) value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,1234567890,true,false,null,0,0));//$JR_EXPR_ID=8$ <-------------> 2. The method getBarcodeImage(int, Object, boolean, boolean) in the type BcImage is not applicable for the arguments (int, int, boolean, boolean, null, int, int) value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,1234567890,true,false,null,0,0));//$JR_EXPR_ID=8$ <-------------> 3. The method getBarcodeImage(int, Object, boolean, boolean) in the type BcImage is not applicable for the arguments (int, int, boolean, boolean, null, int, int) value = (java.awt.Image)(it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(13,1234567890,true,false,null,0,0));//$JR_EXPR_ID=8$ <-------------> 3 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:587) at java.lang.Thread.run(Unknown Source) This is all within iReport. I haven't started developing this for my application, so why won't it work in iReport?
×
×
  • Create New...