This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 104073

Summary: Linux & Solaris Platforms - "Export as image" the size of the saved JPG-file is always ZERO
Product: uml Reporter: chenji <chenji>
Component: GeneralAssignee: issues@uml <issues>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: Sun   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description chenji 2007-05-16 14:54:39 UTC
When I try to save a UML Class Diagram from Netbeans 5.5 (created with the help
of  the UML support pack that has been released recently) using the button
"Export as image", the size of the saved JPG-file is always ZERO.

Is there a "normal" way to export and print out UML diagrams (except for screen
snapshots, that are not acceptable due to low resolution) ? 

Netbeans cannot export UML diagrams into JPEG even under Solaris Experss,
Developer Edition !!! And I was ready to migrate to Solaris from Linux because
of this problem.

To check the bug - I created a UML project and a Class Diagram using the wizard,
put a couple of classes and a package on it with nested links and tried to
export all this into JPEG - the result is zero-size file like in Solaris, like
in Suse, like in ASPLinux (which is Red Hat clone). It seems this export
function works under Windows only.
Comment 1 Sergey Petrov 2007-05-16 15:35:51 UTC

*** This issue has been marked as a duplicate of 82394 ***
Comment 2 Andrew Korostelev 2007-06-07 13:15:59 UTC
verified using netbeans-hudson-trunk-378-full.zip (070607)
on Ubuntu.
see issue 82405 for more details.
Comment 3 Peter Lam 2007-07-13 08:56:06 UTC
For the record, backporting has been verified on NB 5.5/5.5.1.