Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Gemini Desktop : error at issue creation

web-app

Hello,

I got an error when I try to create an issue in offline mode with Gemini Desktop.

See the stack trace below .

Best regards

Olivier

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

*** Exception Text ***
System.NullReferenceException: Object reference not set to an instance of an object.
   at CounterSoft.GeminiLib.WSIssueEN.GetCustomFieldData(Int32 customFieldID)
   at CounterSoft.Gemini.Desktop.GeminiWinBiz.Util.CreateDataTableFromWSIssueEN(WSIssueWrapper[] issues, DataTable dt)
   at CounterSoft.Gemini.Desktop.FormMain.SetIssues(WSIssueWrapper[] issues)
   at CounterSoftGemini.Desktop.GeminiWinControls.FiltersPanel.ShowIssues(IssuesFilterEN filter, Boolean bSetIssues, Boolean bDownload)
   at CounterSoftGemini.Desktop.GeminiWinControls.FiltersPanel.Dofilter(Boolean bDownload)
   at CounterSoftGemini.Desktop.GeminiWinControls.FiltersPanel.Dofilter()
   at CounterSoft.Gemini.Desktop.FormMain.IssueChanged(Int32 issueID)
   at CounterSoft.Gemini.Desktop.GeminiWinBiz.IssuesControler.IssueUpdated(Int32 issueID)
   at CounterSoft.Gemini.Desktop.GeminiWinBiz.IssueWinBiz.CreateIssue(WSIssueWrapper issue)
   at CounterSoft.Gemini.Desktop.FormViewEditIssue.btnSave_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

epsilon
· 1
epsilon
Replies (9)
helpful
0
not helpful

Do you have custom fields defined for that project? If so what type are they?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, we have 3 custom fields : one dropdownlist and two edit boxes.

All these fields are active, visible, and were filled when the error occured.

Thanks,

Olivier


epsilon
· 1
epsilon
helpful
0
not helpful

Does this error always occur? Can you update offline issues?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, it always occurs.

I can update offline issues.


epsilon
· 1
epsilon
helpful
0
not helpful

We are able to replicate this only if we do not enter the custom fields tab.

Do you have default values for the custom fields? Do you enter the custom fields tab?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I have3 custom fields, one dropdown and two editboxes. Only the dropdown list has a default value.

The error also occurs when I enter the custom fields tab, then choose an item in the dropdown list and type some text in the editboxes.


epsilon
· 1
epsilon
helpful
0
not helpful

I've made following test :

If I suppress my dropdown list custom field I can create issues offline without errors.

I think the problem is related with the lookup table and fields.

 


epsilon
· 1
epsilon
helpful
0
not helpful

Thanks for this, we can re-create it now.

This is to do with lookup fields that have default value.

a workaround, until a fix is released, is to not give a default value to a lookup custom field.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

OK, I will remove the default value

Thanks for your prompt answers

Olivier


epsilon
· 1
epsilon