-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
Affects Version/s: 2.2
-
Component/s: None
-
None
-
Environment:Fedora Linux hp1 2.6.34.6-54.fc13.x86_64 #1 SMP Sun Sep 5 17:16:27 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
The following code
public static void main(String[] args) {
try
catch (Exception e)
{ e.printStackTrace(); }}
I get the following stacktrace:
java.lang.NullPointerException
at com.mongodb.DBTCPConnector.close(DBTCPConnector.java:352)
at com.mongodb.Mongo.close(Mongo.java:297)
at com.example.MongoError.main(MongoError.java:11)