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 75253 - I18N - exception when starting in ja locale
Summary: I18N - exception when starting in ja locale
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 18:08 UTC by Ken Frank
Modified: 2006-06-19 17:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (8.34 KB, text/plain)
2006-04-19 18:10 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2006-04-19 18:08:22 UTC
Using pseudo localized nb5.5 and running in ja locale, though this is not
specific ja locale situation.

see attached exception from the log file.

the issue seems to be with 2 files in userdir
config/org-netbeans-api-project-libraries/Libraries/
JavaDB.xml or JavaEE5.xml, 
that have mbyte in them, that are from 2 translated messages from 
org-netbeans-modules-j2ee-sun-appsrv81 :JAVAEE5LIBRARYNAME=Toplink Essentials
org-netbeans-modules-j2ee-sun-appsrv81:JAVADB_DRIVER_LABEL=Java DB Driver

so that is why am filing under serverplugins; please change subcat if needed.

I am guessing that mbyte in these 2 xml files is either not written with correct
encoding or read using correct encoding.
  solution could  be to fix that or to not allow those words to be
 xlated (put #NOI18N comment) or not have them in the xml files or have them
hardcoded in xml files
if not something user needs to see.
 
 ((  its true Toplink Essentials might not be xlated but
Java DB Driver could be.
Comment 1 Ken Frank 2006-04-19 18:10:01 UTC
Created attachment 29948 [details]
exception
Comment 2 _ ludo 2006-04-24 21:35:44 UTC
fixed
Checking in RegisterPointbase.java;
/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/db/RegisterPointbase.java,v
 <--  RegisterPointbase.java
new revision: 1.4.6.5.2.6; previous revision: 1.4.6.5.2.5
done

Now using a bundle entry for this name in the xml definition of the library.
Comment 3 sunlit 2006-06-19 17:26:08 UTC
verified in build milestone14
Comment 4 sunlit 2006-06-19 17:26:28 UTC
verified in build milestone14