Jump to content

zhangjason1983

Members
  • Posts

    7
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by zhangjason1983

  1. Hi everyone

    We have a Java web application with jasperReport.

    On the past 2 years , it works OK.

    But this month , an image can not be printed on the PDF. (Only one time. Now it works ok.)

    We are sure of that is not logic miss, bucause this image should be printed any time without any condition.

    We confirmed log file , and fund nothing.

    Can anyone give me some suggesttion?

    Thanks!

     

  2. Hi hozawa

    Thanks for your advice!

    The only thing which I can not understand is sometimes it works OK, sometimes NOT.

    And it happened on one linux server ,  but not happen on anther one.

     

    ----------------------------------------------------------------------------------------------------------------------------------

    ホザワさん

    英語でよく伝われないかともいますので、すみませんが日本語で質問させてください。

    JDKとJasperのバージョンがあってないことが了解しました。一点気になるところがありますが、

    必ず再現できることではありません。また、一回も発生しない環境もあります。バージョンの差異であれば、

    各環境も再現できると気がしますけど。

     

    聞きたいですが、Jasper1.5 →Jasper1.6に更新すれば、APIのインタフェースが変わったことがありますか。

    つまり、バージョンアップとともに、呼び出し元のソースを修正する必要がありますか。

     

    お手数ですが、よろしくお願いします。

  3. Hi everyone

     

    I have a problem.  Sometimes it happen, Sometimes not.

    I can not reproduce it every time, but over than 50%.

     

    version info:

    jasperreport.-5.1.0.jar

    JDK 1.8

    AP server is GlassFish 4.1 

    OS: RedHat Linux

    http server: Apache 2.4

     

    When error happed, I got  stack below:

    aused by: java.lang.NullPointerException

    at sun.font.ExtendedTextSourceLabel.createCharinfo(ExtendedTextSourceLabel.java:715)

    at sun.font.ExtendedTextSourceLabel.getCharinfo(ExtendedTextSourceLabel.java:548)

    at sun.font.ExtendedTextSourceLabel.getLineBreakIndex(ExtendedTextSourceLabel.java:480)

    at java.awt.font.TextMeasurer.calcLineBreak(TextMeasurer.java:330)

    at java.awt.font.TextMeasurer.getLineBreakIndex(TextMeasurer.java:566)

    at java.awt.font.LineBreakMeasurer.nextOffset(LineBreakMeasurer.java:359)

    at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.measureExactLineBreakIndex(SimpleTextLineWrapper.java:561)

    at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.measureExactLine(SimpleTextLineWrapper.java:535)

    at net.sf.jasperreports.engine.fill.SimpleTextLineWrapper.nextLine(SimpleTextLineWrapper.java:517)

    at net.sf.jasperreports.engine.fill.TextMeasurer.renderNextLine(TextMeasurer.java:654)

    at net.sf.jasperreports.engine.fill.TextMeasurer.renderParagraph(TextMeasurer.java:459)

    at net.sf.jasperreports.engine.fill.TextMeasurer.measure(TextMeasurer.java:400)

    at net.sf.jasperreports.engine.fill.JRFillTextElement.chopTextElement(JRFillTextElement.java:541)

    at net.sf.jasperreports.engine.fill.JRFillStaticText.prepare(JRFillStaticText.java:184)

    at net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:331)

    at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:384)

    at net.sf.jasperreports.engine.fill.JRFillBand.fill(JRFillBand.java:358)

    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:346)

    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:280)

    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:151)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:909)

    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841)

    at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:88)

    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:653)

    at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:569)

    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:915)

     

    Can anybody give some advice?

    If I should give more infomation , please tell me.

     

    Thanks.

×
×
  • Create New...