Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Null pointer Exception throws #1

Closed
senthilgovindasamy opened this Issue · 2 comments

2 participants

@senthilgovindasamy

When i am executing the query given below
Query q = manager.createQuery("select m from Machines m where m.services =:value");
q.setParameter("value", value);
authList=q.getResultList();
java.lang.NullPointerException
at lucandra.LucandraTermDocs.nextPosition(LucandraTermDocs.java:174)
at org.apache.lucene.search.PhrasePositions.nextPosition(PhrasePositions.java:76)
at org.apache.lucene.search.PhrasePositions.firstPosition(PhrasePositions.java:65)
at org.apache.lucene.search.ExactPhraseScorer.phraseFreq(ExactPhraseScorer.java:35)
at org.apache.lucene.search.PhraseScorer.doNext(PhraseScorer.java:99)
at org.apache.lucene.search.PhraseScorer.nextDoc(PhraseScorer.java:83)
at org.apache.lucene.search.ConjunctionScorer.(ConjunctionScorer.java:42)
at org.apache.lucene.search.ConjunctionScorer.(ConjunctionScorer.java:33)
at org.apache.lucene.search.BooleanScorer2$2.(BooleanScorer2.java:178)
at org.apache.lucene.search.BooleanScorer2.countingConjunctionSumScorer(BooleanScorer2.java:173)
at org.apache.lucene.search.BooleanScorer2.makeCountingSumScorerSomeReq(BooleanScorer2.java:232)
at org.apache.lucene.search.BooleanScorer2.makeCountingSumScorer(BooleanScorer2.java:208)
at org.apache.lucene.search.BooleanScorer2.(BooleanScorer2.java:101)
at org.apache.lucene.search.BooleanQuery$BooleanWeight.scorer(BooleanQuery.java:336)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:210)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:170)
at org.apache.lucene.search.Searcher.search(Searcher.java:98)
at org.apache.lucene.search.Searcher.search(Searcher.java:108)
at com.impetus.kundera.index.LucandraIndexer.search(LucandraIndexer.java:229)
at com.impetus.kundera.index.IndexManager.search(IndexManager.java:143)
at com.impetus.kundera.index.IndexManager.search(IndexManager.java:127)
at com.impetus.kundera.query.LuceneQuery.getResultList(LuceneQuery.java:85)
at com.marimba.apps.inventory.repository.MachineDAO.findParentByChild(MachineDAO.java:212)
at com.marimba.apps.inventory.repository.MachineDAO.main(MachineDAO.java:41)

@tjake
Owner

What branch are you using here?

@senthilgovindasamy

Wat do u mean branch.
actually i am getting error in my code
I am using the kundera-1.0-SNAPSHOT.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.