Aqua Data Studio 16.0.0-dev-16
Build #: 40762
Built on: 2014-Oct-27 04:04:32 PM
OS: Ubuntu 14.04-1
Linux (3.13.0-36-generic, amd64) / UTF-8 / en / IN / Oracle Corporation 1.7.0_60-b19
Memory: Max=3,817,865,216; Total=1,518,338,048; Free=225,527,464; CPUs=8
Database: MongoDB 2.7.8 and
MongoDB 2.6.5
Issue: Shows NPE for db.auth() method
ADS 16.0.0-dev-16 build - using MongoDB 2.7.8 , MongoDB 2.6.5 - Shows NPE - Fail
ADS 16.0.0-dev-16 build - using MongoDB 2.1.12 - Shows proper result - Pass
ADS 15.0.9-17 - MongoDB 2.7.8 , MongoDB 2.6.5 , MongoDB 2.4.12 - Shows Proper Result - Pass
Please refer screenshot1.png
|
179 KB
|
60 KB
Build: ADS16.0.0-dev-77
Database: MongoDB 2.8-rc-2
It display error message for running below query:
I cannot reproduce the "auth failed" problem using MongoDB 2.6 or 2.7. Is the problem specific to MongoDB 2.8-rc-2?
Please try the following and then re-open the issue with more detailed information if the problem still exists.
1. The error message is "auth failed". Please double check that you have the correct user name and password.
2. If you are sure that the user name and password are correct and the db.auth command still fails, please try with different MongoDB versions and see if the problem is specific to MongoDB 2.8-rc-2.
3. Try the same db.auth call using the MongoDB shell 2.8-rc-2. This will verify whether there is a change in the db.auth command for 2.8 or if the problem is specific to ADS MongoShell.
I cannot reproduce the "auth failed" problem using MongoDB 2.6 or 2.7. Is the problem specific to MongoDB 2.8-rc-2?
Please try the following and then re-open the issue with more detailed information if the problem still exists.
1. The error message is "auth failed". Please double check that you have the correct user name and password.
2. If you are sure that the user name and password are correct and the db.auth command still fails, please try with different MongoDB versions and see if the problem is specific to MongoDB 2.8-rc-2.
3. Try the same db.auth call using the MongoDB shell 2.8-rc-2. This will verify whether there is a change in the db.auth command for 2.8 or if the problem is specific to ADS MongoShell.
Tariq showed me a scenario where db.auth returns NPE when running it a second time. This problem is fixed in dev-78.
We cannot reproduce the "auth failed" problem unless we enter a wrong user name or password.
Tariq showed me a scenario where db.auth returns NPE when running it a second time. This problem is fixed in dev-78.
We cannot reproduce the "auth failed" problem unless we enter a wrong user name or password.
Issue #12642 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 16.0.0-dev-78 |
No time estimate |
1 issue link |
relates to #12674
Issue #12674db.auth(null, null) gives NPE |
Build: ADS16.0.0-dev-77
Database: MongoDB 2.8-rc-2
It display error message for running below query: