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 41869

Summary: Problems when services from OptionalDMFactory are not provided
Product: serverplugins Reporter: Nam Nguyen <nnguyen>
Component: InfrastructureAssignee: Petr Hejl <phejl>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 55325    

Description Nam Nguyen 2004-04-08 20:26:53 UTC
Typically if StartServer is not provided we would
get NPE in various places.  The correct behaviour
is to check for null whereever StartServer is used
and decide what should be default behavior.  For
example if StartServer is truely optional, when it
is not provided IDE should assume the server is
running (somehow started manually) and continue
with deployment.  In case this assumption turned
false, exception need to be handle gracefully.

A thourough review for other optional services
like IncrementalDeploy, FindJSPServlet and
TargetModuleIDResolver should also be done.
Comment 1 Petr Jiricka 2004-04-09 12:20:39 UTC
Nam, does this somehow manifest itself to the user currently?
Comment 2 Nam Nguyen 2004-04-09 17:53:09 UTC
This bug would not affect any current plugins.  It just make
development of new plugin in initial phase harder where people trying
out their initial plugin that does not yet have an implemmentation of
StartServer. 
Comment 3 Petr Jiricka 2004-10-07 18:54:45 UTC
Since this does not affect current users and no additional plugins are
planned at this point, can this be downgraded to P4?
Comment 4 Nam Nguyen 2004-10-29 15:27:34 UTC
Will solve in 4.1 as part of effort to simplify plugin development.
Comment 5 Pavel Buzek 2005-02-21 21:49:53 UTC
does not effect current plugins -> marking as enhancement for promoF
when we want to add support for more plugins
Comment 6 Petr Blaha 2006-03-13 13:50:57 UTC
TM 5.0 -> TBD
Comment 7 Vince Kraemer 2009-02-13 19:40:21 UTC
this is really a TASK item...

nnguyen - please resolve or re-assign
Comment 8 Nam Nguyen 2011-11-27 19:22:17 UTC
Reassign to default.  The request was too old and code has changed, not sure if this is still applicable in current context.  I recommend new reviewer close as won't fix.