Changing Authentication Type produces error

StatusIDPriorityType
Open34780BlockerBug
ProfileReply
goranClient

HI,
when I try to change authentication type from Standard to Windows (or reverse) I get this error. It started several weeks ago, before it worked normaly.

System.NullReferenceException: Object reference not set to an instance of an object.
at Xafari.Security.Win.WinXafariAuthenticationViewController.WinXafariAuthenticationViewControllerEditValueChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItem.RaiseEditValueChangedCore(EventArgs e)
at DevExpress.XtraEditors.TextEdit.OnEditValueChanged()
at DevExpress.XtraEditors.PopupBaseAutoSearchEdit.OnEditValueChanged()
at DevExpress.XtraEditors.BaseEdit.OnEditValueChanging(ChangingEventArgs e)
at DevExpress.XtraEditors.TextEdit.OnEditValueChanging(ChangingEventArgs e)
at DevExpress.XtraEditors.ComboBoxEdit.set_EditValue(Object value)
at DevExpress.XtraEditors.PopupBaseEdit.AcceptPopupValue(Object val)
at DevExpress.XtraEditors.PopupBaseEdit.DoClosePopup(PopupCloseMode closeMode)
at DevExpress.XtraEditors.Popup.SimplePopupListBox.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.BaseListBoxControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Attached files:

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello goran,
Thanks for reporting the issue.

In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided using the Xafari Demo, shipped with XAF. We do not have ideas why this error can occur on your machine either.
Could you please provide us with the following info?
1. A small demo project, reproducing the problem;
2. Detailed steps to reproduce the problem.
We want to help you and are looking forward to hearing from you.

Regards,
Mariya
On behalf of Xafari Client Services Team

goranClient

Marija,
I sent you original project because it produces this specific error.
You just have to open it and change Authentication type from Standard to Windows.

Attached files:
MariyaVoytovichAgent

Hello goran!

You receive an error message because you have deleted the "Remember Password" Layout View Item from "XafariAuthenticationLogonParameters" Detail View Layout node in the model editor.
Reset the differences in the node to fix the error.
Feel free to contact us if you have any questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

MariyaVoytovichAgent

Hello goran!

At your request we will fix the problem on our side.
All information is passed on to our development team. Also a relevant issue [102.185286] registered in our issue tracking system.
You may reference to this number later to find out its state.

Feel free to contact us if you have any questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

Write US