Jump to content
We've recently updated our Privacy Statement, available here ×

DMA02

Members
  • Posts

    10
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by DMA02

  1. Don't have a test case. It seems to happen randomly. I once spent a few hours trying to re-produce the problem, must have wasted 200 sheets of paper. Though when it does happen the stack traces (the ones I posted) are the same. I'll try upgrading the jvms to patch level 11 like you mentioned and i'll wait and see if anyone reports any errors. I'll also look into this BEA JRockit vm. Thanks.
  2. Put the JRViewer object in a javax.swing.JDialog object and then invoke the method .setModal(true)
  3. brazyj wrote: Hi I am using iReport 1.2.2 as part of OSRMT v1.4. This version of iReport does not appear to support CLOBs? We instantiated OSRMT v1.4 with SQL Server Express using a separate jtsds-1.2.jar for the database connection driver. Has anyone written an extension to iReport to support the conversion of CLOBs to strings? Thanks In Advance jpb In jasper reports 1.2.8 at least it returns the CLOB Columns as one long string. But, lets say you needed to process something from a CLOB anyways. You could see what java object is returned form the CLOB column and write a small class that will take in as a parameter an object of that type. Then in there you extract the string from the CLOB and return a String object. Then in iReport place that class you coded in its classpath. Then in a Field expression call your class statically using its absolute package path (ie. mypackage.name.CLOBStringConverter.convertMyObj($F{TheCLOBColumn})) K, don't know if this will work or not cos I only tried stuff like this on v1.2.8 of jasper/iReport to convert BLOBs to text (don't ask, some progs store stuff only in bytes). Hope this helps.
  4. I really need some sort of help on this one. Even just a hint as to what may be the cause. I am using Jasper Reports v1.2.8 on java 1.5 patch level 09. I see in the hs_err_pid file the line Code: # Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode) # Problematic frame: # C [fontmanager.dll+0x22b51] # I can tell so far that it is a problem with some native class dealing with Fonts. But how do I fix this? I use a mix of standard window Time New Roman, Aria, and Traditional Arabic fonts in the reports. The report also has 2 sub-reports nested into it. I send the sub-reports as inputstreams rather than the file locations (cos I am doing everyting through JNLP and I don't want to write anything to disk, taking it all from the jar file.) Is there a problem with the fonts I am using? Is it something with jasper that is fixed in 1.3.0 ? Could it be the actual windows print driver ? Any hint at all would be greatly appreciated. Below is the stack tace. Code:[code] # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d262b51, pid=3384, tid=3364 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode) # Problematic frame: # C [fontmanager.dll+0x22b51] # --------------- T H R E A D --------------- Current thread (0x0c7c05a0): JavaThread "Thread-2" [_thread_in_native, id=3364] siginfo: ExceptionCode=0xc0000005, reading address 0x0b1dec3c Registers: EAX=0x0c774400, EBX=0x07178ce8, ECX=0x00000000, EDX=0x0c3ff1e8 ESP=0x0c3ff0ec, EBP=0x0c3ff10c, ESI=0x0c7c5470, EDI=0x0b1deb20 EIP=0x6d262b51, EFLAGS=0x00010246 Top of Stack: (sp=0x0c3ff0ec) 0x0c3ff0ec: 00000000 0b1deb20 0c7c5470 0c3ff160 0x0c3ff0fc: 07178ce8 07178ce8 0c7c8a60 00000000 0x0c3ff10c: 0c3ff134 6d26cd68 0c7c0660 0c3ff1e8 0x0c3ff11c: 0c774400 0c7c5470 00000000 0c7c05a0 0x0c3ff12c: 07178ce8 0000000c 0c3ff17c 6d26ccfb 0x0c3ff13c: 0c7c0660 0c3ff1e8 0c7c5470 01000000 0x0c3ff14c: 000003f2 00000000 00000000 0c3ff160 0x0c3ff15c: 07178ce8 0c7c8b30 0c7c8a60 00000000 Instructions: (pc=0x6d262b51) 0x6d262b41: 57 8b 78 04 89 4d fc 74 06 8d 46 14 50 eb 01 51 0x6d262b51: ff b7 1c 01 00 00 e8 5a f4 fe ff 8b 46 04 59 89 Stack: [0x0c3c0000,0x0c400000), sp=0x0c3ff0ec, free space=252k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [fontmanager.dll+0x22b51] C [fontmanager.dll+0x2cd68] C [fontmanager.dll+0x2ccfb] j sun.font.FileFont.getGlyphOutline(JIFF)Ljava/awt/geom/GeneralPath;+0 j sun.font.FileFontStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+11 j sun.font.CompositeStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+15 j sun.font.StandardGlyphVector$GlyphStrike.appendGlyphOutline(ILjava/awt/geom/GeneralPath;FF)V+46 j sun.font.StandardGlyphVector.getGlyphsOutline(IIFF)Ljava/awt/Shape;+82 j sun.font.StandardGlyphVector.getOutline(FF)Ljava/awt/Shape;+9 j sun.print.PathGraphics.drawGlyphVector(Ljava/awt/font/GlyphVector;FF)V+20 j sun.font.ExtendedTextSourceLabel.handleDraw(Ljava/awt/Graphics2D;FF)V+7 j sun.font.Decoration$DecorationImpl.drawTextAndEmbellishments(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+5 j sun.font.Decoration$DecorationImpl.drawTextAndDecorations(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+185 J sun.font.ExtendedTextSourceLabel.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLine.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLayout.draw(Ljava/awt/Graphics2D;FF)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j net.sf.jasperreports.engine.export.TextRenderer.draw(Ljava/awt/font/TextLayout;«»)V+47 j net.sf.jasperreports.engine.export.TextRenderer.renderParagraph(Ljava/text/AttributedCharacterIterator;ILjava/lang/String;«»)V+371 J net.sf.jasperreports.engine.export.TextRenderer.render(Ljava/awt/Graphics2D;IIIIIIIIFBBFFIZLnet/sf/jasperreports/engine/util/JRStyledText;Ljava/lang/String;«»)V j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportText(Lnet/sf/jasperreports/engine/JRPrintText;«»)V+473 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportElements(Ljava/util/Collection;«»)V+206 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportPage(Lnet/sf/jasperreports/engine/JRPrintPage;«»)V+67 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReportToGraphics2D()V+151 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReport()V+148 j net.sf.jasperreports.engine.print.JRPrinterAWT.print(Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)I+96 j sun.print.RasterPrinterJob.printPage(Ljava/awt/print/Pageable;I)I+656 j sun.print.RasterPrinterJob.print(Ljavax/print/attribute/PrintRequestAttributeSet;«»)V+474 j sun.print.RasterPrinterJob.print()V+5 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(IIZ)Z+329 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+15 j net.sf.jasperreports.engine.JasperPrintManager.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+4 j net.sf.jasperreports.engine.JasperPrintManager.printReport(Lnet/sf/jasperreports/engine/JasperPrint;Z)Z+14 j net.sf.jasperreports.view.JRViewer$20.run()V+8 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub V [jvm.dll+0x86e84] V [jvm.dll+0xddead] V [jvm.dll+0x86d55] V [jvm.dll+0x86ab2] V [jvm.dll+0xa16b2] V [jvm.dll+0x10f4ac] V [jvm.dll+0x10f47a] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb50b] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j sun.font.FileFont.getGlyphOutline(JIFF)Ljava/awt/geom/GeneralPath;+0 j sun.font.FileFontStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+11 j sun.font.CompositeStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+15 j sun.font.StandardGlyphVector$GlyphStrike.appendGlyphOutline(ILjava/awt/geom/GeneralPath;FF)V+46 j sun.font.StandardGlyphVector.getGlyphsOutline(IIFF)Ljava/awt/Shape;+82 j sun.font.StandardGlyphVector.getOutline(FF)Ljava/awt/Shape;+9 j sun.print.PathGraphics.drawGlyphVector(Ljava/awt/font/GlyphVector;FF)V+20 j sun.font.ExtendedTextSourceLabel.handleDraw(Ljava/awt/Graphics2D;FF)V+7 j sun.font.Decoration$DecorationImpl.drawTextAndEmbellishments(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+5 j sun.font.Decoration$DecorationImpl.drawTextAndDecorations(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+185 J sun.font.ExtendedTextSourceLabel.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLine.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLayout.draw(Ljava/awt/Graphics2D;FF)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j net.sf.jasperreports.engine.export.TextRenderer.draw(Ljava/awt/font/TextLayout;«»)V+47 j net.sf.jasperreports.engine.export.TextRenderer.renderParagraph(Ljava/text/AttributedCharacterIterator;ILjava/lang/String;«»)V+371 J net.sf.jasperreports.engine.export.TextRenderer.render(Ljava/awt/Graphics2D;IIIIIIIIFBBFFIZLnet/sf/jasperreports/engine/util/JRStyledText;Ljava/lang/String;«»)V j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportText(Lnet/sf/jasperreports/engine/JRPrintText;«»)V+473 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportElements(Ljava/util/Collection;«»)V+206 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportPage(Lnet/sf/jasperreports/engine/JRPrintPage;«»)V+67 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReportToGraphics2D()V+151 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReport()V+148 j net.sf.jasperreports.engine.print.JRPrinterAWT.print(Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)I+96 j sun.print.RasterPrinterJob.printPage(Ljava/awt/print/Pageable;I)I+656 j sun.print.RasterPrinterJob.print(Ljavax/print/attribute/PrintRequestAttributeSet;«»)V+474 j sun.print.RasterPrinterJob.print()V+5 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(IIZ)Z+329 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+15 j net.sf.jasperreports.engine.JasperPrintManager.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+4 j net.sf.jasperreports.engine.JasperPrintManager.printReport(Lnet/sf/jasperreports/engine/JasperPrint;Z)Z+14 j net.sf.jasperreports.view.JRViewer$20.run()V+8 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x0c7c05a0 JavaThread "Thread-2" [_thread_in_native, id=3364] 0x0084cc20 JavaThread "TimerQueue" daemon [_thread_blocked, id=3880] 0x0085f120 JavaThread "DestroyJavaVM" [_thread_blocked, id=3380] 0x00870ab0 JavaThread "AS400 Read Daemon-1" daemon [_thread_in_native, id=3800] 0x00864b70 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3672] 0x008615b0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=844] 0x00852bb0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3704] 0x00851090 JavaThread "AWT-Shutdown" [_thread_blocked, id=1620] 0x00830e70 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3428] 0x0082e1c0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3420] 0x0082ee70 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1572] 0x0082c720 JavaThread "Finalizer" daemon [_thread_blocked, id=3388] 0x0082b4a0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3272] Other Threads: 0x0082a790 VMThread [id=3356] 0x00833f50 WatcherThread [id=1756] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 1152K, used 98K [0x02b80000, 0x02cc0000, 0x03060000) eden space 1024K, 3% used [0x02b80000, 0x02b89b40, 0x02c80000) from space 128K, 46% used [0x02c80000, 0x02c8ecc8, 0x02ca0000) to space 128K, 0% used [0x02ca0000, 0x02ca0000, 0x02cc0000) tenured generation total 14896K, used 8977K [0x03060000, 0x03eec000, 0x06b80000) the space 14896K, 60% used [0x03060000, 0x039246c8, 0x03924800, 0x03eec000) compacting perm gen total 16640K, used 16451K [0x06b80000, 0x07bc0000, 0x0ab80000) the space 16640K, 98% used [0x06b80000, 0x07b90e30, 0x07b91000, 0x07bc0000) No shared spaces configured. Dynamic libraries: 0x00400000 - 0x0040d000 C:Program FilesJavajre1.5.0_09binjavaw.exe 0x7c900000 - 0x7c9b0000 C:WINDOWSsystem32ntdll.dll 0x7c800000 - 0x7c8f4000 C:WINDOWSsystem32kernel32.dll 0x77dd0000 - 0x77e6b000 C:WINDOWSsystem32ADVAPI32.dll 0x77e70000 - 0x77f01000 C:WINDOWSsystem32RPCRT4.dll 0x77d40000 - 0x77dd0000 C:WINDOWSsystem32USER32.dll 0x77f10000 - 0x77f56000 C:WINDOWSsystem32GDI32.dll 0x77c10000 - 0x77c68000 C:WINDOWSsystem32MSVCRT.dll 0x629c0000 - 0x629c9000 C:WINDOWSsystem32LPK.DLL 0x74d90000 - 0x74dfb000 C:WINDOWSsystem32USP10.dll 0x6d6c0000 - 0x6d85b000 C:Program FilesJavajre1.5.0_09binclientjvm.dll 0x76b40000 - 0x76b6d000 C:WINDOWSsystem32WINMM.dll 0x6bd00000 - 0x6bd0d000 C:WINDOWSsystem32SYNCOR11.DLL 0x6d280000 - 0x6d288000 C:Program FilesJavajre1.5.0_09binhpi.dll 0x76bf0000 - 0x76bfb000 C:WINDOWSsystem32PSAPI.DLL 0x6d690000 - 0x6d69c000 C:Program FilesJavajre1.5.0_09binverify.dll 0x6d300000 - 0x6d31d000 C:Program FilesJavajre1.5.0_09binjava.dll 0x6d6b0000 - 0x6d6bf000 C:Program FilesJavajre1.5.0_09binzip.dll 0x6d000000 - 0x6d169000 C:Program FilesJavajre1.5.0_09binawt.dll 0x73000000 - 0x73026000 C:WINDOWSsystem32WINSPOOL.DRV 0x76390000 - 0x763ad000 C:WINDOWSsystem32IMM32.dll 0x774e0000 - 0x7761c000 C:WINDOWSsystem32ole32.dll 0x5ad70000 - 0x5ada8000 C:WINDOWSsystem32uxtheme.dll 0x73760000 - 0x737a9000 C:WINDOWSsystem32ddraw.dll 0x73bc0000 - 0x73bc6000 C:WINDOWSsystem32DCIMAN32.dll 0x10000000 - 0x1002b000 C:Program FilesGNUGnuPGPTD.dll 0x77120000 - 0x771ac000 C:WINDOWSsystem32OLEAUT32.DLL 0x74720000 - 0x7476b000 C:WINDOWSsystem32MSCTF.dll 0x7c9c0000 - 0x7d1d4000 C:WINDOWSsystem32shell32.dll 0x77f60000 - 0x77fd6000 C:WINDOWSsystem32SHLWAPI.dll 0x773d0000 - 0x774d2000 C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9comctl32.dll 0x5d090000 - 0x5d127000 C:WINDOWSsystem32comctl32.dll 0x6d240000 - 0x6d27f000 C:Program FilesJavajre1.5.0_09binfontmanager.dll 0x605d0000 - 0x605d9000 C:WINDOWSsystem32mslbui.dll 0x6d4c0000 - 0x6d4d3000 C:Program FilesJavajre1.5.0_09binnet.dll 0x71ab0000 - 0x71ac7000 C:WINDOWSsystem32WS2_32.dll 0x71aa0000 - 0x71aa8000 C:WINDOWSsystem32WS2HELP.dll 0x71a50000 - 0x71a8f000 C:WINDOWSsystem32mswsock.dll 0x662b0000 - 0x66308000 C:WINDOWSsystem32hnetcfg.dll 0x71a90000 - 0x71a98000 C:WINDOWSSystem32wshtcpip.dll 0x6d4e0000 - 0x6d4e9000 C:Program FilesJavajre1.5.0_09binnio.dll 0x6d1c0000 - 0x6d1e3000 C:Program FilesJavajre1.5.0_09bindcpr.dll 0x6a900000 - 0x6a96d000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DA.DLL 0x77c00000 - 0x77c08000 C:WINDOWSsystem32VERSION.dll 0x763b0000 - 0x763f9000 C:WINDOWSsystem32comdlg32.dll 0x6b900000 - 0x6b928000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DL.DLL 0x6c900000 - 0x6c948000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DF.DLL 0x0c870000 - 0x0c976000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1UI.DLL 0x76380000 - 0x76385000 C:WINDOWSsystem32MSIMG32.dll 0x0c400000 - 0x0c431000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DD.dll 0x77920000 - 0x77a13000 C:WINDOWSsystem32SETUPAPI.dll 0x77fe0000 - 0x77ff1000 C:WINDOWSsystem32Secur32.dll VM Arguments: java_command: creditauth.ClientCreditAuth Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:Program FilesJavajdk1.5.0_09 CLASSPATH=.;C:Program FilesJavajre1.5.0_09libextQTJava.zip PATH=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesPC-Doctor for Windowsservices;C:Program FilesCommon FilesGTK2.0bin;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Program FilesQuickTimeQTSystem;C:Program FilesJavajdk1.5.0_09bin;C:antbin;C:Program Filesgnupg USERNAME=georgesh OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 2 CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht Memory: 4k page, physical 1301484k(597988k free), swap 1534160k(1025668k free) vm_info: Java HotSpot(TM) Client VM (1.5.0_09-b03) for windows-x86, built on Oct 12 2006 01:20:10 by "java_re" with MS VC++ 6.0
  5. Got the stack trace from the JVM. Seems to be related to "fontmanager.dll" # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d262b51, pid=3384, tid=3364 # # Java VM: Java HotSpot Client VM (1.5.0_09-b03 mixed mode) # Problematic frame: # C [fontmanager.dll+0x22b51] # --------------- T H R E A D --------------- Current thread (0x0c7c05a0): JavaThread "Thread-2" [_thread_in_native, id=3364] siginfo: ExceptionCode=0xc0000005, reading address 0x0b1dec3c Registers: EAX=0x0c774400, EBX=0x07178ce8, ECX=0x00000000, EDX=0x0c3ff1e8 ESP=0x0c3ff0ec, EBP=0x0c3ff10c, ESI=0x0c7c5470, EDI=0x0b1deb20 EIP=0x6d262b51, EFLAGS=0x00010246 Top of Stack: (sp=0x0c3ff0ec) 0x0c3ff0ec: 00000000 0b1deb20 0c7c5470 0c3ff160 0x0c3ff0fc: 07178ce8 07178ce8 0c7c8a60 00000000 0x0c3ff10c: 0c3ff134 6d26cd68 0c7c0660 0c3ff1e8 0x0c3ff11c: 0c774400 0c7c5470 00000000 0c7c05a0 0x0c3ff12c: 07178ce8 0000000c 0c3ff17c 6d26ccfb 0x0c3ff13c: 0c7c0660 0c3ff1e8 0c7c5470 01000000 0x0c3ff14c: 000003f2 00000000 00000000 0c3ff160 0x0c3ff15c: 07178ce8 0c7c8b30 0c7c8a60 00000000 Instructions: (pc=0x6d262b51) 0x6d262b41: 57 8b 78 04 89 4d fc 74 06 8d 46 14 50 eb 01 51 0x6d262b51: ff b7 1c 01 00 00 e8 5a f4 fe ff 8b 46 04 59 89 Stack: [0x0c3c0000,0x0c400000), sp=0x0c3ff0ec, free space=252k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [fontmanager.dll+0x22b51] C [fontmanager.dll+0x2cd68] C [fontmanager.dll+0x2ccfb] j sun.font.FileFont.getGlyphOutline(JIFF)Ljava/awt/geom/GeneralPath;+0 j sun.font.FileFontStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+11 j sun.font.CompositeStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+15 j sun.font.StandardGlyphVector$GlyphStrike.appendGlyphOutline(ILjava/awt/geom/GeneralPath;FF)V+46 j sun.font.StandardGlyphVector.getGlyphsOutline(IIFF)Ljava/awt/Shape;+82 j sun.font.StandardGlyphVector.getOutline(FF)Ljava/awt/Shape;+9 j sun.print.PathGraphics.drawGlyphVector(Ljava/awt/font/GlyphVector;FF)V+20 j sun.font.ExtendedTextSourceLabel.handleDraw(Ljava/awt/Graphics2D;FF)V+7 j sun.font.Decoration$DecorationImpl.drawTextAndEmbellishments(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+5 j sun.font.Decoration$DecorationImpl.drawTextAndDecorations(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+185 J sun.font.ExtendedTextSourceLabel.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLine.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLayout.draw(Ljava/awt/Graphics2D;FF)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j net.sf.jasperreports.engine.export.TextRenderer.draw(Ljava/awt/font/TextLayout;)V+47 j net.sf.jasperreports.engine.export.TextRenderer.renderParagraph(Ljava/text/AttributedCharacterIterator;ILjava/lang/String;)V+371 J net.sf.jasperreports.engine.export.TextRenderer.render(Ljava/awt/Graphics2D;IIIIIIIIFBBFFIZLnet/sf/jasperreports/engine/util/JRStyledText;Ljava/lang/String;)V j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportText(Lnet/sf/jasperreports/engine/JRPrintText;)V+473 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportElements(Ljava/util/Collection;)V+206 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportPage(Lnet/sf/jasperreports/engine/JRPrintPage;)V+67 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReportToGraphics2D()V+151 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReport()V+148 j net.sf.jasperreports.engine.print.JRPrinterAWT.print(Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)I+96 j sun.print.RasterPrinterJob.printPage(Ljava/awt/print/Pageable;I)I+656 j sun.print.RasterPrinterJob.print(Ljavax/print/attribute/PrintRequestAttributeSet;)V+474 j sun.print.RasterPrinterJob.print()V+5 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(IIZ)Z+329 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+15 j net.sf.jasperreports.engine.JasperPrintManager.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+4 j net.sf.jasperreports.engine.JasperPrintManager.printReport(Lnet/sf/jasperreports/engine/JasperPrint;Z)Z+14 j net.sf.jasperreports.view.JRViewer$20.run()V+8 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub V [jvm.dll+0x86e84] V [jvm.dll+0xddead] V [jvm.dll+0x86d55] V [jvm.dll+0x86ab2] V [jvm.dll+0xa16b2] V [jvm.dll+0x10f4ac] V [jvm.dll+0x10f47a] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb50b] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j sun.font.FileFont.getGlyphOutline(JIFF)Ljava/awt/geom/GeneralPath;+0 j sun.font.FileFontStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+11 j sun.font.CompositeStrike.getGlyphOutline(IFF)Ljava/awt/geom/GeneralPath;+15 j sun.font.StandardGlyphVector$GlyphStrike.appendGlyphOutline(ILjava/awt/geom/GeneralPath;FF)V+46 j sun.font.StandardGlyphVector.getGlyphsOutline(IIFF)Ljava/awt/Shape;+82 j sun.font.StandardGlyphVector.getOutline(FF)Ljava/awt/Shape;+9 j sun.print.PathGraphics.drawGlyphVector(Ljava/awt/font/GlyphVector;FF)V+20 j sun.font.ExtendedTextSourceLabel.handleDraw(Ljava/awt/Graphics2D;FF)V+7 j sun.font.Decoration$DecorationImpl.drawTextAndEmbellishments(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+5 j sun.font.Decoration$DecorationImpl.drawTextAndDecorations(Lsun/font/Decoration$Label;Ljava/awt/Graphics2D;FF)V+185 J sun.font.ExtendedTextSourceLabel.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLine.draw(Ljava/awt/Graphics2D;FF)V J java.awt.font.TextLayout.draw(Ljava/awt/Graphics2D;FF)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j net.sf.jasperreports.engine.export.TextRenderer.draw(Ljava/awt/font/TextLayout;)V+47 j net.sf.jasperreports.engine.export.TextRenderer.renderParagraph(Ljava/text/AttributedCharacterIterator;ILjava/lang/String;)V+371 J net.sf.jasperreports.engine.export.TextRenderer.render(Ljava/awt/Graphics2D;IIIIIIIIFBBFFIZLnet/sf/jasperreports/engine/util/JRStyledText;Ljava/lang/String;)V j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportText(Lnet/sf/jasperreports/engine/JRPrintText;)V+473 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportElements(Ljava/util/Collection;)V+206 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportPage(Lnet/sf/jasperreports/engine/JRPrintPage;)V+67 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReportToGraphics2D()V+151 j net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReport()V+148 j net.sf.jasperreports.engine.print.JRPrinterAWT.print(Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)I+96 j sun.print.RasterPrinterJob.printPage(Ljava/awt/print/Pageable;I)I+656 j sun.print.RasterPrinterJob.print(Ljavax/print/attribute/PrintRequestAttributeSet;)V+474 j sun.print.RasterPrinterJob.print()V+5 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(IIZ)Z+329 j net.sf.jasperreports.engine.print.JRPrinterAWT.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+15 j net.sf.jasperreports.engine.JasperPrintManager.printPages(Lnet/sf/jasperreports/engine/JasperPrint;IIZ)Z+4 j net.sf.jasperreports.engine.JasperPrintManager.printReport(Lnet/sf/jasperreports/engine/JasperPrint;Z)Z+14 j net.sf.jasperreports.view.JRViewer$20.run()V+8 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) =>0x0c7c05a0 JavaThread "Thread-2" [_thread_in_native, id=3364] 0x0084cc20 JavaThread "TimerQueue" daemon [_thread_blocked, id=3880] 0x0085f120 JavaThread "DestroyJavaVM" [_thread_blocked, id=3380] 0x00870ab0 JavaThread "AS400 Read Daemon-1" daemon [_thread_in_native, id=3800] 0x00864b70 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3672] 0x008615b0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=844] 0x00852bb0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3704] 0x00851090 JavaThread "AWT-Shutdown" [_thread_blocked, id=1620] 0x00830e70 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3428] 0x0082e1c0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3420] 0x0082ee70 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1572] 0x0082c720 JavaThread "Finalizer" daemon [_thread_blocked, id=3388] 0x0082b4a0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3272] Other Threads: 0x0082a790 VMThread [id=3356] 0x00833f50 WatcherThread [id=1756] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 1152K, used 98K [0x02b80000, 0x02cc0000, 0x03060000) eden space 1024K, 3% used [0x02b80000, 0x02b89b40, 0x02c80000) from space 128K, 46% used [0x02c80000, 0x02c8ecc8, 0x02ca0000) to space 128K, 0% used [0x02ca0000, 0x02ca0000, 0x02cc0000) tenured generation total 14896K, used 8977K [0x03060000, 0x03eec000, 0x06b80000) the space 14896K, 60% used [0x03060000, 0x039246c8, 0x03924800, 0x03eec000) compacting perm gen total 16640K, used 16451K [0x06b80000, 0x07bc0000, 0x0ab80000) the space 16640K, 98% used [0x06b80000, 0x07b90e30, 0x07b91000, 0x07bc0000) No shared spaces configured. Dynamic libraries: 0x00400000 - 0x0040d000 C:Program FilesJavajre1.5.0_09binjavaw.exe 0x7c900000 - 0x7c9b0000 C:WINDOWSsystem32ntdll.dll 0x7c800000 - 0x7c8f4000 C:WINDOWSsystem32kernel32.dll 0x77dd0000 - 0x77e6b000 C:WINDOWSsystem32ADVAPI32.dll 0x77e70000 - 0x77f01000 C:WINDOWSsystem32RPCRT4.dll 0x77d40000 - 0x77dd0000 C:WINDOWSsystem32USER32.dll 0x77f10000 - 0x77f56000 C:WINDOWSsystem32GDI32.dll 0x77c10000 - 0x77c68000 C:WINDOWSsystem32MSVCRT.dll 0x629c0000 - 0x629c9000 C:WINDOWSsystem32LPK.DLL 0x74d90000 - 0x74dfb000 C:WINDOWSsystem32USP10.dll 0x6d6c0000 - 0x6d85b000 C:Program FilesJavajre1.5.0_09binclientjvm.dll 0x76b40000 - 0x76b6d000 C:WINDOWSsystem32WINMM.dll 0x6bd00000 - 0x6bd0d000 C:WINDOWSsystem32SYNCOR11.DLL 0x6d280000 - 0x6d288000 C:Program FilesJavajre1.5.0_09binhpi.dll 0x76bf0000 - 0x76bfb000 C:WINDOWSsystem32PSAPI.DLL 0x6d690000 - 0x6d69c000 C:Program FilesJavajre1.5.0_09binverify.dll 0x6d300000 - 0x6d31d000 C:Program FilesJavajre1.5.0_09binjava.dll 0x6d6b0000 - 0x6d6bf000 C:Program FilesJavajre1.5.0_09binzip.dll 0x6d000000 - 0x6d169000 C:Program FilesJavajre1.5.0_09binawt.dll 0x73000000 - 0x73026000 C:WINDOWSsystem32WINSPOOL.DRV 0x76390000 - 0x763ad000 C:WINDOWSsystem32IMM32.dll 0x774e0000 - 0x7761c000 C:WINDOWSsystem32ole32.dll 0x5ad70000 - 0x5ada8000 C:WINDOWSsystem32uxtheme.dll 0x73760000 - 0x737a9000 C:WINDOWSsystem32ddraw.dll 0x73bc0000 - 0x73bc6000 C:WINDOWSsystem32DCIMAN32.dll 0x10000000 - 0x1002b000 C:Program FilesGNUGnuPGPTD.dll 0x77120000 - 0x771ac000 C:WINDOWSsystem32OLEAUT32.DLL 0x74720000 - 0x7476b000 C:WINDOWSsystem32MSCTF.dll 0x7c9c0000 - 0x7d1d4000 C:WINDOWSsystem32shell32.dll 0x77f60000 - 0x77fd6000 C:WINDOWSsystem32SHLWAPI.dll 0x773d0000 - 0x774d2000 C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9comctl32.dll 0x5d090000 - 0x5d127000 C:WINDOWSsystem32comctl32.dll 0x6d240000 - 0x6d27f000 C:Program FilesJavajre1.5.0_09binfontmanager.dll 0x605d0000 - 0x605d9000 C:WINDOWSsystem32mslbui.dll 0x6d4c0000 - 0x6d4d3000 C:Program FilesJavajre1.5.0_09binnet.dll 0x71ab0000 - 0x71ac7000 C:WINDOWSsystem32WS2_32.dll 0x71aa0000 - 0x71aa8000 C:WINDOWSsystem32WS2HELP.dll 0x71a50000 - 0x71a8f000 C:WINDOWSsystem32mswsock.dll 0x662b0000 - 0x66308000 C:WINDOWSsystem32hnetcfg.dll 0x71a90000 - 0x71a98000 C:WINDOWSSystem32wshtcpip.dll 0x6d4e0000 - 0x6d4e9000 C:Program FilesJavajre1.5.0_09binnio.dll 0x6d1c0000 - 0x6d1e3000 C:Program FilesJavajre1.5.0_09bindcpr.dll 0x6a900000 - 0x6a96d000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DA.DLL 0x77c00000 - 0x77c08000 C:WINDOWSsystem32VERSION.dll 0x763b0000 - 0x763f9000 C:WINDOWSsystem32comdlg32.dll 0x6b900000 - 0x6b928000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DL.DLL 0x6c900000 - 0x6c948000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DF.DLL 0x0c870000 - 0x0c976000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1UI.DLL 0x76380000 - 0x76385000 C:WINDOWSsystem32MSIMG32.dll 0x0c400000 - 0x0c431000 C:WINDOWSSystem32spoolDRIVERSW32X863LMAAB1DD.dll 0x77920000 - 0x77a13000 C:WINDOWSsystem32SETUPAPI.dll 0x77fe0000 - 0x77ff1000 C:WINDOWSsystem32Secur32.dll VM Arguments: java_command: creditauth.ClientCreditAuth Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:Program FilesJavajdk1.5.0_09 CLASSPATH=.;C:Program FilesJavajre1.5.0_09libextQTJava.zip PATH=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesPC-Doctor for Windowsservices;C:Program FilesCommon FilesGTK2.0bin;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Sunjwsdp-1.6jwsdp-sharedbin;C:Program FilesJavajdk1.5.0_06bin;C:antbin;C:Program Filesgnupg;C:Program FilesQuickTimeQTSystem;C:Program FilesJavajdk1.5.0_09bin;C:antbin;C:Program Filesgnupg USERNAME=DMA02 OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 2 CPU:total 2 (cores per cpu 1, threads per core 2) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht Memory: 4k page, physical 1301484k(597988k free), swap 1534160k(1025668k free) vm_info: Java HotSpot Client VM (1.5.0_09-b03) for windows-x86, built on Oct 12 2006 01:20:10 by "java_re" with MS VC++ 6.0 Post edited by: DMA02, at: 2007/02/13 13:18
  6. k, anyone know if this is related to Jasper or to the Java VM?
  7. Hi, We use a java program running from a JNLP java webstart file that uses jasper reports v1.2.8 on JVM 1.5.x update 6. Seems that it crashed the VM when pressing the print button. This does not happen all the time but randomly. Maybe one out of 20 times. I don't know if this related to the VM I use or to something else. I read all the other posts and everyone mentions a different solution. I've had it crash on using Java 1.5 update 6 and update 9. Anyone got any ideas or possible workarounds ? even if it is installing Java 1.6, if that fixes it 100% then thats what I can do.
  8. I had a similar problem where I had to print something on the last page only. Do an evaluation checking if the current page number variable is equal to the total page count. Make sure the evaluation time is at Report time. That'll make it so that the variable is taken at the end. Plus doing some tests with the evaluation times will help you a lot! And using those Summary and Last Page Footer bands as well. Like the summary band will always be at the end so thats good for something.
  9. I wanted to do the same thing. Let the view the report, let them print it, but not let them save it. This is a problem because we store data on a database. If a bad user wants he can issue a print preview, save the report as RTF or Excel ..etc, edit the report, and then print it out. This would be, in other words, forgery. Simple fix is to not let the potential bad user to save the report. Thus removing the save button. There is a very simple and easy way to do this. Remove the JButton from the JRViewer :whistle: Code below. JRViewer jRViewer = new JRViewer(jasperPrint); ((JPanel)jRViewer.getComponent(0)).remove(0); This will always remove the save button because it is in the first JPanel and in the first position of the layout. You can even do more tests with the .getComponents method and iterate through the array of JComponents and find out what Java class they are, cast them appropriately and go crazy with .getComponent(int).remove(int) or .add(JComponent)
×
×
  • Create New...