agirbal / umongo

Desktop app to browse and administer your MongoDB cluster
http://www.edgytech.com/umongo/
580 stars 94 forks source link

local db should not be accessed when using sharding #161

Closed agirbal closed 11 years ago

agirbal commented 11 years ago

com.mongodb.MongoException: can't use 'local' database through mongos at com.mongodb.MongoException.parse(MongoException.java:82) at com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:292) at com.mongodb.DBApiLayer$MyCollection.find(DBApiLayer.java:273) at com.mongodb.DB.getCollectionNames(DB.java:399) at com.edgytech.umongo.DbNode.populateChildren(DbNode.java:54) at com.edgytech.umongo.BaseTreeNode.structureComponentCustom(BaseTreeNode.java:53) at com.edgytech.umongo.BaseTreeNode.structureComponentCustom(BaseTreeNode.java:38) at com.edgytech.swingfast.XmlComponentUnit.structureComponent(XmlComponentUnit.java:221) at com.edgytech.swingfast.XmlComponentUnit.getComponent(XmlComponentUnit.java:187) at com.edgytech.swingfast.XmlJComponentUnit.getComponent(XmlJComponentUnit.java:77) at com.edgytech.swingfast.XmlJComponentUnit.getComponent(XmlJComponentUnit.java:20) at com.edgytech.swingfast.TreeNodeLabel.structureComponentCustom(TreeNodeLabel.java:91) at com.edgytech.umongo.BaseTreeNode.structureComponentCustom(BaseTreeNode.java:58) at com.edgytech.umongo.BaseTreeNode.structureComponentCustom(BaseTreeNode.java:38) at com.edgytech.swingfast.XmlComponentUnit.structureComponent(XmlComponentUnit.java:221) at com.edgytech.umongo.BaseTreeNode.handleWillExpand(BaseTreeNode.java:146) at com.edgytech.swingfast.Tree.treeWillExpand(Tree.java:318) at javax.swing.JTree.fireTreeWillExpand(JTree.java:2823) at javax.swing.JTree.setExpandedState(JTree.java:3610) at javax.swing.JTree.expandPath(JTree.java:2204) at com.edgytech.swingfast.Tree.expandNode(Tree.java:242) at com.edgytech.swingfast.Tree.expandNode(Tree.java:236) at com.edgytech.umongo.UMongo.addMongo(UMongo.java:159) at com.edgytech.umongo.MainMenu$2.doInBackground(MainMenu.java:155) at javax.swing.SwingWorker$1.call(SwingWorker.java:296) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at javax.swing.SwingWorker.run(SwingWorker.java:335) at com.edgytech.swingfast.ScalableThreadPool$ScalableThreadpoolWorker.run(ScalableThreadPool.java:48) at java.lang.Thread.run(Thread.java:724)