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

Summary: NullPointer exception when IDE started or I dblclick on WEB module.
Product: javaee Reporter: kxalex <kxalex>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 38175, 38318, 38386    
Bug Blocks:    
Attachments: ide.log
ide.log
Test project
ide.log - deployment NullPointer exception

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.