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 85383

Summary: REGRESSION - OOM - while renaming schema file
Product: xml Reporter: Ayub Khan <ayubskhan>
Component: Schema ToolsAssignee: Nam Nguyen <nnguyen>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: venetian blind loan app schema
OOM Error

Description Ayub Khan 2006-09-20 21:56:02 UTC
- download attached vb_test.xsd into some folder, then add this folder to favourites
(to see favourites, click menu Window->Favourites)
- Open this file vb_test.xsd in Source view.
- right click file vb_test.xsd, select 'Refactor' -> 'File Rename'
- You should see OutofMemory Error.

See attachment.
Comment 1 Ayub Khan 2006-09-20 21:57:33 UTC
Created attachment 34278 [details]
venetian blind loan app schema
Comment 2 Ayub Khan 2006-09-20 21:58:18 UTC
Created attachment 34279 [details]
OOM Error
Comment 3 Ayub Khan 2006-09-20 23:57:48 UTC
P3 -> P1, since its a regression, and I cannot rename any reasonably sized schema.
Comment 4 Nam Nguyen 2006-09-21 01:39:35 UTC
I can't reproduce this with today latest code change.  I did checked in some fix
for refactoring when model are opened outside projects as in this test case.
Ayub, could you try resync and verify this is fixed too?
Comment 5 Nam Nguyen 2006-09-21 20:18:58 UTC
I can't reproduce this with clean build and latest code on Linux either.
IMO, the file rename is a simple minimal-memory usage operation, especially with
single file.  Maybe the OOM error is just transient coincidence?
Close as WORKSFORME, plesae reopen if still reproducible.

Comment 6 Mikhail Matveev 2007-02-02 17:37:54 UTC
Doesn't exist in current build