Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 175569 - [TestSuite] Exception while import the large CBE XML log file
Summary: [TestSuite] Exception while import the large CBE XML log file
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Marius Slavescu CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on: 138213
Blocks:
  Show dependency tree
 
Reported: 2007-02-26 12:43 EST by Cindy Jin CLA
Modified: 2016-05-05 10:41 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cindy Jin CLA 2007-02-26 12:43:45 EST
When I execute the testsuite :Platform.Model.FastXPath_IBM142

step 2. Import the CBE XML file provided in the zip file specified in the requirements section. Save the imported log file.

I get following error:
An error occurred while attempting to import the log file D:\test4.4_01_2\org.eclipse.hyades.use.cases\resources\activity_v5_20k\activity_v5_20k.xml.
IWAT0412E Errors occurred parsing the log file D:\test4.4_01_2\org.eclipse.hyades.use.cases\resources\activity_v5_20k\activity_v5_20k.xml.
  IWAT0353E Common Base Event logging agent outputter N2B18A210CA611D88000B0C5D934DFA9 cannot write to agent unknown due to the following exception: Parser has reached the entity expansion limit "64,000" set by the Application.
Comment 1 Marius Slavescu CLA 2007-02-26 13:47:38 EST
This is a limitation in the SUN JVM 1.4, you need to increase the entity expansion limit using:

 -DentityExpansionLimit=120000

in the -vmargs section in eclipse.ini.

Please close the defect if it works after this change.


Comment 2 Marius Slavescu CLA 2007-02-26 13:49:15 EST
Did you run with SUN or IBM JRE? I thought IBM JRE had a higher limit.
Comment 3 Cindy Jin CLA 2007-02-26 17:40:27 EST
I used the sun1.5. It works after I use  -DentityExpansionLimit=120000 in start command. I think we need to update the testcase description for this.
Comment 4 jkubasta CLA 2007-03-29 13:58:36 EDT
not yet triaged
Comment 5 jkubasta CLA 2007-04-03 21:51:53 EDT
reset to P3 until defect triaged
Comment 6 jkubasta CLA 2007-04-12 11:35:38 EDT
The testcase specified is for IBM JRE 1.4.2 so please explain how/why the Sun JRE was used.  I will update the testcase if/as needed.
Comment 7 Cindy Jin CLA 2007-04-13 10:14:28 EDT
Sorry, it should be Platform.Model.FastXPath_Sun142 and Platform.Model.FastXPath_Sun50 testsuites. The testcases need to be updated to include  -DentityExpansionLimit=120000 at start command. 
However the second testcase in all Platform.Model.FastXPath_** testsuites is failed because of bugzilla 138213.
Comment 8 jkubasta CLA 2007-04-14 09:46:21 EDT
For both testcase Platform.Model.FastXPath_Sun142 and
Platform.Model.FastXPath_Sun50, I have updated the two testcases (Analyze_with_compiled_XpathExpressions and Analyze_with_compiledXpathExpressions_from_diskCache)to say:

Launch the workbench with -vmargs -Xmx512m -Xms40m 
-DentityExpansionLimit=120000 -DModelDebugger.debugPerfUtil=true.

These changes have been checked into CVS.
This defect will be marked fixed once 138213 is fixed.
Comment 9 jkubasta CLA 2007-04-16 17:45:18 EDT
Marius, please resolve this bug after confirming that it is resolved by the fix for 138213
Comment 10 Marius Slavescu CLA 2007-05-02 09:51:24 EDT
Fixed.
Comment 11 Paul Slauenwhite CLA 2009-06-30 13:47:33 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 12 Paul Slauenwhite CLA 2009-06-30 14:15:41 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.