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 161501

Summary: netbeans export svg uml diagram bug with openjdk
Product: uml Reporter: besoa <besoa>
Component: OutputAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description besoa 2009-03-30 17:57:22 UTC
My system configuration:
 up to date Kubuntu 8.10 with KDE 4.1.4
 NetBeans IDE 6.1 (Build 080905)
 Java: 1.6.0_0; OpenJDK Client VM 1.6.0_0-b12
 System: Linux version 2.6.27-14-generic running on i386; UTF-8; fr_FR (nb)

Description:
With java-openjdk, Netbeans (6.1) does not export UML state diagram correctly into SVG format. The shapes and arrows in
the diagram seem to be correctely rendered but the texts are moved outside the image bounding box. Export in JPG or PNG
are OK.
In inkscape, one can correct the SVG manually by flipping vertically the texts twice: first, flip the group of text, and
second, flip individually. see file "test-openjdk.svg" http://launchpadlibrarian.net/24460382/test-openjdk.svg

Workaround: use sun-java6 as default jdk and export. see file "test-sun-java6.svg"
http://launchpadlibrarian.net/24460446/test-sun-java6.svg

Best regards.