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

ArrayStoreException Failure in testOrderByDDMNumberFieldRepeatable

    Description

    Testray

    Jenkins

     [exec] com.liferay.document.library.search.test.DLFileEntrySearchTest > testOrderByDDMNumberFieldRepeatable STARTED
         [exec] 2021-02-24 00:59:21.366 ERROR [com.liferay.document.library.test-executor-thread][Field:190] Unable to extract field value
         [exec] java.lang.ArrayStoreException
         [exec] 	at java.util.ArrayList.toArray(ArrayList.java:407)
         [exec] 	at com.liferay.dynamic.data.mapping.storage.constants.FieldConstants.getSerializable(FieldConstants.java:150)
         [exec] 	at com.liferay.dynamic.data.mapping.storage.Field.getValue(Field.java:184)
         [exec] 	at com.liferay.dynamic.data.mapping.internal.util.DDMIndexerImpl.extractIndexableAttributes(DDMIndexerImpl.java:273)
         [exec] 	at com.liferay.dynamic.data.mapping.internal.DDMStructureManagerImpl.extractAttributes(DDMStructureManagerImpl.java:112)
         [exec] 	at com.liferay.document.library.internal.search.spi.model.index.contributor.DLFileEntryModelDocumentContributor.extractDDMContent(DLFileEntryModelDocumentContributor.java:263)
         [exec] 	at com.liferay.document.library.internal.search.spi.model.index.contributor.DLFileEntryModelDocumentContributor.contribute(DLFileEntryModelDocumentContributor.java:157)
         [exec] 	at com.liferay.document.library.internal.search.spi.model.index.contributor.DLFileEntryModelDocumentContributor.contribute(DLFileEntryModelDocumentContributor.java:61)
         [exec] 	at com.liferay.portal.search.internal.indexer.IndexerDocumentBuilderImpl.lambda$getDocument$1(IndexerDocumentBuilderImpl.java:60)
         [exec] 	at java.lang.Iterable.forEach(Iterable.java:75)
         [exec] 	at com.liferay.portal.search.internal.indexer.IndexerDocumentBuilderImpl.getDocument(IndexerDocumentBuilderImpl.java:58)
         [exec] 	at com.liferay.portal.search.internal.indexer.IndexerWriterImpl.reindex(IndexerWriterImpl.java:235)
         [exec] 	at com.liferay.portal.search.internal.indexer.IndexerWriterImpl.lambda$reindex$0(IndexerWriterImpl.java:166)
         [exec] 	at java.util.Optional.ifPresent(Optional.java:159)
         [exec] 	at com.liferay.portal.search.internal.indexer.IndexerWriterImpl.reindex(IndexerWriterImpl.java:166)
         [exec] 	at com.liferay.portal.search.internal.indexer.DefaultIndexer.reindex(DefaultIndexer.java:262)
         [exec] 	at com.liferay.portal.search.internal.buffer.NoAutoCommitIndexer.reindex(NoAutoCommitIndexer.java:231)
         [exec] 	at sun.reflect.GeneratedMethodAccessor304.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.search.internal.buffer.IndexerRequest.execute(IndexerRequest.java:97)
         [exec] 	at com.liferay.portal.search.internal.buffer.BaseIndexerRequestBufferExecutor.executeIndexerRequest(BaseIndexerRequestBufferExecutor.java:63)
         [exec] 	at com.liferay.portal.search.internal.buffer.DefaultIndexerRequestBufferExecutor.execute(DefaultIndexerRequestBufferExecutor.java:74)
         [exec] 	at com.liferay.portal.search.internal.buffer.BaseIndexerRequestBufferExecutor.execute(BaseIndexerRequestBufferExecutor.java:32)
         [exec] 	at com.liferay.portal.search.internal.buffer.IndexerRequestBufferTransactionLifecycleListener.committed(IndexerRequestBufferTransactionLifecycleListener.java:44)
         [exec] 	at com.liferay.portal.kernel.transaction.TransactionLifecycleNotifier.fireTransactionCommittedEvent(TransactionLifecycleNotifier.java:70)
         [exec] 	at com.liferay.portal.kernel.transaction.TransactionLifecycleNotifier$1.doCommitted(TransactionLifecycleNotifier.java:39)
         [exec] 	at com.liferay.portal.kernel.transaction.NewTransactionLifecycleListener.committed(NewTransactionLifecycleListener.java:29)
         [exec] 	at com.liferay.portal.kernel.transaction.TransactionLifecycleManager.fireTransactionCommittedEvent(TransactionLifecycleManager.java:34)
         [exec] 	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.commit(DefaultTransactionExecutor.java:51)
         [exec] 	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
         [exec] 	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
         [exec] 	at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60)
         [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.$Proxy120.addFileEntry(Unknown Source)
         [exec] 	at com.liferay.document.library.kernel.service.DLAppLocalServiceUtil.addFileEntry(DLAppLocalServiceUtil.java:89)
         [exec] 	at com.liferay.document.library.search.test.DLFileEntrySearchTest.addBaseModel(DLFileEntrySearchTest.java:304)
         [exec] 	at com.liferay.document.library.search.test.DLFileEntrySearchTest$DLFileEntrySearchTestOrderHelper.addSearchableAssetEntryRepeatable(DLFileEntrySearchTest.java:539)
         [exec] 	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.addSearchableAssetEntries(TestOrderHelper.java:207)
         [exec] 	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.testOrderByDDMField(TestOrderHelper.java:356)
         [exec] 	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.testOrderByDDMFieldRepeatable(TestOrderHelper.java:400)
         [exec] 	at com.liferay.dynamic.data.mapping.test.util.search.TestOrderHelper.testOrderByDDMNumberFieldRepeatable(TestOrderHelper.java:124)
         [exec] 	at com.liferay.document.library.search.test.DLFileEntrySearchTest.testOrderByDDMNumberFieldRepeatable(DLFileEntrySearchTest.java:166)
         [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$3.evaluate(TestExecutorRunnable.java:353)
         [exec] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
         [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.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 org.junit.rules.RunRules.evaluate(RunRules.java:20)
         [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
         [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$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 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:316)
         [exec] 	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
         [exec] 	at java.lang.Thread.run(Thread.java:745)
    

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            brooke.dalton Brooke Dalton
            Reporter:
            joseph.pak Joseph Pak
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Engineering Assignee:
            Istvan Dezsi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              15 weeks, 3 days ago

                Packages

                Version Package
                7.2.10 DXP FP12
                7.2.X
                7.3.X
                7.4.0 CE GA1
                Master