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 102197 - I18N - exception and can't open desktop project if project name has multibyte
Summary: I18N - exception and can't open desktop project if project name has multibyte
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-04-23 17:06 UTC by Ken Frank
Modified: 2007-07-06 20:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (7.84 KB, text/plain)
2007-04-23 17:51 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-04-23 17:06:19 UTC
am in ja locale and create a desktop application project, with multibyte as part
of the project name - this is legal to do in netbeans, and works ok creating,
for example a j2se project.

when create the desktop application project 
1.  there is exception, see attached, the message Invalid byte 2 of 2-byte UTF-8
sequence usually refers to an encoding handling situation.
(j2se projects already have implemented the new project encoding property and
handling functionality; I don't know if this is related to that)

2. popup window shows "some errors occurred when trying to load the form file.
The form cannot be opened"

3. project is not seen in explorer but the form area  is on the editor but is blank
but there is java code in the editor in source view.

4. palette is not shown.
Comment 1 Ken Frank 2007-04-23 17:51:44 UTC
Created attachment 41485 [details]
exception
Comment 2 Tomas Pavek 2007-05-16 00:00:35 UTC
Will make sure this works the same way as in j2se project.
Comment 3 Ken Frank 2007-05-31 17:28:57 UTC
The java code shows the multibyte incorrectly also, which could be related to
the encoding
situation mentioned in other description.

ken.frank@sun.com
Comment 4 Tomas Pavek 2007-06-29 15:20:13 UTC
Need to consistently apply encoding when creating the desktop application project from template.
Should be fixed now.

/cvs/form/swingapp/appshells/CRUDShellApp/nbproject/build-impl.xml
new revision: 1.5; previous revision: 1.4
/cvs/form/swingapp/appshells/CRUDShellApp/nbproject/project.properties
new revision: 1.4; previous revision: 1.3
/cvs/form/swingapp/appshells/BasicShellApp/nbproject/build-impl.xml
new revision: 1.6; previous revision: 1.5
/cvs/form/swingapp/appshells/BasicShellApp/nbproject/project.properties
new revision: 1.4; previous revision: 1.3
/cvs/form/swingapp/appshells/BasicShellApp/nbproject/genfiles.properties
new revision: 1.6; previous revision: 1.5
/cvs/form/swingapp/src/org/netbeans/modules/swingapp/templates/NewAppWizardIterator.java
new revision: 1.8; previous revision: 1.7
/cvs/form/swingapp/src/org/netbeans/modules/swingapp/templates/AppProjectGenerator.java
new revision: 1.3; previous revision: 1.2
/cvs/form/swingapp/src/org/netbeans/modules/swingapp/resources/CRUDShellApp.zip
new revision: 1.15; previous revision: 1.14
/cvs/form/swingapp/src/org/netbeans/modules/swingapp/resources/BasicShellApp.zip
new revision: 1.9; previous revision: 1.8
/cvs/form/j2ee/nbproject/project.xml
new revision: 1.5; previous revision: 1.4
/cvs/form/j2ee/src/org/netbeans/modules/form/j2ee/wizard/MasterDetailGenerator.java
new revision: 1.7; previous revision: 1.6
Comment 5 Ken Frank 2007-07-06 20:23:24 UTC
v