Getting error while opening/accessing the published data source in studio

Getting error while opening/accessing the published data source in studio

book

Article ID: KB0082400

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 7.0.6,7.0.5,

Description

Getting error while opening/accessing the published data source in studio

ERROR 2018-03-09 08:54:59.182 -0800 ErrorDialog - User Exception Occurred
com.compositesw.common.UserException: com.compositesw.cdms.webapi.WDataSource.fetchODInfo()Lcom/compositesw/cdms/webapi/ODInfo; [Log ID: f77aa95c-895b-4843-b454-7c7afcb6fdc1] 
    at com.compositesw.common.UserException$Builder.build(UserException.java:161)
    at com.compositesw.ui.common.component.ErrorDialog.initDialog(ErrorDialog.java:129)
    at com.compositesw.ui.common.component.ErrorDialog.<init>(ErrorDialog.java:41)
    at com.compositesw.ui.modeler.utility.Utility.handleException(Utility.java:1541)
    at com.compositesw.ui.modeler.utility.Utility.handleException(Utility.java:1205)
    at com.compositesw.ui.modeler.utility.Utility.handleException(Utility.java:1179)
    at com.compositesw.ui.common.editor.EditorManager.edit(EditorManager.java:128)
    at com.compositesw.ui.common.editor.EditorManager.edit(EditorManager.java:93)
    at com.compositesw.ui.common.action.OpenAction.doit(OpenAction.java:44)
    at com.compositesw.ui.common.action.ActionManager.doAction(ActionManager.java:471)
    at com.compositesw.ui.common.action.CsAction.invoke(CsAction.java:229)
    at com.compositesw.ui.common.action.CsAction.actionPerformed(CsAction.java:382)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: com.compositesw.cdms.webapi.WDataSource.fetchODInfo()Lcom/compositesw/cdms/webapi/ODInfo;
    at com.compositesw.ui.modeler.view.odata.ODataView.loadData(ODataView.java:202)
    at com.compositesw.ui.modeler.view.odata.ODataView.edit(ODataView.java:107)
    at com.compositesw.ui.modeler.editor.compositedatasource.CompositeDataSourceEditor.doEdit(CompositeDataSourceEditor.java:46)
    at com.compositesw.ui.modeler.editor.NamespaceEditor.edit(NamespaceEditor.java:92)
    at com.compositesw.ui.common.editor.EditorManager.edit(EditorManager.java:125)
    ... 43 more
 

Issue/Introduction

Getting-error-while-opening-accessing-the-published-data-source-in-studio

Environment

Any

Resolution

If you encounter the above error message then please verify the studio and server version. If studio and server are not on the same version then please upgrade the studio/server and bring it to the same version. That should help to resolve the issue.

This error usually happen when OData API version is not matched between studio and server so in order to resolve the issue, TDV studio and server should be on the same version.