grave error del printx.java

Claudio
21 de Octubre del 2004
colegas estas dos instrucciones

PrintService service = PrintServiceLookup.lookupDefaultPrintService();

PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);

funcionan muy bien si y solo si las impresoras configuradas en la PC estan conectadas y encendidas en otro caso sale un error muy grabe

como lo solucionamos?

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x60635363
Function=DrvConvertDevMode+0x5A8B
Library=D:WINNTsystem32spoolDRIVERSW32X863hpzpm309.dll
Current Java thread:
at sun.print.Win32PrintService.getDefaultSettings(Native Method)
at sun.print.Win32PrintService.<init>(Win32PrintService.java:228)
at sun.print.Win32PrintServiceLookup.getDefaultPrintService(Win32PrintServiceLookup.java:200)
at javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:166)
at com.gsc.util.myprint.main(myprint.java:9)
Dynamic libraries:
0x00400000 - 0x00406000 D:Program Filesj2sdk_nbj2sdk1.4.2jrebinjava.exe
0x78460000 - 0x784E1000 D:WINNTsystem32ntdll.dll
0x78FF0000 - 0x79052000 D:WINNTsystem32ADVAPI32.dll
0x793C0000 - 0x79483000 D:WINNTsystem32KERNEL32.DLL
0x77120000 - 0x77191000 D:WINNTsystem32RPCRT4.DLL
0x78000000 - 0x78045000 D:WINNTsystem32MSVCRT.dll
0x08000000 - 0x08136000 D:Program Filesj2sdk_nbj2sdk1.4.2jrebinclientjvm.dll
0x77E10000 - 0x77E75000 D:WINNTsystem32USER32.dll
0x77F40000 - 0x77F7C000 D:WINNTsystem32GDI32.DLL
0x77550000 - 0x77581000 D:WINNTsystem32WINMM.dll
0x10000000 - 0x10007000 D:Program Filesj2sdk_nbj2sdk1.4.2jrebinhpi.dll
0x008F0000 - 0x008FE000 D:Program Filesj2sdk_nbj2sdk1.4.2jrebinverify.dll
0x00900000 - 0x00918000 D:Program Filesj2sdk_nbj2sdk1.4.2jrebinjava.dll
0x00920000 - 0x0092D000 D:Program Filesj2sdk_nbj2sdk1.4.2jrebinzip.dll
0x18270000 - 0x1837A000 D:Program Filesj2sdk_nbj2sdk1.4.2jrebinawt.dll
0x77800000 - 0x7781E000 D:WINNTsystem32WINSPOOL.DRV
0x79490000 - 0x794A1000 D:WINNTsystem32MPR.DLL
0x75E30000 - 0x75E4A000 D:WINNTsystem32IMM32.dll
0x77A50000 - 0x77B47000 D:WINNTsystem32ole32.dll
0x60600000 - 0x60677000 D:WINNTsystem32spoolDRIVERSW32X863hpzpm309.dll
0x18690000 - 0x186C1000 D:WINNTsystem32spoolDRIVERSW32X863hpz2ku09.dll
0x78DF0000 - 0x78E53000 D:WINNTsystem32USERENV.dll
0x77920000 - 0x77943000 D:WINNTsystem32imagehlp.dll
0x729A0000 - 0x729CD000 D:WINNTsystem32DBGHELP.dll
0x68F70000 - 0x68F7B000 D:WINNTsystem32PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 457K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 89% used [0x10010000, 0x10082700, 0x10090000)
from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 1408K, used 0K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 0% used [0x104f0000, 0x104f0000, 0x104f0200, 0x10650000)
compacting perm gen total 4096K, used 1297K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 31% used [0x14010000, 0x14154680, 0x14154800, 0x14410000)
Local Time = Thu Oct 21 09:34:30 2004
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode)
#
# An error report file has been saved as hs_err_pid324.log.
# Please refer to the file for further information.
#