Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Print preview error (Read 2964 times)
thanhnt
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Dec 25th, 2008
Print preview error
Feb 11th, 2009 at 6:50am
Print Post  
Plz help me:

When I use printPreview() there are error as below.

Could you show me  the reason?

Tks!


#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77831ad5, pid=8180, tid=3984
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C  [ntdll.dll+0x61ad5]
#
# An error report file with more information is saved as hs_err_pid8180.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Print preview error
Reply #1 - Feb 11th, 2009 at 9:32am
Print Post  
Could you email that hs_err_pid8180.log file to support@mindfusion.eu?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Print preview error
Reply #2 - Feb 15th, 2009 at 10:09am
Print Post  
What header format have you set in PrintOptions?
  
Back to top
 
IP Logged
 
thanhnt
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Dec 25th, 2008
Re: Print preview error
Reply #3 - Feb 16th, 2009 at 4:55am
Print Post  
Dear  Mr.Stoyo,


I tried both cases:
- printPreview.setTitle, printOptions.setDocumentName
- and nothing just diagView.printPreview()


The results are the same.


Tks very much!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Print preview error
Reply #4 - Feb 16th, 2009 at 8:51am
Print Post  
Are you calling printOptions.setHeaderFormat at some point, and with what value? Also what is the DocumentName value?

You might check how this works with a newer version of the JRE. There is a Java bug report with very much the same stack trace, and it is reported fixed now -
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6692979

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint