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 53499 - NPE from j2ee deployment
Summary: NPE from j2ee deployment
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-17 12:15 UTC by Jiri Skrivanek
Modified: 2006-03-24 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack traces (6.82 KB, text/plain)
2005-01-17 12:16 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2005-01-17 12:15:55 UTC
The commit validation suite started to failed in
build 20050117-1022. It throws to
NullPointerExceptions (look at attached stack
traces). The only related commit at that time was
this:

j2ee/genericserver/src/org/netbeans/modules/j2ee/genericserver/:
	ide/GSJ2eePlatformFactory.java, resources/layer.xml:
 Minor changes to generic server properties

To reproduce one of NPE:

- create a new web application
- open project properties of this application
- in category 'Run|Running Project' select Bundled
Tomcat in server combo box and you get 

java.lang.NullPointerException: Passed null to
FileOwnerQuery.getOwner(FileObject)

The second NPE is reproducable only in automated
tests when it tries to open popup menu on project
root node:

java.lang.NullPointerException
	at
org.netbeans.modules.j2ee.deployment.devmodules.spi.J2eeModuleProvider.getServerDebugInfo(J2eeModuleProvider.java:88)

Build 20050117-1022.
Comment 1 Jiri Skrivanek 2005-01-17 12:16:41 UTC
Created attachment 19723 [details]
Stack traces
Comment 2 Martin Adamek 2005-01-18 07:15:06 UTC
Fixed. Generic server instance occured in Web project and it dhoul not.
Comment 3 Jiri Skrivanek 2005-01-18 09:49:46 UTC
Verified.