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 212567 - org.netbeans.modules.form.PersistenceException: Cannot write to form file
Summary: org.netbeans.modules.form.PersistenceException: Cannot write to form file
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 08:48 UTC by MackSix
Modified: 2015-02-04 03:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188008


Attachments
stacktrace (1.03 KB, text/plain)
2012-05-16 08:48 UTC, MackSix
Details
Project to use for reproduction. (16.43 KB, application/zip)
2012-05-16 09:19 UTC, MackSix
Details
stacktrace (4.00 KB, text/plain)
2012-05-16 09:42 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-05-16 08:48:39 UTC
Build: NetBeans IDE Dev (Build 201205140400)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows Vista

User Comments:
MackSix: Moving a JPanel and JFrame from together back and forth from aa.bb to aa and back again and this Exception is thrown.




Stacktrace: 
org.netbeans.modules.form.PersistenceException: Cannot write to form file
   at org.netbeans.modules.form.GandalfPersistenceManager.saveForm(GandalfPersistenceManager.java:3207)
   at org.netbeans.modules.form.FormEditor.saveFormData(FormEditor.java:413)
   at org.netbeans.modules.form.refactoring.FormRefactoringUpdate.updateForm(FormRefactoringUpdate.java:536)
   at org.netbeans.modules.form.refactoring.FormRefactoringUpdate.formMove2(FormRefactoringUpdate.java:369)
   at org.netbeans.modules.form.refactoring.FormRefactoringUpdate.formMove(FormRefactoringUpdate.java:357)
   at org.netbeans.modules.form.refactoring.FormRefactoringUpdate.performChange(FormRefactoringUpdate.java:275)
Comment 1 MackSix 2012-05-16 08:48:46 UTC
Created attachment 119506 [details]
stacktrace
Comment 2 MackSix 2012-05-16 09:19:39 UTC
Created attachment 119511 [details]
Project to use for reproduction.

Move both files together into aa then aa.bb and then back with refactoring and this happens after a few moves. See attached file.

Product Version: NetBeans IDE Dev (Build 201205140400)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 3 MackSix 2012-05-16 09:42:03 UTC
Created attachment 119512 [details]
stacktrace

Did some Undos and Redos this time and it caused this.
Comment 4 Quality Engineering 2015-02-04 03:27:34 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.