datacleaner / DataCleaner

The premier open source Data Quality solution
GNU Lesser General Public License v3.0
598 stars 181 forks source link

Error connecting to Salesforce #1792

Open choyixi opened 6 years ago

choyixi commented 6 years ago

When I connect to Salesforce and try to build job, in DC CE 5.1.5, it only loaded 50 out 200 tables. Only 10 tables were displaying properly, and all other tables had no column and can not be dragged to canvas to previewed.

In DC CE 5.4.2, I can't see any tables and I get the following error. image

` Unexpected error!

Message:

java.lang.IllegalStateException: Failed to invoke describeGlobal service: null

Level: SEVERE Stack Trace: Failed to invoke describeGlobal service: null org.apache.metamodel.salesforce.SalesforceUtils.wrapException(SalesforceUtils.java:53) org.apache.metamodel.salesforce.SalesforceSchema$1.fetch(SalesforceSchema.java:58) org.apache.metamodel.salesforce.SalesforceSchema$1.fetch(SalesforceSchema.java:50) org.apache.metamodel.util.LazyRef.get(LazyRef.java:47) org.apache.metamodel.salesforce.SalesforceSchema.getTables(SalesforceSchema.java:83) org.apache.metamodel.schema.AbstractSchema.getTableCount(AbstractSchema.java:79) org.datacleaner.windows.AnalysisJobBuilderWindowImpl.addTableToSource(AnalysisJobBuilderWindowImpl.java:487) org.datacleaner.windows.AnalysisJobBuilderWindowImpl.setDatastore(AnalysisJobBuilderWindowImpl.java:464) org.datacleaner.windows.AnalysisJobBuilderWindowImpl.setDatastore(AnalysisJobBuilderWindowImpl.java:433) org.datacleaner.panels.DatastoreManagementPanel.lambda$new$0(DatastoreManagementPanel.java:121) java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) java.desktop/java.awt.Component.processMouseEvent(Unknown Source) java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) java.desktop/java.awt.Component.processEvent(Unknown Source) java.desktop/java.awt.Container.processEvent(Unknown Source) java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Component.dispatchEvent(Unknown Source) java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) java.desktop/java.awt.Component.dispatchEvent(Unknown Source) java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) java.desktop/java.awt.EventQueue.access$600(Unknown Source) java.desktop/java.awt.EventQueue$4.run(Unknown Source) java.desktop/java.awt.EventQueue$4.run(Unknown Source) java.base/java.security.AccessController.doPrivileged(Native Method) java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.desktop/java.awt.EventQueue$5.run(Unknown Source) java.desktop/java.awt.EventQueue$5.run(Unknown Source) java.base/java.security.AccessController.doPrivileged(Native Method) java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) java.desktop/java.awt.EventDispatchThread.run(Unknown Source) `

kaspersorensen commented 6 years ago

Thank you for reporting the bug.

I think this bug probably rolls down to Apache MetaModel. I'll echo it as an issue in their bugtracker.