Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method Not Found #29

Open
ajtatum opened this issue Jul 27, 2016 · 3 comments
Open

Method Not Found #29

ajtatum opened this issue Jul 27, 2016 · 3 comments

Comments

@ajtatum
Copy link

ajtatum commented Jul 27, 2016

Trying to do something really simple and get the following exception message:

var client = new HipchatClient("authtoken");
client.SendNotification("Remote Squadron Room", string.Format("Sending message to {0}", mailerMessage.ToAddresses));

{ "Message": "An error has occurred.", "ExceptionMessage": "Method not found: 'Void ServiceStack.Text.JsConfig1.set_DeSerializeFn(System.Func2<System.String,!0>)'.", "ExceptionType": "System.MissingMethodException", "StackTrace": " at HipchatApiV2.HipchatClient.ConfigureSerializer()\r\n at HipchatApiV2.HipchatClient..ctor(String authToken)\r\n at opie_mailer_api.Controllers.MailController.<Queue>d__3.MoveNext() in F:\\Users\\atatum\\Documents\\Visual Studio 2015\\Projects\\opie-mailer\\opie-mailer-api\\Controllers\\MailController.cs:line 45\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\n at opie_mailer_api.Controllers.v1_MailController.d__2.MoveNext() in F:\Users\atatum\Documents\Visual Studio 2015\Projects\opie-mailer\opie-mailer-api\Controllers\MailController.cs:line 79\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\n at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__31.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\n at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()\r\n at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()" } `

@rjcoupe
Copy link

rjcoupe commented Sep 20, 2016

+1

FWIW, this isn't working for me even with ServiceStack 4.0.56 (which seems to be the recommended version) installed:

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Hipchat-CS" version="0.0.52" targetFramework="net45" />
  <package id="ServiceStack" version="4.0.56" targetFramework="net45" />
  <package id="ServiceStack.Client" version="4.0.56" targetFramework="net45" />
  <package id="ServiceStack.Common" version="4.0.56" targetFramework="net45" />
  <package id="ServiceStack.Interfaces" version="4.0.56" targetFramework="net45" />
  <package id="ServiceStack.Text" version="4.0.56" targetFramework="net45" />
</packages>

@blitzmann
Copy link

+1, getting same error

@KyleGobel
Copy link
Owner

I don't maintain this anymore really...this is open source...feel free to fix anything you'd like

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants