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

Summary: Cannot create Servlet in freeform
Product: javaee Reporter: zikmund <zikmund>
Component: Web FreeformAssignee: Petr Pisl <ppisl>
Status: CLOSED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Exception

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.