Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 174098

Summary: java.lang.NoClassDefFoundError for TestFilterExists.testsuite on AS400 platform
Product: z_Archived Reporter: Cindy Jin <jx_china>
Component: TPTPAssignee: Marius Slavescu <slavescu>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P1 CC: sluiman, smith
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: Other   
OS: other   
Whiteboard: closed460
Attachments:
Description Flags
patch with the fix none

Description Cindy Jin CLA 2007-02-13 17:19:08 EST
When do the Junit testing for org.eclipse.hyades.logging.parsers.tests/TestFilterExistsClasses.testsuite on AS400 platform to test the xpath filter for GLA, the java.lang.NoClassDefFoundError org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies is thrown. It requires the DefaultErrorHandlingPolicies class in org.eclipse.jdt.jar, which is not included in the stand alone GLA's lib directory. This error only happens on AS400 platform. It passes on all other platforms.
Comment 1 Cindy Jin CLA 2007-02-13 17:19:36 EST
It is in TPTP4.3.1 testing.
Comment 2 Marius Slavescu CLA 2007-02-13 17:32:15 EST
Cindy have you tried to see if the new catch Throwable (from FastXPathAPI) works on Windows when you run your scenario?

Were you able to deploy manually the TPTP models classes and run GLA instead of the JUnit testcase was the error catched by the try/catch on Throwable from FastXPathAPI class?
Comment 3 Cindy Jin CLA 2007-02-14 00:42:44 EST
I tried to replace the FastXPathAPI with catch  the Throwable , and run the stand alone GLA on AS400. The error is catched and output is generated.
Comment 4 Dave Smith CLA 2007-02-14 10:22:52 EST
This was found during 4.3.1 testing.
Comment 5 Marius Slavescu CLA 2007-02-14 16:12:40 EST
Created attachment 59008 [details]
patch with the fix

Catch Throwable instead of Exception in order to catch the class not found error.
Comment 6 Dave Smith CLA 2007-02-15 02:56:24 EST
This was rejected for inclusion in 4.3.1 by the PMC at its meeting on Feb. 14. for the following reasons:
a) it was not a regression 
b) it did not fit the criteria for 4.3.1 (only fixes in 4.2.2 that were not already in 4.3) 
c) there are no known consuming products picking up 4.3.1

Therefore, retargetting to 4.4.  However, Marius is this fix still required in 4.4 given the JDT dependency is being removed?
Comment 7 Marius Slavescu CLA 2007-02-19 17:21:59 EST
Fix in CVS.
Comment 8 Paul Slauenwhite CLA 2009-06-30 13:47:23 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Comment 9 Paul Slauenwhite CLA 2009-06-30 13:56:06 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.