[hibernate-dev] Problems building Core

Adam Warski adam at warski.org
Fri Dec 18 01:50:08 EST 2009


Hmm, I had this when I upgraded the TestNG dependency to 5.10, so I reverted it back to 5.8 - do you have the latest pom?

Also, my $MAVEN_OPTS are: -Xmx512m.

Adam

On Dec 18, 2009, at 4:24 AM, Hardy Ferentschik wrote:

> Hi,
> 
> just wondering whether someone could confirm that the reactor build of  
> Core is broken.
> There is a sort of expected failure in  
> EmbeddedTypeTest.testSingularAttributeAccessByNameFailureExpected
> in the entitymanager module. But even after commenting out this test I am  
> not able to complete the build.
> I am having problems with the Envers test suite where I am getting an  
> OutOfMemoryError:
> 
> 
> org.apache.maven.surefire.booter.SurefireExecutionException: Java heap  
> space; nested exception is java.lang.OutOfMemoryError: Java heap space
> java.lang.OutOfMemoryError: Java heap space
>         at  
> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
>         at  
> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
>         at java.lang.StringBuffer.append(StringBuffer.java:225)
>         at  
> org.testng.reporters.SuiteHTMLReporter.generateMethodsChronologically(SuiteHTMLReporter.java:429)
>         at  
> org.testng.reporters.SuiteHTMLReporter.generateReport(SuiteHTMLReporter.java:67)
>         at org.testng.TestNG.generateReports(TestNG.java:735)
>         at org.testng.TestNG.run(TestNG.java:721)
>         at  
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74)
>         at  
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at  
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>         at  
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
> 
> --Hardy
> 
> 
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev





More information about the hibernate-dev mailing list