Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0009759
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Java Client POS] (No Category)majoralways2009-07-03 12:142010-07-23 00:00
ReporterlucpmaesView Statuspublic 
Assigned Toadrianromero 
PrioritynormalResolutionfixedFixed in Version2.30.1
StatusclosedFix in branchFixed in SCM revision19b2a548717c
ProjectionnoneETAnoneTarget Version2.40
OSWindowsDatabaseAnyJava version1.6
OS VersionVista & XPDatabase versionN/AAnt version
Product Version2.30SCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0009759: Error when pressing "print" button for reports

DescriptionWhenever trying to print a (jasper) report the user receives an empty notification box with "message" in title line.
The background exception is:

org.jvnet.substance.api.UiThreadingViolationException: Component creation must b
e done on Event Dispatch Thread
        at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentCreatio
nThreadingViolation(SubstanceCoreUtilities.java:2322)
        at org.jvnet.substance.SubstanceRootPaneUI.createUI(SubstanceRootPaneUI.
java:144)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.reflect.misc.Trampoline.invoke(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
        at javax.swing.UIDefaults.getUI(Unknown Source)
        at javax.swing.UIManager.getUI(Unknown Source)
        at javax.swing.JRootPane.updateUI(Unknown Source)
        at javax.swing.JRootPane.<init>(Unknown Source)
        at javax.swing.JDialog.createRootPane(Unknown Source)
        at javax.swing.JDialog.dialogInit(Unknown Source)
        at javax.swing.JDialog.<init>(Unknown Source)
        at javax.swing.JOptionPane.createDialog(Unknown Source)
        at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
        at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
        at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
        at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
        at com.openbravo.pos.util.JRViewer300$21.run(JRViewer300.java:1156)
        at java.lang.Thread.run(Unknown Source)
UIDefaults.getUI() failed: createUI() failed for javax.swing.JRootPane[,0,0,0x0,
invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,bo
rder=,flags=1,maximumSize=,minimumSize=,preferredSize=] java.lang.reflect.Invoca
tionTargetException
java.lang.Error
        at javax.swing.UIDefaults.getUIError(Unknown Source)
        at javax.swing.MultiUIDefaults.getUIError(Unknown Source)
Steps To Reproducecreate any report and press the "printer" button to print the report
Proposed Solutionno clue
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0017972)
hgbot (developer)
2009-07-07 16:41

Repository: pos/devel/main
Changeset: 19b2a548717ce503c9765dfde57af51ca95655e2
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Jul 07 16:39:40 2009 +0200
URL: http://code.openbravo.com/pos/devel/main/rev/19b2a548717ce503c9765dfde57af51ca95655e2 [^]

Fixes issue 0009759: Error when pressing "print" button for reports

---
M src-pos/com/openbravo/pos/util/JRViewer300.java
---

- Issue History
Date Modified Username Field Change
2009-07-03 12:14 lucpmaes New Issue
2009-07-03 12:14 lucpmaes Assigned To => adrianromero
2009-07-07 16:41 hgbot Checkin
2009-07-07 16:41 hgbot Note Added: 0017972
2009-07-07 16:41 hgbot Status new => resolved
2009-07-07 16:41 hgbot Resolution open => fixed
2009-07-07 16:41 hgbot Fixed in SCM revision => http://code.openbravo.com/pos/devel/main/rev/19b2a548717ce503c9765dfde57af51ca95655e2 [^]
2009-07-07 16:44 adrianromero Fixed in Version => 2.40
2009-07-07 16:44 adrianromero Target Version => 2.40
2010-07-22 13:55 adrianromero Status resolved => closed
2010-07-22 14:01 adrianromero Fixed in Version 2.40 => 2.30.1
2010-07-23 00:00 anonymous sf_bug_id 0 => 3033258
2012-11-07 09:40 priyam Category 01 - General => (No Category)


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker