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 102172 - Not possible to create Master Detailed Form from wizard into empty package
Summary: Not possible to create Master Detailed Form from wizard into empty package
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Binding (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 103947 (view as bug list)
Depends on:
Blocks: 99509
  Show dependency tree
 
Reported: 2007-04-23 15:30 UTC by Jana Maleckova
Modified: 2007-11-22 15:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
102172 (4.33 KB, text/plain)
2007-04-23 15:31 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-04-23 15:30:52 UTC
NetBeans IDE Dev (Build 070423)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
============
create project (doesn't matter if it is JDA or simple J2SE project)
Then invoke wizard for Master/Detailed Form and go through it. The package where
new form is generated, must be empty and hasn't contained any class before
(shortly - is also newly created)
Then plenty of exceptions are thrown and corrupted form is generated ...

StacktTrace:
============
org.netbeans.modules.form.PersistenceException: Missing attributes of component
element
	at
org.netbeans.modules.form.GandalfPersistenceManager.restoreComponent(GandalfPersistenceManager.java:572)
	at
org.netbeans.modules.form.GandalfPersistenceManager.loadComponent(GandalfPersistenceManager.java:843)
	at
org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:436)
	at
org.netbeans.modules.form.GandalfPersistenceManager.loadForm(GandalfPersistenceManager.java:232)
Comment 1 Jana Maleckova 2007-04-23 15:31:37 UTC
Created attachment 41465 [details]
102172
Comment 2 Jan Stola 2007-04-23 18:07:36 UTC
I have implemented a workaround/quick fix for this issue.

Modified file:
/src/org/netbeans/modules/form/j2ee/wizard/MasterDetailWizard.java rev. 1.3
Comment 3 Jana Maleckova 2007-04-24 12:00:19 UTC
NetBeans IDE Dev (Build 20070424-0751)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
============
In this case, description is different but the result is the same as was
described above (means, form is corrupted and the same exception is thrown)

It is sufficient to create two or three JDA projects with db connection in IDE
and nothing else
Comment 4 Jan Stola 2007-04-24 15:18:27 UTC
Marking as FIXED again. The new problem has nothing to do with the original 
one. Please, fill a separate issue for that.
Comment 5 Jana Maleckova 2007-04-24 15:35:45 UTC
ok ... now I didn't find any problem when Master Form is created so I will mark
this issue as verified and create another one for last described bug...
Comment 6 Jiri Vagner 2007-05-22 10:08:20 UTC
*** Issue 103947 has been marked as a duplicate of this issue. ***
Comment 7 Jana Maleckova 2007-09-05 08:00:40 UTC
*** Issue 114691 has been marked as a duplicate of this issue. ***
Comment 8 Jana Maleckova 2007-11-22 15:18:58 UTC
tested on NetBeans IDE 6.0 RC2 (Build 200711201000)