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 42446 - Cannot create anything from template on 'Source Packages' node
Summary: Cannot create anything from template on 'Source Packages' node
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 08:23 UTC by Marek Fukala
Modified: 2006-03-24 09:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.util.NoSuchElementException (4.57 KB, text/plain)
2004-04-26 08:23 UTC, Marek Fukala
Details
Exception when creating new java class from "Sources Packages" node (Web project) (2.91 KB, text/plain)
2004-04-29 13:50 UTC, Milan Kuchtiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2004-04-26 08:23:05 UTC
[20040425]
java.util.NoSuchElementException when trying to
create a servlet from template.
to reproduce:
1) create a webproject
2) try to create a servlet
Comment 1 Marek Fukala 2004-04-26 08:23:21 UTC
Created attachment 14550 [details]
java.util.NoSuchElementException
Comment 2 Marek Fukala 2004-04-26 08:29:08 UTC
The problem is much more wider ... you cannot create any object from
template when you invoke the New File action from Source Packages node
in web project. On the project node or Web Pages node it works fine. 
Comment 3 Milan Kuchtiak 2004-04-29 13:50:08 UTC
Created attachment 14616 [details]
Exception when creating new java class from "Sources Packages" node (Web project)
Comment 4 Milan Kuchtiak 2004-04-29 15:22:06 UTC
The exception is thrown where Java Class Wizard(s) is opened from Web
Project "Source Packages" node.
Comment 5 Milan Kuchtiak 2004-04-29 15:24:01 UTC
Is anything that should be done on web project side to fix that ?
Comment 6 Petr Hrebejk 2004-04-29 15:38:02 UTC
Fix ServletIterator, I'd guess.
Comment 7 Milan Kuchtiak 2004-05-21 15:15:23 UTC
Already fixed (in java module)
Comment 8 Marek Fukala 2004-07-07 16:15:34 UTC
verified in #20040704