In Progress

Error when creating organization objects

Hello,

I'm using Bizagi Studio 10.5 with Oracle Database.

Not that the following error doesn't occur when using SQL Express Database.

When I try to create a new Position, Location, Area, Roles, Skills and anything else under Organization Tab into Modudes the application throw the following error (prints attached).

Unable to cast object of type 'Vision.DA.CSqlParameter' to type 'Vision.DA.COracleParameter'.

System.InvalidCastException: Unable to cast object of type 'Vision.DA.CSqlParameter' to type 'Vision.DA.COracleParameter'. at Vision.DA.COracleDataProvider.AddParameter(IParameter oParameter) at BizAgiStudio.OrganizationPlugIn.FrmOrganization.DisplayNameCount(String sql, String displayName) at BizAgiStudio.OrganizationPlugIn.FrmOrganization.SaveValues() at BizAgiStudio.OrganizationPlugIn.FrmOrganization.btnApply_Click(Object sender, EventArgs e) at DevComponents.DotNetBar.ButtonX.OnClick(EventArgs e) at DevComponents.DotNetBar.ButtonX.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

After click on "Continue" button, an new error message is show.

Index 0 is either negative or above rows count.

System.IndexOutOfRangeException: Index 0 is either negative or above rows count. at System.Data.DataView.GetRow(Int32 index) at BizAgiStudio.OrganizationPlugIn.CSimpleNode.AssignName() at BizAgiStudio.OrganizationPlugIn.CSimpleNode..ctor(Int32 idvalue, Hashtable htFields, CTreeNodeBase parentNode, Boolean BSNode, Boolean bReadOnly) at BizAgiStudio.OrganizationPlugIn.CSimpleRootNode.NewSimpleNodeCmdHandler(Object sender, EventArgs e) at BizAgi.Admin.Forms.PopupMenuManager.OnPopupToolClick(Object sender, ToolClickEventArgs e) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e) at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e) at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.DoClickProcessing(MouseEventArgs e) at Infragistics.Win.UltraWinToolbars.PopupMenuItemUIElement.OnMouseUp(MouseEventArgs e) at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e) at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e) at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e) at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e) at Infragistics.Win.UltraWinToolbars.PopupControlBase.OnMouseUp(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

photo
0

Dear Fernando,

In order to best help you to solve this problem, we would like to know if the project is new or if it is updated. In addition, we would like to know the Oracle version.

Thank you in advance,

Best regards

photo
0

Hello Juan,

This is a new project, I created another project using oracle and I had the same error again.

The weird thing is that I successfully created objects using organization Performers step Wizard, but I think that, in long term, it's not practical

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionPL/SQL Release 11.2.0.4.0 - ProductionCORE11.2.0.4.0ProductionTNS for Linux: Version 11.2.0.4.0 - ProductionNLSRTL Version 11.2.0.4.0 - Production

Thanks for all the support

photo
0

Dear Fernando,

Thank you very much for your feedback. It is now much clear for me. We will work on it and as soon as possible, we will write back.

Regards

photo
0

Dear Fernando,

A member of our support team will contact you.

Best Regards