Groups
Sign in
Groups
mongodb-user
Conversations
About
Send feedback
Help
NullPointerException DBTCPConnector.java:282
28 views
Skip to first unread message
kobi
unread,
Jan 30, 2012, 1:40:29 AM
1/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Hi,
I'm novice in MongoDB, I'm running some application I wrote with
Tomcat and MongoDB and I keep getting this NPE when I;m increasing my
clients load.
Error 500: Executing action [find] of controller
[org.grails.samples.OwnerController] caused exception: null
Servlet: grails
URI: /myapp/grails/owner/find.dispatch
Exception Message:
Caused by:
Class: OwnerController
At Line: [46]
Code Snippet:
Stack Trace
java.lang.NullPointerException
at com.mongodb.DBTCPConnector._error(DBTCPConnector.java:282)
at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:208)
at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:
296)
at com.mongodb.DBCursor._check(DBCursor.java:356)
at com.mongodb.DBCursor._hasNext(DBCursor.java:486)
at com.mongodb.DBCursor.hasNext(DBCursor.java:511)
at
com.google.code.morphia.query.MorphiaIterator.hasNext(MorphiaIterator.java:
40)
at org.grails.samples.OwnerController
$_closure4.doCall(OwnerController.groovy:46)
at org.grails.samples.OwnerController
$_closure4.doCall(OwnerController.groovy)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110)
Nat
unread,
Jan 30, 2012, 7:19:37 AM
1/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Which version of mongodb driver do you use? It sounds like it's an older version of mongodb. Can you upgrade?
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to
mongod...@googlegroups.com
.
To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/mongodb-user?hl=en
.
Reply all
Reply to author
Forward
0 new messages