4 Replies Latest reply on Jul 16, 2010 4:55 AM by paguaro

    GateIn-3.1.0 doesn't compile

    paguaro

      Hi 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

        • 1. Re: GateIn-3.1.0 doesn't compile
          trong.tran

          It seems the APT is not triggered while compiling

           

          you could try upgrading to use :

          - maven 2.2.1

          - maven-compiler-plugin 2.0.2 or greater

           

          Make sure you are using Java 1.6 too

          • 2. Re: GateIn-3.1.0 doesn't compile
            paguaro

            Hi

             

            The maven and plugin version are correct.

             

            bye

            daniele

            ----

            #mvn -v
            Apache Maven 2.2.1 (rdebian-1)
            Java version: 1.6.0_20
            Java home: /usr/lib/jvm/java-6-sun-1.6.0.20/jre
            Default locale: it_IT, platform encoding: UTF-8
            OS name: "linux" version: "2.6.32-23-generic" arch: "i386" Family: "unix"

             

            #dpkg-query -l libmaven*
            Desired=Unknown/Install/Remove/Purge/Hold
            | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
            |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
            ||/ Nome              Versione          Descrizione
            +++-=================-=================-==================================================
            ii  libmaven-archiver 2.4-2             Archiver component for Maven
            ii  libmaven-clean-pl 2.3-3             Maven clean plugin
            ii  libmaven-compiler 2.0.2-4           Maven compiler plugin
            ii  libmaven-dependen 1.2-2             Maven Dependency Tree
            ii  libmaven-file-man 1.2.1-2           Maven File Management API
            ii  libmaven-filterin 1.0~beta-2-4      Maven Filtering
            ii  libmaven-install- 2.3-2             Maven install plugin
            ii  libmaven-jar-plug 2.2-4             Maven Jar plugin
            ii  libmaven-plugin-t 2.5-2             Maven Plugin Tools Base POM
            ii  libmaven-reportin 2.0.4.2-1         Maven Reporting API Implementation
            ii  libmaven-resource 2.3-5             Maven resources plugin
            ii  libmaven-scm-java 1.2-2             Maven SCM provides a common API for doing SCM oper
            ii  libmaven-shade-pl 1.2.1-2           Maven shade plugin
            ii  libmaven-shared-i 1.1-3             Maven API for I/O support
            ii  libmaven2-core-ja 2.2.1-1           Core libraries for Maven2

            • 3. Re: GateIn-3.1.0 doesn't compile
              mwringe

              I just downloaded the 3.1.0 tar.gz from the download page, untarred it and ran 'mvn clean install' and it compiled without error (I also used -Dmaven.repo.local to set a new local repo to make sure there wasn't something bad in my local maven repository).

               

              This is on a Fedora 12 machine, JDK 1.6, maven 2.2.1.

               

              It looks like you are using a dpkg version of Maven, can you try the upstream maven (ie from the zip) and see if that is the problem? (and also try with -Dmaven.repo.local set to a tmp directory somewhere to make sure the local repo doesn't have a bad archive, it will take a while to redownload everything).

              • 4. Re: GateIn-3.1.0 doesn't compile
                paguaro

                Hi

                 

                I tried to compile in Centos5.4 64bit and works.

                 

                I don't know the reason of the problem.

                I tried on my pc with the original version of maven2.2.1 and gatein doesn't compile.

                 

                thanks for the help