Bug 78785 - Invoke printing action don't print diagram and throws exception
Invoke printing action don't print diagram and throws exception
Status: VERIFIED WORKSFORME
Product: soa
Classification: Unclassified
Component: BPEL
5.x
All All
: P1 (vote)
: 5.x
Assigned To: Alexey Anjeleevich
issues@soa
EXCEPTION
: REGRESSION
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-21 15:31 UTC by Andrey Yamkovoy
Modified: 2006-08-31 02:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2006-06-21 15:31:14 UTC
Steps to reproduce:
- Open any bpel diagram.
- Open "Print" dialog (push main menu item "File > Print").
- Push OK button.
- Empty page will be printed and following exception occurs:

java.lang.IllegalArgumentException: negative width
	at java.awt.BasicStroke.<init>(BasicStroke.java:181)
	at java.awt.BasicStroke.<init>(BasicStroke.java:254)
	at org.netbeans.modules.bpel.design.GUtils.setSolidStroke
(GUtils.java:188)
	at org.netbeans.modules.bpel.design.model.elements.ProcessBorder.paint
(ProcessBorder.java:67)
	at org.netbeans.modules.bpel.design.DesignView.paintPattern
(DesignView.java:636)
	at org.netbeans.modules.bpel.design.DesignView.paintContent
(DesignView.java:586)
	at org.netbeans.modules.bpel.design.DesignView.printComponent
(DesignView.java:614)
	at javax.swing.JComponent.paint(JComponent.java:1009)
	at javax.swing.JComponent.print(JComponent.java:1104)
	at org.netbeans.modules.print.impl.core.Page.print(Page.java:56)
	at org.netbeans.modules.print.impl.ui.Paper.paint(Paper.java:153)
	at javax.swing.JComponent.print(JComponent.java:1104)
	at org.netbeans.modules.print.impl.ui.Paper.print(Paper.java:133)
	at org.netbeans.modules.print.impl.ui.Printer.print(Printer.java:65)
	at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1927)
	at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1334)
	at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1196)
	at org.netbeans.modules.print.impl.ui.Printer.print(Printer.java:43)
	at org.netbeans.modules.print.impl.ui.Preview.print(Preview.java:610)
	at org.netbeans.modules.print.impl.ui.Preview.doAction(Preview.java:69)
	at org.netbeans.modules.print.impl.core.Manager.print(Manager.java:62)
	at org.netbeans.modules.print.impl.action.Action.performAction
(Action.java:46)
	at org.openide.util.actions.NodeAction.performAction
(NodeAction.java:255)
	at org.openide.util.actions.CallableSystemAction$1.run
(CallableSystemAction.java:94)
	at 
org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed
(ActionsBridge.java:81)
	at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74)
	at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction
(ActionsBridgeImpl.java:24)
	at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun
(ActionsBridge.java:72)
	at org.netbeans.modules.openide.util.ActionsBridge$1.run
(ActionsBridge.java:41)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:926)
Comment 1 Vladimir Yaroslavskiy 2006-06-22 07:30:56 UTC
Problem is in painting of design element.
Comment 2 Alexey Anjeleevich 2006-07-18 13:01:52 UTC
Don't reproducable.
Comment 3 Andrey Yamkovoy 2006-08-03 12:21:31 UTC
Seems was fixed. Not reproducible anymore.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo