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 73290 - Cannot create a new j2ee application
Summary: Cannot create a new j2ee application
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
: 73320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-06 15:03 UTC by ehucka
Modified: 2006-05-31 19:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (16.21 KB, text/plain)
2006-03-06 15:06 UTC, ehucka
Details
proposed patch (26.00 KB, patch)
2006-03-06 19:03 UTC, Lukas Jungmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2006-03-06 15:03:53 UTC
I've tried to create an j2ee application using registered GlassFish server.
Reproduction:

1. new project | j2ee application
2. change name
3. press Finish

Result: a few exceptions were thrown, the new project dialog was not closed
Comment 1 ehucka 2006-03-06 15:06:05 UTC
Created attachment 29134 [details]
ide log
Comment 2 Lukas Jungmann 2006-03-06 15:17:39 UTC
Caused by un-implemented application-client DD handling in AS plugin, moving there.

BTW: there are few workarounds:
-use JBoss instead of AS for now
-uncheck "Create Application Client module" checkbox in the new EAR wizard
Comment 3 ehucka 2006-03-06 15:40:13 UTC
I'm testing an ejb 3.0 tutorial, I cannot use the workarounds :).
Comment 4 Lukas Jungmann 2006-03-06 17:13:52 UTC
But nice try, wasn't it :)

"Create Application Client module" checkbox is not checked by default.

IDE: [6.3.06 17:49] Committing Files started
Checking in PanelOptionsVisual.form;
/cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/ui/wizards/PanelOptionsVisual.form,v
 <--  PanelOptionsVisual.form
new revision: 1.1.16.1.2.3; previous revision: 1.1.16.1.2.2
done
Checking in PanelOptionsVisual.java;
/cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/ui/wizards/PanelOptionsVisual.java,v
 <--  PanelOptionsVisual.java
new revision: 1.1.16.1.2.3; previous revision: 1.1.16.1.2.2
done
IDE: [6.3.06 17:49] Committing Files finished

Real issue is in AS plugin - see stack trace.
Comment 5 Vince Kraemer 2006-03-06 17:50:52 UTC
Why wasn't this tested before the check-in of app client? oh well.
Comment 6 Petr Jiricka 2006-03-06 18:19:40 UTC
Since the default was changed, I think this is a P2 now.
Comment 7 Vince Kraemer 2006-03-06 18:36:22 UTC
per Petr J's comment
Comment 8 Lukas Jungmann 2006-03-06 19:02:15 UTC
was tested with sources from appclient branch.
And attached patch, whose base works for me for more than half of a year, is
made from that...
Comment 9 Lukas Jungmann 2006-03-06 19:03:12 UTC
Created attachment 29140 [details]
proposed patch
Comment 10 Petr Blaha 2006-03-07 09:28:14 UTC
*** Issue 73320 has been marked as a duplicate of this issue. ***
Comment 11 Vince Kraemer 2006-03-07 17:00:16 UTC
this appears to be fixed in release55 branch.

pcw: please comment and correct me or mark as fixed...
Comment 12 _ pcw 2006-03-11 01:01:41 UTC
There was a 12-hour window on Monday, March 6th when the appclient project was
initially merged into the release55 branch, where I can imagine the build was in
such a state that this bug might occur, though I'm not exactly sure how.

However, on that Monday afternoon, I committed a series of changes that should
prevent this situation from happening and as of this writing, I cannot reproduce
this behavior.  Therefore, I'm closing this bug as FIXED.

On encountering any future exceptions in this area (or any other part of
sunddui, for that matter), please file new bugs with appropriate particulars.

Comment 13 ehucka 2006-05-09 20:14:48 UTC
verified