PDA

View Full Version : Java App crashes when printing on HP USB printer


Maureen
September 23rd 04, 12:06 PM
Please can someone help me find a solution to this
problem. I have written a Java Applicaton which runs just
fine with most printers, but have 2 clients who have
recently purchaced the HP USB printers, and both are
having the same problem.

It is pointing to the following.
Dynamic libraries:
0x7CC00000 - 0x7CC1D000 C:\WINDOWS\SYSTEM\IMAGEHLP.DLL

What can I do to get around this?

Operating system: Windows 98 - Standalone machines.
Printer :HP 1110 and HP 1010 - USB
Java version:1.4.2

ERROR MESSAGE:

An unexpected exception has been detected in native code
outside the
VM.
Unexpected Signal : EXCEPTION_FLT_INVALID_OPERATION
(0xc0000090)
occurred at PC=0x80426F1
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation
for
possible
reason and solutions.


Current Java thread:
at java.awt.font.TextLayout$OptInfo.create
(TextLayout.java:331)
at java.awt.font.TextLayout.fastInit(TextLayout.java: 689)
at java.awt.font.TextLayout.<init>(TextLayout.java:476)
at sun.print.PeekGraphics.drawString
(PeekGraphics.java:850)
at MW.framework.print.DefaultPrintableHeader.print
(Unknown Source)
at MW.framework.print.DefaultPrintable.print(Unknown
Source)
at sun.print.RasterPrinterJob.printPage
(RasterPrinterJob.java:1512)
at sun.print.RasterPrinterJob.print
(RasterPrinterJob.java:1110)
at MW.framework.print.WPrintController.reply(Unknown
Source)
at MW.framework.general.SwitchingService.b(Unknown Source)
at MW.framework.general.SwitchingService.c(Unknown Source)
at MW.framework.general.d.run(Unknown Source)

Dynamic libraries:
0x7CC00000 - 0x7CC1D000 C:\WINDOWS\SYSTEM\IMAGEHLP.DLL

Heap at VM Abort:
Heap
def new generation total 4672K, used 3801K [0x10010000,
0x10520000,
0x109e0000)
eden space 4160K, 85% used [0x10010000, 0x10384b78,
0x10420000)
from space 512K, 51% used [0x104a0000, 0x104e19f8,
0x10520000)
to space 512K, 0% used [0x10420000, 0x10420000,
0x104a0000)
tenured generation total 60544K, used 8064K [0x109e0000,
0x14500000, 0x18010000)
the space 60544K, 13% used [0x109e0000, 0x111c02c8,
0x111c0400,
0x14500000)
compacting perm gen total 10496K, used 10399K
[0x18010000,
0x18a50000, 0x1c010000)
the space 10496K, 99% used [0x18010000, 0x18a37e58,
0x18a38000,
0x18a50000)

Local Time = Wed Sep 22 11:26:54 2004
Elapsed Time = 60
#
# The exception above was detected in native code outside
the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04
interpreted mode)
#


Maureen.