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 148224 - NPE and PrivilegedActionException while running the tests
Summary: NPE and PrivilegedActionException while running the tests
Status: CLOSED INVALID
Alias: None
Product: soa
Classification: Unclassified
Component: JBI Test Driver (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 14:00 UTC by senthilprabhu
Modified: 2009-05-11 18:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test Output File (168.21 KB, text/plain)
2008-09-24 14:04 UTC, senthilprabhu
Details
Project Zip (670.21 KB, application/x-compressed)
2008-09-24 14:08 UTC, senthilprabhu
Details
IDE Output Screenshot (356.11 KB, image/jpeg)
2008-09-24 14:15 UTC, senthilprabhu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description senthilprabhu 2008-09-24 14:00:20 UTC
I am getting NPE and PrivilegedActionException while running the tests from both IDE and commandline.
This issue is causing a lot of BPEL automated tests to fail.

I am able to consistently reproduce this issue on 15th and 18th September GFESB builds (On different machines aswell)

Steps to reproduce:
-------------------
1. Deploy the attached project "ScopeTerminationBpel" & "ScopeTerminationJbi"
2. Rt Click on the "ScopeTerminationJbi" project in the IDE and click "Test"

Expected Output:
----------------
All the tests should run and all of them should PASS

Actual Output:
--------------
NPE and PrivilegedActionException during the test runs and tests 
FAIL because of it

The above failed tests PASS when run individually.

I have attached the test output file which shows the NPE and PrivilegedActionException while running the tests.

I have also attached the screenshot of the IDE test output.
Comment 1 senthilprabhu 2008-09-24 14:04:25 UTC
Created attachment 70461 [details]
Test Output File
Comment 2 senthilprabhu 2008-09-24 14:08:25 UTC
Created attachment 70463 [details]
Project Zip
Comment 3 senthilprabhu 2008-09-24 14:15:13 UTC
Created attachment 70467 [details]
IDE Output Screenshot
Comment 4 Sergey Lunegov 2008-12-10 15:17:30 UTC
Related to GF ESB distribution. Not to NB 7.0
Comment 5 Marian Mirilovic 2009-02-20 18:08:41 UTC
update no67 keyword
Comment 6 Jun Qian 2009-03-09 23:39:38 UTC
It looks like the failed test cases don't have big enough timeout property. If you increase their timeout property
value, they will pass when testing the whole CompApp project.
Comment 7 fmartinez1 2009-05-04 22:46:10 UTC
Tested with latest build (05/03). Followed the steps to reproduce in this ticket and all tests ran and PASSED after 
right clicking on the ScopeTerminationJBI project in the IDE and selecting "Test". did not have to run them 
individually for all of the tests to pass.
Comment 8 senthilprabhu 2009-05-11 18:51:33 UTC
With netbeans 6.5, NPE and PrivilegedActionException  issue is not recurring.
Earlier, a lot of tests fail due to this.
This is no longer occurring which is a good news.
Closing out this issue.