This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 300499 - NPE when publishing
Summary: NPE when publishing
Status: CLOSED FIXED
Alias: None
Product: WTP ServerTools
Classification: WebTools
Component: jst.server (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Angel Vera CLA
QA Contact: Angel Vera CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-22 10:20 EST by Dimo Stoilov CLA
Modified: 2017-10-11 16:31 EDT (History)
1 user (show)

See Also:


Attachments
the NPE (954 bytes, text/plain)
2010-01-22 10:28 EST, Dimo Stoilov CLA
no flags Details
the whole error log (58.32 KB, application/octet-stream)
2010-01-22 10:31 EST, Dimo Stoilov CLA
no flags Details
v1.0 (985 bytes, patch)
2010-01-22 14:56 EST, Angel Vera CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimo Stoilov CLA 2010-01-22 10:20:26 EST
Build Identifier: I20100119-0800

I am doing a smke test of http://build.eclipse.org/webtools/committers/wtp-R3.2.0-I/20100121195406/I-3.2.0-20100121195406/ 

Reproducible: Always

Steps to Reproduce:
1) create web 2.5 project
2) create a servlet
3) hit the run on server menu
5) on finishing add and remove modules page, an error message appears saying there is a NPE - not every time reproducible (the NPE attached)
6) close the wizard and try Run On Server again - then publish succeeds.
7)Delete the projects - the same NPE appears again - reproducible every time
Comment 1 Dimo Stoilov CLA 2010-01-22 10:28:57 EST
Created attachment 156945 [details]
the NPE
Comment 2 Dimo Stoilov CLA 2010-01-22 10:31:44 EST
Created attachment 156948 [details]
the whole error log
Comment 3 Angel Vera CLA 2010-01-22 11:19:05 EST
This is a core scenario for server servertools increasing to P1
Comment 4 Angel Vera CLA 2010-01-22 14:55:49 EST
The patch suggested in bug# 282483 (attachment# 156898 [details]) fixes the NPE, but it also contain changes related to ServerView2 that I didn't experience during my testing. 

The dispose problem doesn't seem to be as critical as a NPE that prevents you to continue with the deployment of the application, so I am not committing the entire patch in bug# 282483. I am only committing the changes required to fix the NPE.
Comment 5 Angel Vera CLA 2010-01-22 14:56:38 EST
Created attachment 156989 [details]
v1.0
Comment 6 Angel Vera CLA 2010-01-22 15:18:55 EST
Changes committed and released to HEAD
Comment 7 Eclipse Genie CLA 2017-10-11 16:31:02 EDT
New Gerrit change created: https://git.eclipse.org/r/108861