Home pageFind It!Contact PJAPJA documentation

PJA

 PJA Toolkit forum

This forum is dedicated to PJA Toolkit.
You may read freely the messages it contents. If you want to write a message or answer to a subject, subscribe to it first.

Subjects Recent messages Login Subscribe

Messages of subject PJA 2.4 - UnsatisfiedLinkError: getFontMetrics using StyleReports

bobc

Location : Seattle WA
Member since : May 13, 2004
Messages : 1
 May 13, 2004 at 2:58 AM
I'm trying to use PJA 2.4 with StyleReport 5.1 in a HP NonStop environment running JVM 1.3, but am getting the following exception:

----------
Exception in thread "main" java.lang.UnsatisfiedLinkError: getFontMetrics
at sun.awt.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java, Compiled Code)
at sun.awt.font.FontDesignMetrics.<init>(FontDesignMetrics.java, Compiled Code)
at sun.java2d.SunGraphics2D.makeFontMetrics(SunGraphics2D.java, Compiled Code)
at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java, Compiled Code)
at com.eteks.java2d.PJAGraphicsManager2D.getFontMetrics(PJAGraphicsManager2D.java, Compiled Code)
at com.eteks.awt.PJAToolkit.getFontMetrics(PJAToolkit.java, Compiled Code)
at inetsoft.report.Common.getFontMetrics(Unknown Source)
at inetsoft.report.ReportSheet.printNextLine(Unknown Source)
at inetsoft.report.ReportSheet.printNextArea(Unknown Source)
at inetsoft.report.TabularSheet$Cell.printNext(Unknown Source)
at inetsoft.report.TabularSheet.printNextPage(Unknown Source)
at inetsoft.report.TabularSheet.printNext(Unknown Source)
at inetsoft.report.internal.ReportGenerator$Pages.nextElement(Unknown Source)
at inetsoft.report.internal.ReportGenerator.toVector(Unknown Source)
at inetsoft.report.internal.ReportGenerator.generateAll(Unknown Source)
at inetsoft.report.io.HTMLGenerator.generate(Unknown Source)
at com.idx.carecast.rptwriter.commandLineReport.RunCCReport.createHTML(Unknown Source)
at com.idx.carecast.rptwriter.commandLineReport.RunCCReport.printReport(Unknown Source)
at com.idx.carecast.rptwriter.commandLineReport.RunCCReport.<init>(Unknown Source)
at com.idx.carecast.rptwriter.commandLineReport.RunCCReport.main(Unknown Source)
----------

Here's what my script looks like that launches my app:
----------
run /usr/tandem/java/bin/oss/posix_threads/java \
-Xmx128m -Xbootclasspath/p:\
"$SysIdxHome/lib_standalone/pja.jar:\
$SysIdxHome/lib_standalone/pjatools.jar:\
$SysIdxHome/lib_standalone/servlet.jar:\
$SysCcHome/config:\
/usr/local/stylereport/stylereport51/sree_pro.jar:\
/usr/local/stylereport/stylereport51/etools.jar:\
/home/idx/Report.jar:\
/home/idx:\
$srtPath" \
-awt -Djava.awt.fonts=$SysIdxHome/webapps/stylereport_idx/fonts \
-Dawt.toolkit=com.eteks.awt.PJAToolkit \
-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment \
-Djava2d.font.usePlatformFont=false \
-Duser.home=$SysCcHome/config \
com.idx.carecast.rptwriter.commandLineReport.RunCCReport somereport.srt
----------

The app typically works unless the StyleReport template has something like a simple rectangle included.

Any ideas on a fix?

Thanks,

--BobC


Home pageFind It!ContactTop

© Copyrights 1997-2023 eTeks - All rights reserved

PJAPJA documentation