Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342811 - [Unit Test Failure] kdm.uml2converter.tests : PermGen space, NoSuchFieldError, NPE
Summary: [Unit Test Failure] kdm.uml2converter.tests : PermGen space, NoSuchFieldError...
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P1 normal (vote)
Target Milestone: 0.9.0 RC4   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 337440
Blocks: 344097
  Show dependency tree
 
Reported: 2011-04-14 05:20 EDT by Nicolas Bros CLA
Modified: 2011-08-18 08:09 EDT (History)
3 users (show)

See Also:
nicolas.bros: indigo+


Attachments
stacktrace (21.31 KB, text/plain)
2011-04-15 03:27 EDT, Nicolas Bros CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-04-14 05:20:08 EDT
Tests in org.eclipse.gmt.modisco.kdm.uml2converter.tests are now failing because of insufficient PermGen space.
Comment 1 Nicolas Bros CLA 2011-04-15 03:27:32 EDT
In addition, the tests are failing on my machine, with "NoSuchFieldError: ruleMemo" on ATL code (that only appears on stderr and is not logged), and a NPE later that probably results from the first error.
Comment 2 Nicolas Bros CLA 2011-04-15 03:27:48 EDT
Created attachment 193326 [details]
stacktrace
Comment 3 Nicolas Bros CLA 2011-04-15 05:52:58 EDT
I disabled org.eclipse.gmt.modisco.kdm.uml2converter.tests.AllTests.class from org.eclipse.gmt.modisco.tests.AllTests, to see if we get the PermGen errors somewhere else.

It can stay disabled until Bug 337440 is solved.
Comment 4 Nicolas Bros CLA 2011-04-28 05:06:02 EDT
I committed org.eclipse.modisco.kdm.uml2converter.tests (migrated for the new discovery framework) in revision 4360.
I disabled it because it won't pass until Bug 342811 is solved.
Comment 5 Nicolas Bros CLA 2011-06-07 07:38:37 EDT
I fixed the new tests in revision 4451, and I increased the memory settings for the launched Eclipse in revision 4453 (128M of PermSize seemed like a lot, but it wasn't enough apparently). I verified with build #738 : all tests passed successfully.
Comment 6 Gregoire Dupe CLA 2011-06-17 09:55:20 EDT
Why are org.eclipse.gmt.modisco.kdm.uml2converter.tests.KdmToUml2WithTracesConverterTest not declared in org.eclipse.gmt.modisco.kdm.uml2converter.tests.AllTests ?

Is there still any problem with KdmToUml2WithTracesConverterTest?
Comment 7 Nicolas Bros CLA 2011-08-12 06:14:53 EDT
I have re-enabled the tests. They pass locally and on Hudson.
Comment 8 Hugo Bruneliere CLA 2011-08-18 08:09:21 EDT
Bug solved.