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 NPE with jdk1.4.1 with Weblogic 8.1 on Sun Solaris

jayaraman

Member since : Jul 2, 2004
Messages : 2
 Jul 2, 2004 at 11:16 PM
It used to work fine in Weblogic 6.1/jdk 1.3.1

On weblogic 8.1/jdk 1.4.1 it gives the below error; the java command line is as follows
${JAVA_HOME}/bin/java ${BOOT_CLASSPATH} -classpath $CLASSPATH ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.system.BootIdentityFile=pspfapd1/identity.prop -Dweblogic.Name=${SERVER_NAME} -Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} -Djava.awt.headless=true -Dawt.toolkit=com.eteks.awt.PJAToolkit -Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment -Djava2d.font.usePlatformFont=false -Djava.awt.fonts=${JAVA_HOME}/jre/lib/fonts -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" weblogic.Server

The boot classpath is BOOT_CLASSPATH=-Xbootclasspath/a:${WL_HOME}/server/lib/pja.jar

The error is

java.lang.NullPointerException
at sun.print.PSPrinterJob.textOut(PSPrinterJob.java:1113)
at sun.print.PSPathGraphics.drawString(PSPathGraphics.java:157)
at java.awt.font.TextLayout$OptInfo.handleDraw(TextLayout.java:269)
at sun.awt.font.Decoration.drawTextAndDecorations(Decoration.java:100)
at java.awt.font.TextLayout$OptInfo.draw(TextLayout.java:298)
at java.awt.font.TextLayout.draw(TextLayout.java:2660)
at dori.jasper.engine.export.JRGraphics2DExporter.exportText(JRGraphics2
DExporter.java:922)
at dori.jasper.engine.export.JRGraphics2DExporter.exportPage(JRGraphics2
DExporter.java:260)
at dori.jasper.engine.export.JRGraphics2DExporter.exportReportToGraphics
2D(JRGraphics2DExporter.java:212)
at dori.jasper.engine.export.JRGraphics2DExporter.exportReport(JRGraphic
s2DExporter.java:191)
at dori.jasper.engine.print.JRPrinterAWT.print(JRPrinterAWT.java:266)


Am I missing anything?

Thanks
Jayaraman

jayaraman

Member since : Jul 2, 2004
Messages : 2
 Jul 2, 2004 at 11:16 PM
I am using PJA 2.5

dviveiros

Member since : Mar 31, 2006
Messages : 1
 Mar 31, 2006 at 11:31 PM
I´m having the exactly same problem now. Does anybody know why does it happen?

Thanks!


Home pageFind It!ContactTop

© Copyrights 1997-2023 eTeks - All rights reserved

PJAPJA documentation