应用程序中的Linux条形码打印

时间:2014-04-10 08:53:39

标签: java linux jasper-reports

我们有一个基于Linux服务器的应用程序。

使用 iReport 生成报告。以前报告使用内置的 iReport 条形码功能,但是自从重建服务器以来,它已经无法正常工作了。

有没有人有任何想法?

这是使用barcode4j Code 128完成的。

我在jrskdae.log中看到的错误。

报告将打印到屏幕但不会直接打印到打印机

[/redprairie/apps/Dispatcher/Appname/Version/server/run/jrtemplates/linescountbyhour.jasper]
java.lang.NullPointerException
at jrtskdae.DashboardReport.run(DashboardReport.java:126)
at    edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:595)

0 个答案:

没有答案