Create Issue Comment
I am new to the Gemini API and I have been looking how to create an issue comment. There were no problem to get issue comment, but I had no success to create issue comment. Is the CommentID assigned automatically ? Which comment fields should be set to avoid the error below ? Any ideas where I am going wrong?
Thanks for help!
=============
Object reference not set to an instance of an object.
CounterSoft.Gemini.Presenter
at CounterSoft.Gemini.Presenter.IssuePresenter.CreateIssueComment(IssueEN issue, IssueCommentEN comment)
at CounterSoft.Gemini.Web.Api.IssuesRestHandler.CommentCreate(RequestDetails rd)
System.NullReferenceException
Exception has been thrown by the target of an invocation.
mscorlib
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at CounterSoft.Gemini.Web.Api.RestHandler.GetResponse(RequestDetails rd, MethodInfo method)
System.Reflection.TargetInvocationException
Exception has been thrown by the target of an invocation.
InternalServerError
amir
· 1 |
|
Friday, January 29, 2010, 6:03:10 PM |