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 36906 - EDITOR: web.xml vs. code completion vs. save
Summary: EDITOR: web.xml vs. code completion vs. save
Status: RESOLVED DUPLICATE of bug 26477
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-29 16:03 UTC by David Kaspar
Modified: 2006-06-05 00:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.68 KB, text/plain)
2004-01-16 13:07 UTC, David Kaspar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2003-10-29 16:03:52 UTC
How to reproduce:
1) Create Web Module
2) Open web.xml in Source Editor
3) If the file is modified, save it
4) Set cursor the end of line before line with
"</webapp>" text
5) Press Enter
6) Type "<taglib>" text and press Enter
7) Type "<tag" text and press Ctrl+Space to invoke
code completion
8) NOTE - Code completion appears and tag is completed
9) Press Escape to hide code completion
10) Press Ctrl+S to save file
11) ERROR - Exception dialog is shown - see
attachment for stack trace

NOTE - Follow "how-to" step by step. If you do any
mistake (typo, code completion invocation,
different steps order, ...), start to reproduce
from 2. step.
Comment 1 Petr Jiricka 2004-01-16 10:24:27 UTC
David, where is the exception? Could you please attach it? Thanks.
Comment 2 David Kaspar 2004-01-16 13:07:56 UTC
Created attachment 12933 [details]
Exception
Comment 3 David Kaspar 2004-01-16 13:11:16 UTC
Sorry for missing exception - sometimes it happens to me when I am
filing many bugs :-)

NOTE - Step 8. is not working for now - probably this is a bug too.
Comment 4 Petr Jiricka 2004-01-16 17:15:57 UTC
Ok, this is Milan's code...
Comment 5 Milan Kuchtiak 2004-01-20 17:01:52 UTC
I couldn't reproduce the bug with Servlet2.3 web.xml files.

The code completion for XML schema (Servlet2.4) isn't working.
There is an issue 26477 describing that.

*** This issue has been marked as a duplicate of 26477 ***