Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hibernate.org by Unknown author, 1 year ago
db.UserFactualContent.find( {'$or': [ {'NAME':{'$regex':'(?i)Bangalore'}}, {'DESCRIPTION':{'$regex':'(?i)Bangalore'}}],'$and':[{'FLAG':'public' }]},{ 'DESCRIPTION': 1,'NAME': 1,'TOKEN':1}, '$orderby' : { 'clicks' : -1 } } ) ^
via GitHub by sridharn
, 2 years ago
id,b,c,d1,January,Monday,1/1/20112,February,Tuesday,1/2/20113,March,Wednesday,1/3/20114,April,Thursday,1/4/20115,May,Friday,1/5/20116,June,Saturday,1/6/20117,July,Sunday,1/7/20118,August,Monday,1/8/20119,September,Tuesday,1/9/201110,October,Wednesday,1/10/201111,November,Thursday,1/11/201112,December,Friday,1/12/2011 ^
com.mongodb.util.JSONParseException: 
db.UserFactualContent.find( {'$or': [ {'NAME':{'$regex':'(?i)Bangalore'}}, {'DESCRIPTION':{'$regex':'(?i)Bangalore'}}],'$and':[{'FLAG':'public' }]},{ 'DESCRIPTION': 1,'NAME': 1,'TOKEN':1}, '$orderby' : { 'clicks' : -1 } } )
^	at com.mongodb.util.JSONParser.parse(JSON.java:230)	at com.mongodb.util.JSONParser.parse(JSON.java:155)	at com.mongodb.util.JSON.parse(JSON.java:92)	at com.mongodb.util.JSON.parse(JSON.java:73)	at org.hibernate.ogm.datastore.mongodb.query.parsing.nativequery.impl.MongoDBQueryDescriptorBuilder.build(MongoDBQueryDescriptorBuilder.java:71)	at org.hibernate.ogm.datastore.mongodb.MongoDBDialect.parseNativeQuery(MongoDBDialect.java:866)	at org.hibernate.ogm.datastore.mongodb.MongoDBDialect.parseNativeQuery(MongoDBDialect.java:143)	at org.hibernate.ogm.dialect.impl.ForwardingGridDialect.parseNativeQuery(ForwardingGridDialect.java:200)	at org.hibernate.ogm.query.impl.NativeNoSqlQueryInterpreter.getCustomQuery(NativeNoSqlQueryInterpreter.java:50)	at org.hibernate.ogm.query.impl.NativeNoSqlQueryInterpreter.createQueryPlan(NativeNoSqlQueryInterpreter.java:45)	at org.hibernate.engine.query.spi.QueryPlanCache.getNativeSQLQueryPlan(QueryPlanCache.java:210)	at org.hibernate.ogm.hibernatecore.impl.OgmSessionImpl.list(OgmSessionImpl.java:301)	at org.hibernate.ogm.query.impl.NoSQLQueryImpl.list(NoSQLQueryImpl.java:130)	at org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:593)	at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:470)