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 178976 - Swing Master/Detail form wizard is completely broken in Maven project
Summary: Swing Master/Detail form wizard is completely broken in Maven project
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-22 06:30 UTC by Petr Jiricka
Modified: 2010-04-22 12:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception during Master/Detail form creation in Maven project (7.57 KB, text/plain)
2009-12-22 06:30 UTC, Petr Jiricka
Details
Finally got both OutOfMemory and Assertion (16.03 KB, text/plain)
2010-04-13 11:25 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2009-12-22 06:30:34 UTC
Created attachment 92858 [details]
Exception during Master/Detail form creation in Maven project

1. Create a Maven project
2. Change source/binary level to 1.5
3. Create Master/Detail sample form

The generated source is broken, the project is uncompilable, there is an exception during creation (attaching).
Comment 1 Milos Kleint 2009-12-22 06:44:11 UTC
reassigning to persistence, please make sure the wizard is instantiating the resulting content off-AWT.
Comment 2 Sergey Petrov 2009-12-22 06:57:46 UTC
Petr, do you know if this wizard belong to guibuilder module/responsibility?
Comment 3 Sergey Petrov 2009-12-22 07:02:31 UTC
I found it in form.j2ee module, is it supported by jee or by form owners?
Comment 4 Petr Jiricka 2009-12-22 08:02:08 UTC
Yes, it is a gui builder issue.
Comment 5 Sergey Petrov 2010-04-13 11:19:20 UTC
Petr, what's your opinion about next use case
I have fresh ide, create maven j2se and create master/detail. It hangs for at least 10 minutes, finally I have out of memory(once, and now I'm waiting for 11+ minutes, not sure what will be in result), should it be handled in this issue of new one need to be filed? should it be P2?
Comment 6 Sergey Petrov 2010-04-13 11:25:52 UTC
Created attachment 97170 [details]
Finally got both OutOfMemory and Assertion
Comment 7 Petr Jiricka 2010-04-13 11:26:23 UTC
Looks like it should be a separate P2 issue.
Comment 8 Sergey Petrov 2010-04-13 11:33:08 UTC
ok, filed # 183992
Comment 9 Jan Stola 2010-04-22 12:42:01 UTC
Fixed - no exception is thrown by now and the generated code is compilable. The first creation (with the clean userdir) still can take around 11m, but this is not a problem of GUI builder (Maven support downloads and parses indexes from several Maven repositories during that time).

Modified files:
http://hg.netbeans.org/cdev/rev/d2834b6ffa8c
http://hg.netbeans.org/cdev/rev/3db1c808d478