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 63321

Summary: Document could not be loaded warning when deleting locale
Product: utilities Reporter: Jiri Prox <jiriprox>
Component: PropertiesAssignee: issues@utilities <issues>
Status: VERIFIED FIXED    
Severity: blocker Keywords: JDK_SPECIFIC
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: callstack of the exception

Description Jiri Prox 2005-08-30 13:50:43 UTC
NB 4.2 dev build 20050830
JDK 1.5.0_04

The 'Document XXX could not be loaded' warning when deleting locale form the
properies node. (XXX is the name of the locale file)

Steps to reproduce:
1) create new properies file (default locale wil be created automaticaly)
2) add some locale
3) open new locale file in editor
4) go to appropriate node in explorer and delete it
The locale is deleted correctly, but warning is poped up.
Comment 1 Marian Petras 2005-10-20 15:07:52 UTC
I could not reproduce this bug with JDK 1.4.2_09, NB 5.0 dev build 051019.
But I COULD reproduce this bug with JDK 1.5.0_05, the same build.
This bug is JDK-specific.

Confirmed, accepted.
Comment 2 Marian Petras 2005-10-20 15:11:12 UTC
Created attachment 26177 [details]
callstack of the exception
Comment 3 Marian Petras 2007-09-06 23:14:17 UTC
Still reproducible in build 070905, JDK 1.5.0_12, Linux (x86), 32bit.
Comment 4 Marian Petras 2007-09-06 23:30:22 UTC
*** Issue 67393 has been marked as a duplicate of this issue. ***
Comment 5 Maros Sandor 2007-09-07 12:42:29 UTC
I cannot reproduce it now on Windows XP and JDK 1.5.0_12.
Comment 6 Tomas Stupka 2007-09-10 13:50:03 UTC
fixed

Checking in StructHandler.java;
/cvs/properties/src/org/netbeans/modules/properties/StructHandler.java,v  <--  StructHandler.java
new revision: 1.35; previous revision: 1.34
done
Comment 7 Tomas Stupka 2007-09-11 14:14:20 UTC
*** Issue 79115 has been marked as a duplicate of this issue. ***
Comment 8 Jiri Prox 2007-10-04 12:48:33 UTC
v.