GateIn-3.1.0 doesn't compile
paguaro Jul 5, 2010 10:49 AMHi to all.
I have downloaded the source code and I tried to build.
If I use the command
mvn install -Dmaven.test.skip=true
the process end with
----------------
[INFO] Building GateIn Portal WebUI Core
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-plugin-versions}]
[INFO] [enforcer:enforce {execution: enforce-java-version}]
[INFO] [enforcer:enforce {execution: enforce-maven-version}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 70 source files to /media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/bean/UIDataFeed.java:[22,37] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/bean/UIDataFeed.java:[32,29] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/core/UIRepeater.java:[22,37] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/core/UIRepeater.java:[43,11] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/core/UIRepeater.java:[145,29] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/core/UIRepeater.java:[151,10] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/core/UIVirtualList.java:[22,37] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/core/UIVirtualList.java:[55,24] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/form/UIFormInputWithActions.java:[119,30] org.exoplatform.webui.core.UIComponent cannot be dereferenced
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/form/UIFormInputWithActions.java:[123,40] org.exoplatform.webui.core.UIComponent cannot be dereferenced
/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/webui/core/src/main/java/org/exoplatform/webui/core/UIRepeater.java:[43,33] [deprecation] org.exoplatform.commons.utils.PageList in org.exoplatform.commons.utils has been deprecated
------------------
If I use the command
mvn install
the process end with:
-----------
[16:44:31-482][INFO] SearchIndex path=/media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/component/common/target/gateintest-1/jcr/jcrlucenedb/portal-test
[16:44:31-500][INFO] MultiIndex Created initial index for 1 nodes
[16:44:31-500][INFO] SearchIndex Index initialized: /media/LaCieExt4/dbamberghi/OpenSourcePrj/GateIn-3.1.0-GA/component/common/target/gateintest-1/jcr/jcrlucenedb/portal-test Version: 3
[16:44:31-826][SEVERE] MX4JComponentAdapter Failed to instanciate plugin chromatticfor component org.exoplatform.commons.chromattic.ChromatticManager@1fe2493: null java.lang.reflect.InvocationTargetException
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:597)
at org.exoplatform.container.jmx.MX4JComponentAdapter.addComponentPlugin(MX4JComponentAdapter.java:148)
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:106)
at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68)
at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:400)
at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:389)
at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139)
at org.exoplatform.container.PortalContainer.getComponent(PortalContainer.java:613)
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.setUp(ChromatticIntegrationTestCase.java:57)
at junit.framework.TestCase.runBare(TestCase.java:125)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.AssertionError: java.lang.ClassNotFoundException: org.exoplatform.commons.chromattic.FooEntity_Chromattic
at org.chromattic.apt.ProxyFactoryImpl.<init>(ProxyFactoryImpl.java:44)
at org.chromattic.apt.InstrumentorImpl.getProxyClass(InstrumentorImpl.java:35)
at org.chromattic.core.mapper.ObjectMapper.<init>(ObjectMapper.java:104)
at org.chromattic.core.mapper.MapperBuilder.createMapper(MapperBuilder.java:420)
at org.chromattic.core.mapper.MapperBuilder._build(MapperBuilder.java:154)
at org.chromattic.core.mapper.MapperBuilder.build(MapperBuilder.java:139)
at org.chromattic.core.Domain.<init>(Domain.java:118)
at org.chromattic.core.api.ChromatticBuilderImpl.boot(ChromatticBuilderImpl.java:126)
at org.chromattic.api.ChromatticBuilder.build(ChromatticBuilder.java:308)
at org.exoplatform.commons.chromattic.ChromatticLifeCycle.start(ChromatticLifeCycle.java:367)
at org.exoplatform.commons.chromattic.ChromatticManager.addLifeCycle(ChromatticManager.java:65)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.exoplatform.commons.chromattic.FooEntity_Chromattic
at java.lang.ClassLoader.findClass(ClassLoader.java:359)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.chromattic.apt.ProxyFactoryImpl.<init>(ProxyFactoryImpl.java:40)
... 44 more
[16:44:31-845][SEVERE] ChromatticIntegrationTestCase Unit test testConfiguratorInitialized did not complete junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:220)
at junit.framework.Assert.assertNotNull(Assert.java:213)
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testConfiguratorInitialized(ChromatticIntegrationTestCase.java:64)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[16:44:31-851][INFO] ChromatticIntegrationTestCase Running unit test:testCannotInitiateMoreThanOneRequest
[16:44:31-875][INFO] ChromatticIntegrationTestCase Unit test testCannotInitiateMoreThanOneRequest completed
[16:44:31-881][INFO] ChromatticIntegrationTestCase Running unit test:testCannotEndNonExistingRequest
[16:44:31-909][INFO] ChromatticIntegrationTestCase Unit test testCannotEndNonExistingRequest completed
[16:44:31-910][INFO] ChromatticIntegrationTestCase Running unit test:testWrapperFailsWhenNoGlobalRequest
[16:44:31-940][SEVERE] ChromatticIntegrationTestCase Unit test testWrapperFailsWhenNoGlobalRequest did not complete java.lang.NullPointerException
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testWrapperFailsWhenNoGlobalRequest(ChromatticIntegrationTestCase.java:105)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[16:44:31-942][INFO] ChromatticIntegrationTestCase Running unit test:testLocalRequest
[16:44:31-968][SEVERE] ChromatticIntegrationTestCase Unit test testLocalRequest did not complete java.lang.NullPointerException
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testLocalRequest(ChromatticIntegrationTestCase.java:118)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[16:44:31-978][INFO] ChromatticIntegrationTestCase Running unit test:testLocalRequestNoSessionAccess
[16:44:31-994][SEVERE] ChromatticIntegrationTestCase Unit test testLocalRequestNoSessionAccess did not complete java.lang.NullPointerException
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testLocalRequestNoSessionAccess(ChromatticIntegrationTestCase.java:143)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[16:44:32-002][INFO] ChromatticIntegrationTestCase Running unit test:testGlobalSession
[16:44:32-033][SEVERE] ChromatticIntegrationTestCase Unit test testGlobalSession did not complete java.lang.NullPointerException
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testGlobalSession(ChromatticIntegrationTestCase.java:158)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[16:44:32-036][INFO] ChromatticIntegrationTestCase Running unit test:testGlobalSessionContext
[16:44:32-063][SEVERE] ChromatticIntegrationTestCase Unit test testGlobalSessionContext did not complete java.lang.NullPointerException
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testGlobalSessionContext(ChromatticIntegrationTestCase.java:208)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[16:44:32-066][INFO] ChromatticIntegrationTestCase Running unit test:testPersistence
[16:44:32-088][SEVERE] ChromatticIntegrationTestCase Unit test testPersistence did not complete java.lang.NullPointerException
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testPersistence(ChromatticIntegrationTestCase.java:224)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
[16:44:32-090][INFO] ChromatticIntegrationTestCase Running unit test:testTwoLifeCycleWithSameRepository
[16:44:32-101][SEVERE] ChromatticIntegrationTestCase Unit test testTwoLifeCycleWithSameRepository did not complete java.lang.IllegalStateException: Request already started
at org.exoplatform.commons.chromattic.ChromatticManager.beginRequest(ChromatticManager.java:89)
at org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase.testTwoLifeCycleWithSameRepository(ChromatticIntegrationTestCase.java:240)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:87)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
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:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Tests run: 10, Failures: 1, Errors: 7, Skipped: 0, Time elapsed: 6.144 sec <<< FAILURE!
Results :
Failed tests:
testConfiguratorInitialized(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
Tests in error:
testWrapperFailsWhenNoGlobalRequest(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
testLocalRequest(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
testLocalRequestNoSessionAccess(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
testGlobalSession(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
testGlobalSessionContext(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
testPersistence(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
testTwoLifeCycleWithSameRepository(org.exoplatform.commons.chromattic.ChromatticIntegrationTestCase)
Tests run: 61, Failures: 1, Errors: 7, Skipped: 0
--------------
My system:
- linux kununtu 10.4 32bit
- java sun 1.6
- maven 2.2
Why the official released fail?
thank to all for the help
daniele