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 38240 - NullPointer exception when IDE started or I dblclick on WEB module.
Summary: NullPointer exception when IDE started or I dblclick on WEB module.
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on: 38175 38318 38386
Blocks:
  Show dependency tree
 
Reported: 2003-12-19 13:52 UTC by kxalex
Modified: 2004-01-12 18:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (17.98 KB, text/plain)
2003-12-19 13:54 UTC, kxalex
Details
ide.log (66.31 KB, text/plain)
2003-12-22 17:34 UTC, kxalex
Details
Test project (2.15 KB, application/octet-stream)
2003-12-22 17:35 UTC, kxalex
Details
ide.log - deployment NullPointer exception (29.87 KB, text/plain)
2003-12-22 17:51 UTC, kxalex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kxalex 2003-12-19 13:52:58 UTC
I got window with NullPointer exception when IDE
started or I dblclick on WEB module.
Comment 1 kxalex 2003-12-19 13:54:35 UTC
Created attachment 12642 [details]
ide.log
Comment 2 Petr Jiricka 2003-12-19 16:47:16 UTC
Looks like the root cause is in the deployment descriptor handling.
Assigning to Milan.
Comment 3 Milan Kuchtiak 2003-12-22 09:23:09 UTC
I changed the code, because the actual SAXException was changed to
IOException and the exception message was swalloved in the code.

Please, try to use the latest build with your web module.
It would be also useful to attach the test case - web module that
caused the exception. 
There is an indication that something was wrong with web.xml file.
Comment 4 kxalex 2003-12-22 17:32:46 UTC
When IDE started NullPointer exception was disappear, but when I
create test project, when add to it WEB module, switch to project
window (Window->Project) and dbl click on WEB module, I got exception
again (but another java.lang.AssertionError).
Comment 5 kxalex 2003-12-22 17:34:49 UTC
Created attachment 12654 [details]
ide.log
Comment 6 kxalex 2003-12-22 17:35:49 UTC
Created attachment 12655 [details]
Test project
Comment 7 kxalex 2003-12-22 17:50:48 UTC
I try execute WEB module and got NullPointer exception, and webapp
starter tell me "FAIL - Application already exists at path /html".
ide.log - attached
Comment 8 kxalex 2003-12-22 17:51:34 UTC
Created attachment 12657 [details]
ide.log - deployment NullPointer exception
Comment 9 Milan Kuchtiak 2004-01-05 09:02:53 UTC
The last exception is the same as the exception from 38175.  
Comment 10 Milan Kuchtiak 2004-01-05 13:33:39 UTC
Now it seems that 38175 has already been fixed.
However, there are still 2 issues :

1. Problem with web module execution when Tomcat is running (38318)
2. AssertionError when double click on web module in project view (38386)

I made this issue depending on 38318 and 38386.
Comment 11 Milan Kuchtiak 2004-01-05 13:39:10 UTC
I left the dependancy on 38375 that seems to be resolved already.
Comment 12 Milan Kuchtiak 2004-01-12 12:18:56 UTC
It seems that only 38386 persists. The 38318,38175 were fixed/closed.
I am changing the status to FIXED as the primary issue has already
been fised.