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 79115 - I18N - Deleteting locale makes an exception
Summary: I18N - Deleteting locale makes an exception
Status: RESOLVED DUPLICATE of bug 63321
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-06-26 16:34 UTC by Jana Maleckova
Modified: 2007-09-11 14:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
79115 (2.70 KB, application/octet-stream)
2006-06-26 16:35 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2006-06-26 16:34:32 UTC
Development 200606251800 of NetBeans dev (6.0)
JDK 1.6.0, VM b84

Description:
============
Project with jFrame (not in default package). Internationalization is set on.
Then If I add locale. This new locale is created in appropriate dir. Open this
local in NB or edit it and then delete it. An exception occures

StackTrace:
===========
Annotation: The document Bundle(ca_ES - Catalan (Spain)) could not be loaded.
java.io.FileNotFoundException:
E:\testing_NB\bundle\src\bund\Bundle_ca_ES.properties (The system cannot find
the file specified)
	at
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:107)
	at
org.netbeans.modules.masterfs.MasterFileObject.getInputStream(MasterFileObject.java:140)
	at
org.netbeans.modules.properties.PropertiesEditorSupport$Environment.inputStream(PropertiesEditorSupport.java:691)
Comment 1 Jana Maleckova 2006-06-26 16:35:13 UTC
Created attachment 31388 [details]
79115
Comment 2 Jan Stola 2006-09-06 16:52:55 UTC
I wasn't able to reproduce this issue without form editor (e.g. with the 
properties files only). So, it seems to be really form editor's issue.
I was able to reproduce it with the following steps:

1. Create new JFrame and make sure it is auto-internationalized.
2. Add JButton and change its text => a bundle is created.
3. Add new locale into the bundle.
4. Open the added locale and edit its content.
5. Delete the locale.
Comment 3 Tomas Stupka 2007-09-11 14:14:21 UTC
looks like issue #63321

*** This issue has been marked as a duplicate of 63321 ***