{"action":"created","issue":{"url":"https://api.github.com/repos/maasdi/pentaho-mongodb-delete-plugin/issues/7","repository_url":"https://api.github.com/repos/maasdi/pentaho-mongodb-delete-plugin","labels_url":"https://api.github.com/repos/maasdi/pentaho-mongodb-delete-plugin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/maasdi/pentaho-mongodb-delete-plugin/issues/7/comments","events_url":"https://api.github.com/repos/maasdi/pentaho-mongodb-delete-plugin/issues/7/events","html_url":"https://github.com/maasdi/pentaho-mongodb-delete-plugin/issues/7","id":351017017,"node_id":"MDU6SXNzdWUzNTEwMTcwMTc=","number":7,"title":"Unable to connect with mongo","user":{"login":"MuhammadAdeelUsman","id":25310821,"node_id":"MDQ6VXNlcjI1MzEwODIx","avatar_url":"https://avatars1.githubusercontent.com/u/25310821?v=4","gravatar_id":"","url":"https://api.github.com/users/MuhammadAdeelUsman","html_url":"https://github.com/MuhammadAdeelUsman","followers_url":"https://api.github.com/users/MuhammadAdeelUsman/followers","following_url":"https://api.github.com/users/MuhammadAdeelUsman/following{/other_user}","gists_url":"https://api.github.com/users/MuhammadAdeelUsman/gists{/gist_id}","starred_url":"https://api.github.com/users/MuhammadAdeelUsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MuhammadAdeelUsman/subscriptions","organizations_url":"https://api.github.com/users/MuhammadAdeelUsman/orgs","repos_url":"https://api.github.com/users/MuhammadAdeelUsman/repos","events_url":"https://api.github.com/users/MuhammadAdeelUsman/events{/privacy}","received_events_url":"https://api.github.com/users/MuhammadAdeelUsman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-16T00:50:06Z","updated_at":"2018-09-26T06:53:51Z","closed_at":"2018-09-26T06:53:51Z","author_association":"NONE","body":"Hi Guys, \r\ni'm trying to remove all record from my mongo collection. but mongo delete plugin giving me connection error. Same connection credential working in mongo input and output step.Difference between mongo input and delete plungin is mongo delete plungin option don't have option authenticated database.\r\nwe got following error \r\nInvalid database name format. Database name is either empty or it contains spaces.\r\ndetail of error is here can anybody help to solve this\r\n\r\norg.pentaho.di.core.exception.KettleException: \r\njava.lang.IllegalArgumentException: Invalid database name format. Database name is either empty or it contains spaces.\r\nInvalid database name format. Database name is either empty or it contains spaces.\r\n\r\n\tat com.github.maasdi.mongo.wrapper.NoAuthMongoClientWrapper.getDatabaseNames(NoAuthMongoClientWrapper.java:374)\r\n\tat com.github.maasdi.di.trans.steps.mongodbdelete.MongoDbDeleteDialog.setupDBNames(MongoDbDeleteDialog.java:974)\r\n\tat com.github.maasdi.di.trans.steps.mongodbdelete.MongoDbDeleteDialog.access$1500(MongoDbDeleteDialog.java:83)\r\n\tat com.github.maasdi.di.trans.steps.mongodbdelete.MongoDbDeleteDialog$10.widgetSelected(MongoDbDeleteDialog.java:470)\r\n\tat org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\r\n\tat com.github.maasdi.di.trans.steps.mongodbdelete.MongoDbDeleteDialog.open(MongoDbDeleteDialog.java:911)\r\n\tat org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:120)\r\n\tat org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8949)\r\n\tat org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3291)\r\n\tat org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:785)\r\n\tat org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\r\n\tat org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.open(MongoDbInputDialog.java:1091)\r\n\tat org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:120)\r\n\tat org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8949)\r\n\tat org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3291)\r\n\tat org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:785)\r\n\tat org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\r\n\tat org.pentaho.di.ui.trans.steps.mongodbinput.MongoDbInputDialog.open(MongoDbInputDialog.java:1091)\r\n\tat org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:120)\r\n\tat org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8949)\r\n\tat org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3291)\r\n\tat org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:785)\r\n\tat org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\r\n\tat org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1375)\r\n\tat org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:8104)\r\n\tat org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9466)\r\n\tat org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:701)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)\r\nCaused by: java.lang.IllegalArgumentException: Invalid database name format. Database name is either empty or it contains spaces.\r\n\tat com.mongodb.DB.<init>(DB.java:67)\r\n\tat com.mongodb.DBApiLayer.<init>(DBApiLayer.java:58)\r\n\tat com.mongodb.Mongo.getDB(Mongo.java:344)\r\n\tat com.mongodb.DBPort$SaslAuthenticator.getDatabase(DBPort.java:928)\r\n\tat com.mongodb.DBPort$SaslAuthenticator.sendSaslStart(DBPort.java:935)\r\n\tat com.mongodb.DBPort$SaslAuthenticator.authenticate(DBPort.java:898)\r\n\tat com.mongodb.DBPort.authenticate(DBPort.java:432)\r\n\tat com.mongodb.DBPort.checkAuth(DBPort.java:443)\r\n\tat com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:293)\r\n\tat com.mongodb.DBTCPConnector.call(DBTCPConnector.java:273)\r\n\tat com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84)\r\n\tat com.mongodb.DB.command(DB.java:320)\r\n\tat com.mongodb.DB.command(DB.java:299)\r\n\tat com.mongodb.DB.command(DB.java:374)\r\n\tat com.mongodb.Mongo.getDatabaseNames(Mongo.java:373)\r\n\tat com.github.maasdi.mongo.wrapper.NoAuthMongoClientWrapper.getDatabaseNames(NoAuthMongoClientWrapper.java:369)\r\n\t... 51 more\r\n"},"comment":{"url":"https://api.github.com/repos/maasdi/pentaho-mongodb-delete-plugin/issues/comments/424605662","html_url":"https://github.com/maasdi/pentaho-mongodb-delete-plugin/issues/7#issuecomment-424605662","issue_url":"https://api.github.com/repos/maasdi/pentaho-mongodb-delete-plugin/issues/7","id":424605662,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDYwNTY2Mg==","user":{"login":"maasdi","id":1782263,"node_id":"MDQ6VXNlcjE3ODIyNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1782263?v=4","gravatar_id":"","url":"https://api.github.com/users/maasdi","html_url":"https://github.com/maasdi","followers_url":"https://api.github.com/users/maasdi/followers","following_url":"https://api.github.com/users/maasdi/following{/other_user}","gists_url":"https://api.github.com/users/maasdi/gists{/gist_id}","starred_url":"https://api.github.com/users/maasdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maasdi/subscriptions","organizations_url":"https://api.github.com/users/maasdi/orgs","repos_url":"https://api.github.com/users/maasdi/repos","events_url":"https://api.github.com/users/maasdi/events{/privacy}","received_events_url":"https://api.github.com/users/maasdi/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T06:53:51Z","updated_at":"2018-09-26T06:53:51Z","author_association":"OWNER","body":"This issue has been resolved, thanks to Yiwu.\r\nAs of now, you need to do manual installation (Please follow the instructions at the main page) until my pull request to pentaho marketplace to update request  merged."}}
{"actor":{"display_login":"maasdi"}}