Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-103611

testCleanStagedModelDataHandler is failing on master

    Description

    The following tests are failing with NPE:
    DLFileEntryTypeStagedModelDataHandlerTest > testCleanStagedModelDataHandler
    FileEntryStagedModelDataHandlerTest > testCleanStagedModelDataHandler
    FolderStagedModelDataHandlerTest > testCleanStagedModelDataHandler
    DDMFormInstanceStagedModelDataHandlerTest > testCleanStagedModelDataHandler

    [exec] com.liferay.document.library.internal.exportimport.data.handler.test.FolderStagedModelDataHandlerTest > testCleanStagedModelDataHandler FAILED
         [exec]     java.lang.NullPointerException
         [exec]     	at com.liferay.app.builder.internal.model.listener.DDMStructureModelListener.onAfterRemove(DDMStructureModelListener.java:41)
         [exec]     	at com.liferay.app.builder.internal.model.listener.DDMStructureModelListener.onAfterRemove(DDMStructureModelListener.java:32)
         [exec]     	at com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl.remove(BasePersistenceImpl.java:476)
         [exec]     	at com.liferay.dynamic.data.mapping.service.impl.DDMStructureLocalServiceImpl.deleteStructure(DDMStructureLocalServiceImpl.java:585)
         [exec]     	at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source)
         [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
         [exec]     	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
         [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec]     	at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
         [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec]     	at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
         [exec]     	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec]     	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
         [exec]     	at com.sun.proxy.$Proxy713.deleteStructure(Unknown Source)
         [exec]     	at com.liferay.dynamic.data.mapping.web.internal.exportimport.data.handler.DDMStructureStagedModelDataHandler.deleteStagedModel(DDMStructureStagedModelDataHandler.java:94)
         [exec]     	at com.liferay.dynamic.data.mapping.web.internal.exportimport.data.handler.DDMStructureStagedModelDataHandler.deleteStagedModel(DDMStructureStagedModelDataHandler.java:80)
         [exec]     	at com.liferay.exportimport.test.util.lar.BaseStagedModelDataHandlerTestCase.deleteStagedModel(BaseStagedModelDataHandlerTestCase.java:608)
         [exec]     	at com.liferay.document.library.internal.exportimport.data.handler.test.FolderStagedModelDataHandlerTest.deleteStagedModel(FolderStagedModelDataHandlerTest.java:256)
         [exec]     	at com.liferay.exportimport.test.util.lar.BaseStagedModelDataHandlerTestCase.testCleanStagedModelDataHandler(BaseStagedModelDataHandlerTestCase.java:236)
         [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234)
         [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
         [exec]     	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
         [exec]     	at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)
         [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
         [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181)
         [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
         [exec]     	at java.lang.Thread.run(Thread.java:745)
    

    Full error log:
    https://testray.liferay.com/reports/production/logs/test-1-2/1571889725571/test-portal-testsuite-upstream(master)/106/modules-integration-mysql57-jdk8/0/jenkins-console.txt.gz

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            joyce.wang Joyce Wang
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 3 weeks, 6 days ago

                Packages

                Version Package
                7.3.10 DXP GA1
                Master