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.
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.
David, where is the exception? Could you please attach it? Thanks.
Created attachment 12933 [details] Exception
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.
Ok, this is Milan's code...
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 ***