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 56912 - Cannot create Servlet in freeform
Summary: Cannot create Servlet in freeform
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Freeform (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-03-24 10:17 UTC by zikmund
Modified: 2006-03-24 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (19.05 KB, text/plain)
2005-03-24 10:19 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-03-24 10:17:09 UTC
Build 20050324-0408

1) Have Web freeform
2) Create servlet in Source root
3) EXCEPTION -- see attachment
Comment 1 zikmund 2005-03-24 10:19:01 UTC
Created attachment 21089 [details]
Exception
Comment 2 zikmund 2005-03-24 10:20:19 UTC
BTW: Servlet java file is created, but it is empty.
Comment 3 Radko Najman 2005-03-24 10:52:27 UTC
Milane, could you evaluate if it can be servlet wizard issue, please? If it is
not, it seems to be related to the recent freeform wizard changes, so feel free
to reassign to ppisl. It works fine in build #200503141900.
Comment 4 Milan Kuchtiak 2005-03-24 13:25:03 UTC
It's likely a problem in JavaDataObject.
I have the same problem with java class wizard (in web free form project)
Comment 5 zikmund 2005-03-24 13:31:27 UTC
Java Class works fine - it fails only after you first create Servlet.

Creation of Java Class into newly created WebFreeform works fine.
Comment 6 Milan Kuchtiak 2005-03-24 14:09:01 UTC
The ClassPath for newly created JavaDataObject is empty at the moment servlet is
being created.
It is likely related with Petr's changes. 
Comment 7 Petr Pisl 2005-03-30 09:01:29 UTC
Fixed in the trunk.
Comment 8 zikmund 2005-03-31 11:28:40 UTC
Verified in 200503301800.