{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/218","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/218/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/218/events","html_url":"https://github.com/capitalone/Hygieia/issues/218","id":121893399,"number":218,"title":"MongoDB query error","user":{"login":"vtaneeru","id":631252,"avatar_url":"https://avatars.githubusercontent.com/u/631252?v=3","gravatar_id":"","url":"https://api.github.com/users/vtaneeru","html_url":"https://github.com/vtaneeru","followers_url":"https://api.github.com/users/vtaneeru/followers","following_url":"https://api.github.com/users/vtaneeru/following{/other_user}","gists_url":"https://api.github.com/users/vtaneeru/gists{/gist_id}","starred_url":"https://api.github.com/users/vtaneeru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtaneeru/subscriptions","organizations_url":"https://api.github.com/users/vtaneeru/orgs","repos_url":"https://api.github.com/users/vtaneeru/repos","events_url":"https://api.github.com/users/vtaneeru/events{/privacy}","received_events_url":"https://api.github.com/users/vtaneeru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-13T02:26:50Z","updated_at":"2016-01-04T17:55:43Z","closed_at":null,"body":"When I'm running Jira collector, I'm getting below MonogoDB query error. I see same error in mongodb console when Jira widget from dashboard is trying to get data\r\n\r\norg.springframework.data.mongodb.UncategorizedMongoDbException: Query failed with error code 17287 and error message 'Can't canonicalize query: BadValue unknown top level operator: $query' on server localhost:27017; nested exception is com.mongodb.MongoQueryException: Query failed with error code 17287 and error message 'Can't canonicalize query: BadValue unknown top level operator: $query' on server localhost:27017\r\n\tat org.springframework.data.mongodb.core.MongoExceptionTranslator.translateExceptionIfPossible(MongoExceptionTranslator.java:101) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.core.MongoTemplate.potentiallyConvertRuntimeException(MongoTemplate.java:2013) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.core.MongoTemplate.executeFindMultiInternal(MongoTemplate.java:1896) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1707) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.core.MongoTemplate.doFind(MongoTemplate.java:1690) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.core.MongoTemplate.find(MongoTemplate.java:602) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.repository.query.AbstractMongoQuery$Execution.readCollection(AbstractMongoQuery.java:170) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.repository.query.AbstractMongoQuery$CollectionExecution.execute(AbstractMongoQuery.java:193) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.mongodb.repository.query.AbstractMongoQuery.execute(AbstractMongoQuery.java:104) ~[spring-data-mongodb-1.8.0.RELEASE.jar!/:na]\r\n\tat org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:454) ~[spring-data-commons-1.11.0.RELEASE.jar!/:na]\r\n\r\nMy MonogoDB verison is 3.0.6\r\n\r\nIs there any version issue here?\r\n"},"comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments/168751562","html_url":"https://github.com/capitalone/Hygieia/issues/218#issuecomment-168751562","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/218","id":168751562,"user":{"login":"amp5208","id":8902343,"avatar_url":"https://avatars.githubusercontent.com/u/8902343?v=3","gravatar_id":"","url":"https://api.github.com/users/amp5208","html_url":"https://github.com/amp5208","followers_url":"https://api.github.com/users/amp5208/followers","following_url":"https://api.github.com/users/amp5208/following{/other_user}","gists_url":"https://api.github.com/users/amp5208/gists{/gist_id}","starred_url":"https://api.github.com/users/amp5208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amp5208/subscriptions","organizations_url":"https://api.github.com/users/amp5208/orgs","repos_url":"https://api.github.com/users/amp5208/repos","events_url":"https://api.github.com/users/amp5208/events{/privacy}","received_events_url":"https://api.github.com/users/amp5208/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T17:55:43Z","updated_at":"2016-01-04T17:55:43Z","body":"@vtaneeru , thank you for following-up.  I have submitted a pull request to have this issue fixed that is currently being evaluated and functionally tested.  Once validated fully, the pull request will be added to Master.  Here is that pull request:  https://github.com/capitalone/Hygieia/pull/253"}}