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 59686 - I18N - nb41 doesn't work if you open j2ee editor in different locale at previous session.
Summary: I18N - nb41 doesn't work if you open j2ee editor in different locale at previ...
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 4.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-06-07 08:48 UTC by hatakyon
Modified: 2009-11-10 06:49 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (120.41 KB, text/plain)
2005-11-08 12:32 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hatakyon 2005-06-07 08:48:46 UTC
[build 200506061930 ML for ja & zh_CN]

0. install nb4.1 ML version and remove configuration directory,~/.netbeans/4.1  .
1. invoke netbean4.1 in ja locale
    % bin/netbeans -locale ja
2. Add "AppServer 8.1" by Server Manager
3. Create a EnterPrise Appilcation by New Project Wizard  
4. Expand EnterPrisePllication-EJBModule at Project window
5. Expand Configuraton File  
6. Select ejb-jar.xml and display j2ee editor window for ejb-jar.xml
7. select "CMP Relationships" button
7. just quit nb4.1
8. invoke nb4.1 in C locale
    % bin/netbeans -locale C
9. nb4.1 does not come up by the following exception,

INFORMATIONAL *********** Exception occurred ************ at 4:15 PM on Jun 7, 2005
java.lang.IllegalStateException: [Winsys] TopComponent MVCTC[name=ejb-jar.xml,
peer=[model=current=org.netbeans.modules.j2ee.ddloaders.mul\tiview.EjbJarMultiViewDataObject$DDView@1e70e12]]
throws runtime exception from its componentOpened() method. Repair it!
[catch] at
org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:254)
        at
org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:876)
        at
org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:583)
        at
org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:249)
        at
org.netbeans.core.windows.PersistenceHandler.initModeFromConfig(PersistenceHandler.java:321)
        at
org.netbeans.core.windows.PersistenceHandler.getModeFromConfig(PersistenceHandler.java:253)
        at
org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:136)
        at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:39)
        at org.netbeans.core.Main$3.run(Main.java:264)




----------------------------
to resolve this situation...

10. invoke nb41 in ja locale again,
11. close ejb-jar.xml window.
12. quit nb4.1
13. invoke nb41 in C locale again. it works !
Comment 1 Pavel Buzek 2005-07-22 17:04:55 UTC
looks like problem in ddloaders (or xml/multiview?)
Comment 2 agctools 2005-07-23 03:59:24 UTC
It is an over-translation bug. see issue 61086.

these messages are used both in UI and in function (ejb-jar.xml). Two messages
are suggested, one for UI and another for functional.

the current workaround is to restore the message back to english.
Comment 3 Pavel Fiala 2005-08-04 08:59:40 UTC
Detailed analysis of the issue requires special settings of the development
environment.
Comment 4 Petr Blaha 2005-10-12 17:27:02 UTC
Snapshot from e-mail communication with Ken Frank (I18N guru):
As to p3 vs waive, please waive if needed, but leave at p2 since we 
> feel its justified to be there from i18n view.
Comment 5 Milan Kuchtiak 2005-10-31 16:47:59 UTC
Does this bug still occur after 61086 fix ?
Comment 6 Marek Grummich 2005-11-07 10:30:40 UTC
Hatakyon, could you please verify this issue if it does still occure in the
latest dev build? Thanks!
Comment 7 Marek Grummich 2005-11-08 12:32:16 UTC
Created attachment 26700 [details]
messages.log
Comment 8 Marek Grummich 2005-11-08 12:36:14 UTC
Build 200511031900 
I learned, Hatakyon doesn't work for NetBeans, so I tried to reproduce this
issue instead of him and I WAS succesfull! Please, look at an attached messages.log.
Comment 9 hatakyon 2005-11-11 01:38:56 UTC
Hi mgrummich,
Masaki is taking care of this issue instead of me (hatakyon).
He is new responsible engineer for Japanese localization.
Masaki-san, yoroshiku !!
Comment 11 Masaki Katakai 2006-01-13 04:57:12 UTC
Verified the fix on 5.0 ML build, it works fine.