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 116498 - I18N - no diagram appear- windows xp
Summary: I18N - no diagram appear- windows xp
Status: RESOLVED DUPLICATE of bug 91495
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: Other Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-09-24 12:21 UTC by waleed_cs2000
Modified: 2008-05-23 20:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide logfile and jesture file (83.52 KB, application/octet-stream)
2007-10-01 22:55 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description waleed_cs2000 2007-09-24 12:21:49 UTC
hi
I have installed netbeans with jdk 6 on a notebook , when I try to create new uml project , nothing appears in the
diagram editor , the tools of(class,interface,...) appears at its toolbar , but when I drag it to diagram , nothing
happen,and the mous becomes in the traffic stopping sign. also the diagram layout background isn't in the normal color
of any editor (white), it seems like the editor layout has failed to be added.
Comment 1 Peter Lam 2007-09-24 17:21:47 UTC
Thanks for filing the issue. What build are you using? Could you please provide steps to reproduce the issue too.
Comment 2 waleed_cs2000 2007-09-25 10:18:51 UTC
hi 
I have faced the problem on netbeans 6 Milestone 10 , and on beta 1 also, does this utility need another prerequisits
rather than jdk? and the steps is just I said before :
1-open the netbeans (class diagram for instance)
2-open new UML project with its defaults
3-the tool bars appear, but with blank diagram, and no ability to add any UML elements

I'm using windows xp sp2
Comment 3 Peter Lam 2007-09-25 17:25:46 UTC
Thanks for your prompt response. I have tried on windows xp sp2 on notebook and desktop systems with milestone 10 and
beta 1 but unable to reproduce the problem. I read your original description carefully that you indicated you drag the
modeling elements to the diagram but nothing happened. I hope this is not the situation but the UML tool is a bit
different than the other graphics tool in NB ide. The UML tool currently does not support drag-and-drop. Users have to
click on the icon from the modeling palette, eg, Class, Interface, etc., to select the element and then click the left
mouse button in an area of the diagram to place. Once you click on the palette icon, you're in the multi-creation mode
so you can keep clicking in the diagram to create multiple icons in a single selection. You can then press Esc or right
click to deselect the selection. Please confirm if this is how you try to add UML elements.
Comment 4 Peter Lam 2007-10-01 22:49:47 UTC
Here's additional detail from user. Looks like this is an i18n issue. I'll mark it as such.

I found some article that applies to my problem, here is the link:
http://www.codefund.com/506/null-pointer-exceptions-when-using-uml-module-in-jse8-5060088.shtm

it seems that locale is the problem, my locale is arabic egypt, if it's so , how can I solve the problem?
I tried to change the locale in windows control panel to en-US, and tried netbeans UML after that and it worked fine ,
and all diagrams appears fine.please check that with development team !

Comment 5 Peter Lam 2007-10-01 22:55:25 UTC
Created attachment 49944 [details]
ide logfile and jesture file
Comment 6 Yang Su 2007-10-01 23:01:15 UTC

*** This issue has been marked as a duplicate of 91495 ***
Comment 7 Peter Lam 2007-10-02 00:27:41 UTC
Once set the locale to ar_EG, I was able to reproduce. Yes, this is a known issue.
Comment 8 Peter Lam 2008-05-23 20:22:44 UTC
In ar_EG locale is the same as in ar_SA locale, here's the result of verification in NB 6.5 for both ar_EG and ar_SA
locales.

# work in diagram drawing area for the currently supported 5 diagram types: activity, class, sequence, state, use case
# Arabic characters can be entered in element names, attributes, operations
# typing in invocation & signal elelements in activity diagram is not visible till Enter is pressed then typed text
showed up
# typing in comment element in any diagram type is not visible till Enter to show up