jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OAK-7007) Test failure: FacetTest.testFacetsNA()
Date Thu, 07 Dec 2017 00:31:06 GMT

    [ https://issues.apache.org/jira/browse/OAK-7007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16281150#comment-16281150
] 

Vikas Saurabh edited comment on OAK-7007 at 12/7/17 12:30 AM:
--------------------------------------------------------------

Potential fix on my 1.4 github fork at \[0].

Travis test with forced execution of ResultSizeTest before FacetTest -is running- at \[1]
passed.
Travis test with undefined order of test execution -is running- at \[2] passed.

\[0]: https://github.com/catholicon/jackrabbit-oak/commit/f9848e6a2175dc3f84cdf66f8117678f13b22492
\[1]: https://travis-ci.org/catholicon/jackrabbit-oak/builds/312696930
\[2]: https://travis-ci.org/catholicon/jackrabbit-oak/builds/312697508


was (Author: catholicon):
Potential fix on my 1.4 github fork at \[0].

Travis test with forced execution of ResultSizeTest before FacetTest is running at \[1]
Travis test with undefined order of test execution is running at \[2]

\[0]: https://github.com/catholicon/jackrabbit-oak/commit/f9848e6a2175dc3f84cdf66f8117678f13b22492
\[1]: https://travis-ci.org/catholicon/jackrabbit-oak/builds/312696930
\[2]: https://travis-ci.org/catholicon/jackrabbit-oak/builds/312697508

> Test failure: FacetTest.testFacetsNA()
> --------------------------------------
>
>                 Key: OAK-7007
>                 URL: https://issues.apache.org/jira/browse/OAK-7007
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>         Environment: OpenJDK 7
>            Reporter: Marcel Reutegger
>            Assignee: Vikas Saurabh
>             Fix For: 1.4.19
>
>
> Builds on travis fail rather consistently on the 1.4 branch.
> Most recently https://travis-ci.org/apache/jackrabbit-oak/builds/305370560
> The failure is:
> {noformat}
> java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
> 	at org.apache.jackrabbit.oak.query.facet.FacetResult.<init>(FacetResult.java:63)
> 	at org.apache.jackrabbit.oak.jcr.query.FacetTest.testFacetsNA(FacetTest.java:115)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at junit.framework.TestCase.runTest(TestCase.java:176)
> 	at junit.framework.TestCase.runBare(TestCase.java:141)
> 	at junit.framework.TestResult$1.protect(TestResult.java:122)
> 	at junit.framework.TestResult.runProtected(TestResult.java:142)
> 	at junit.framework.TestResult.run(TestResult.java:125)
> 	at junit.framework.TestCase.run(TestCase.java:129)
> 	at org.apache.jackrabbit.test.AbstractJCRTest.run(AbstractJCRTest.java:464)
> 	at junit.framework.TestSuite.runTest(TestSuite.java:252)
> 	at junit.framework.TestSuite.run(TestSuite.java:247)
> 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> 	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> 	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.LucenePropertyIndex$LucenePathCursor$2.getValue(LucenePropertyIndex.java:1628)
> 	at org.apache.jackrabbit.oak.query.ast.SelectorImpl.currentOakProperty(SelectorImpl.java:679)
> 	at org.apache.jackrabbit.oak.query.ast.SelectorImpl.currentOakProperty(SelectorImpl.java:652)
> 	at org.apache.jackrabbit.oak.query.ast.SelectorImpl.currentOakProperty(SelectorImpl.java:584)
> 	at org.apache.jackrabbit.oak.query.ast.FacetColumnImpl.currentProperty(FacetColumnImpl.java:33)
> 	at org.apache.jackrabbit.oak.query.QueryImpl.currentRow(QueryImpl.java:885)
> 	at org.apache.jackrabbit.oak.query.QueryImpl$RowIterator.fetchNext(QueryImpl.java:826)
> 	at org.apache.jackrabbit.oak.query.QueryImpl$RowIterator.hasNext(QueryImpl.java:849)
> 	at org.apache.jackrabbit.oak.jcr.query.QueryResultImpl$1.fetch(QueryResultImpl.java:98)
> 	at org.apache.jackrabbit.oak.jcr.query.QueryResultImpl$1.<init>(QueryResultImpl.java:94)
> 	at org.apache.jackrabbit.oak.jcr.query.QueryResultImpl.getRows(QueryResultImpl.java:78)
> 	at org.apache.jackrabbit.oak.query.facet.FacetResult.<init>(FacetResult.java:48)
> 	... 27 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.util.FilteredSortedSetDocValuesFacetCounts.getTopChildren(FilteredSortedSetDocValuesFacetCounts.java:63)
> 	at org.apache.lucene.facet.MultiFacets.getTopChildren(MultiFacets.java:52)
> 	at org.apache.jackrabbit.oak.plugins.index.lucene.LucenePropertyIndex$LucenePathCursor$2.getValue(LucenePropertyIndex.java:1614)
> 	... 38 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message