[JAVA-1208] NPE in com.mongodb.DBCollection.genIndexName Created: 10/May/14 Updated: 27/May/14 Resolved: 27/May/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 2.12.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tal Liron | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux 64bit, Oracle JDK 8 |
||
| Description |
|
Here is the stack trace: NFO | jvm 1 | 2014/05/10 07:42:00 | Caused by: java.lang.NullPointerException |
| Comments |
| Comment by Tal Liron [ 24/May/14 ] |
|
Please close: the problem was that I using JavaScript (Rhino) and sending the wrong kind of object to the API. |
| Comment by Jeffrey Yemin [ 10/May/14 ] |
|
Is your code passing a null DBObject to ensureIndex? |