You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2017/12/02 04:21:00 UTC

[jira] [Commented] (OAK-7007) Test failure: FacetTest.testFacetsNA()

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

Vikas Saurabh commented on OAK-7007:
------------------------------------

[~mreutegg], I am unable to fail that test locally (with full test run or with running just that test). Are you able to reproduce it locally? If so, can you please attach unit-tests.log from your run? Also, does it only fail when whole suite is run or single test run also fails for you? (my guess is that there "might" be some issue with test using indexed data from some other test due to some race ... I'm not sure how though)

> 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)