Hi everybody,
When I use Jasper Reports to print my documents, I encounter with this excpetion,
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7B274DA
Function=[Unknown.]
Library=C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\CAP2K.DLL
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 sun.awt.windows.WPrinterJob.textOut(Native Method)
at sun.awt.windows.WPrinterJob.textOut(WPrinterJob.java:912)
at sun.awt.windows.WPathGraphics.drawString(WPathGraphics.java:391)
at java.awt.font.TextLayout$OptInfo.handleDraw(TextLayout.java:269)
at sun.awt.font.Decoration$DecorationImpl.drawTextAndEmbellishments(Decoration.java:236)
at sun.awt.font.Decoration$DecorationImpl.drawTextAndDecorations(Decoration.java:301)
at java.awt.font.TextLayout$OptInfo.draw(TextLayout.java:298)
at java.awt.font.TextLayout.draw(TextLayout.java:2660)
at net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportText(JRGraphics2DExporter.java:1022)
at net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportPage(JRGraphics2DExporter.java:281)
at net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReportToGraphics2D(JRGraphics2DExporter.java:233)
at net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReport(JRGraphics2DExporter.java:211)
at net.sf.jasperreports.engine.print.JRPrinterAWT.print(JRPrinterAWT.java:268)
at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1513)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1085)
at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:986)
at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:223)
at net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(JRPrinterAWT.java:131)
at net.sf.jasperreports.engine.JasperPrintManager.printPages(JasperPrintManager.java:392)
at net.sf.jasperreports.engine.JasperPrintManager.printReport(JasperPrintManager.java:283)
at net.sf.jasperreports.view.JRViewer$21.run(JRViewer.java:1057)
at java.lang.Thread.run(Thread.java:534)
Dynamic libraries:
0x00400000 - 0x00406000 F:\PrgTools\JDK1.4\bin\java.exe
0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78086000 C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 F:\PrgTools\JDK1.4\jre\bin\client\jvm.dll
0x77D40000 - 0x77DCC000 C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.DLL
0x629C0000 - 0x629C8000 C:\WINDOWS\System32\LPK.DLL
0x72FA0000 - 0x72FFA000 C:\WINDOWS\System32\USP10.dll
0x10000000 - 0x10007000 F:\PrgTools\JDK1.4\jre\bin\hpi.dll
0x003A0000 - 0x003AE000 F:\PrgTools\JDK1.4\jre\bin\verify.dll
0x003B0000 - 0x003C9000 F:\PrgTools\JDK1.4\jre\bin\java.dll
0x003D0000 - 0x003DD000 F:\PrgTools\JDK1.4\jre\bin\zip.dll
0x02B60000 - 0x02B7C000 F:\PrgTools\JDK1.4\jre\bin\jdwp.dll
0x06B80000 - 0x06B85000 F:\PrgTools\JDK1.4\jre\bin\dt_socket.dll
0x71AB0000 - 0x71AC5000 C:\WINDOWS\System32\ws2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\System32\WS2HELP.dll
0x71A50000 - 0x71A8B000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F45000 C:\WINDOWS\System32\DNSAPI.dll
0x76FB0000 - 0x76FB7000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x76FC0000 - 0x76FC5000 C:\WINDOWS\System32\rasadhlp.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x073E0000 - 0x074EF000 F:\PrgTools\JDK1.4\jre\bin\awt.dll
0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
0x07500000 - 0x07550000 F:\PrgTools\JDK1.4\jre\bin\fontmanager.dll
0x73760000 - 0x737A4000 C:\WINDOWS\System32\ddraw.dll
0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
0x73940000 - 0x73A07000 C:\WINDOWS\System32\D3DIM700.DLL
0x74720000 - 0x74764000 C:\WINDOWS\System32\MSCTF.dll
0x07650000 - 0x0767B000 C:\WINDOWS\System32\msctfime.ime
0x07740000 - 0x0774F000 F:\PrgTools\JDK1.4\jre\bin\net.dll
0x746F0000 - 0x74716000 C:\WINDOWS\System32\Msimtf.dll
0x078F0000 - 0x0794B000 D:\Program Files\Babylon\CAPTLIB.DLL
0x07B70000 - 0x07B92000 F:\PrgTools\JDK1.4\jre\bin\dcpr.dll
0x763B0000 - 0x763F5000 C:\WINDOWS\system32\COMDLG32.DLL
0x70A70000 - 0x70AD4000 C:\WINDOWS\system32\SHLWAPI.dll
0x77340000 - 0x773CB000 C:\WINDOWS\system32\COMCTL32.dll
0x773D0000 - 0x77BC7000 C:\WINDOWS\system32\SHELL32.dll
0x71950000 - 0x71A34000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
0x6A900000 - 0x6A949000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\CAP2UIK.DLL
0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
0x07B20000 - 0x07B3A000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\CAP2K.DLL
0x50900000 - 0x5090E000 C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\CAP2RDN.DLL
0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 2304K, used 1731K [0x10010000, 0x10280000, 0x104f0000)
eden space 2112K, 80% used [0x10010000, 0x101b9398, 0x10220000)
from space 192K, 16% used [0x10250000, 0x10257bd0, 0x10280000)
to space 192K, 0% used [0x10220000, 0x10220000, 0x10250000)
tenured generation total 29472K, used 19639K [0x104f0000, 0x121b8000, 0x14010000)
the space 29472K, 66% used [0x104f0000, 0x1181def0, 0x1181e000, 0x121b8000)
compacting perm gen total 13824K, used 13724K [0x14010000, 0x14d90000, 0x18010000)
the space 13824K, 99% used [0x14010000, 0x14d77198, 0x14d77200, 0x14d90000)
Local Time = Tue Jan 18 14:23:09 2005
Elapsed Time = 1752
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid6360.log.
# Please refer to the file for further information.
#
I do not know why this exception is occured.
Thanks
Ahmad R. Seddighi