0 Replies Latest reply: Sep 20, 2012 10:13 AM by 963368 RSS

    Applet crashes in MAC OS X 10.7.4 with JRE 1.7.0_07 while printing

    963368
      Our appplication uses the java applet to print the application data to default printer. We recommended our consumer to install latest jre (1.7.0_07) to run applet from our site.
      Since then we are facing issues in MAC OS X 10.7.3 and above. The applet crashes and throws following error in MAC console. There was no error in application or java console.

      We uninstalled java 1.7.0.0_07 and restore the apple recommended java 1.6.0_35. After that the applet works fine(java 1.6.0_35) to print the applciation data in MAC OS X 10.7.4.

      The browser pops up with error message says "Error While Printing"

      Application Specific Information:
      objc[2508]: garbage collection is OFF
      *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Printing failed because PMSessionEndDocumentNoDialog() returned -30871.'
      *** First throw call stack:
      (
           0 CoreFoundation 0x00007fff8a835f56 __exceptionPreprocess + 198
           1 libobjc.A.dylib 0x00007fff90651d5e objc_exception_throw + 43
           2 CoreFoundation 0x00007fff8a835d8a +[NSException raise:format:arguments:] + 106
           3 CoreFoundation 0x00007fff8a835d14 +[NSException raise:format:] + 116
           4 AppKit 0x00007fff9577547f -[NSPrintSpoolingGraphicsContext endDocument] + 177
           5 AppKit 0x00007fff95775795 -[NSPrintSpoolingGraphicsContext dealloc] + 42
           6 libobjc.A.dylib 0x00007fff9064a03c ZN12GLOBAL__N_119AutoreleasePoolPage3popEPv + 434
           7 CoreFoundation 0x00007fff8a7c3915 _CFAutoreleasePoolPop + 37
           8 liblwawt.dylib 0x000000010c74b8db Java_sun_lwawt_macosx_CPrinterJob_printLoop + 165
           9 ??? 0x000000010312af90 0x0 + 4346523536
           10 ??? 0x000000010311f450 0x0 + 4346475600
           11 ??? 0x000000010311f158 0x0 + 4346474840
           12 ??? 0x000000010311f158 0x0 + 4346474840
      )

      Are there any issues with MAC 10.7.3 and above with applet running in jre 1.7.0_07 to print the data to printer?