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 47155 - NPE from org.netbeans.modules.web.project.ProjectWebModuleProvider.findWebModule
Summary: NPE from org.netbeans.modules.web.project.ProjectWebModuleProvider.findWebModule
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2004-08-12 14:35 UTC by Marian Mirilovic
Modified: 2006-03-24 09:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException stack-trace (3.01 KB, text/plain)
2004-08-12 14:36 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-08-12 14:35:55 UTC
[nb_dev](200408111800), [jdk1.5.0](b62)

It's reproducible 100% in our automated
Performance test suite (on all oses/platforms
LinRH9,JDS2,Win2K,WinXP,Sol9).

I can't reproduce it manually...

Project is lcoated in cvs
 nb_all/performance/test/qa-functional/data/PerformanceTestWebApplication/

this project is opened internally by xtest 
org.netbeans.junit.ide.ProjectSupport.openProject(System.getProperty("xtest.data")+"/PerformanceTestWebApplication");


Test runs:
- open project
- try to invoke popup menu on Web Pages | Test.jsp
file
-> NullPointerException rises (see attachment)
Comment 1 Marian Mirilovic 2004-08-12 14:36:22 UTC
Created attachment 16776 [details]
NullPointerException stack-trace
Comment 2 Milan Kuchtiak 2004-08-12 17:42:52 UTC
Pavle, you're the best person to look at that.
Comment 3 Pavel Buzek 2004-08-16 23:54:22 UTC
Marian, I cannot run the tests, I am getting:

BUILD FAILED
E:\nb_all\nbbuild\templates\xtest.xml:46: Following error occured
while executing this line
E:\nb_all\xtest\lib\module_harness.xml:354: Following error occured
while executing this line
E:\nb_all\performance\test\build-unit.xml:24: Cannot find
E:\nbextra\qa\performance\dist/build-performance-tests.xml imported
from E:\nb_all\performance\test\build-unit.xml


but I think the NPE is fixed. I am not sure why but one of the
folders, src or web, was null. Try how it works now and if you see
more problems let me know how to run these tests.

Comment 4 Marian Mirilovic 2004-08-26 13:29:26 UTC
verified