{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3069","repository_url":"https://api.github.com/repos/Azure/azure-functions-host","labels_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3069/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3069/comments","events_url":"https://api.github.com/repos/Azure/azure-functions-host/issues/3069/events","html_url":"https://github.com/Azure/azure-functions-host/issues/3069","id":336504459,"node_id":"MDU6SXNzdWUzMzY1MDQ0NTk=","number":3069,"title":"System.Private.CoreLib","user":{"login":"viktor-morin","id":7755213,"node_id":"MDQ6VXNlcjc3NTUyMTM=","avatar_url":"https://avatars2.githubusercontent.com/u/7755213?v=4","gravatar_id":"","url":"https://api.github.com/users/viktor-morin","html_url":"https://github.com/viktor-morin","followers_url":"https://api.github.com/users/viktor-morin/followers","following_url":"https://api.github.com/users/viktor-morin/following{/other_user}","gists_url":"https://api.github.com/users/viktor-morin/gists{/gist_id}","starred_url":"https://api.github.com/users/viktor-morin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viktor-morin/subscriptions","organizations_url":"https://api.github.com/users/viktor-morin/orgs","repos_url":"https://api.github.com/users/viktor-morin/repos","events_url":"https://api.github.com/users/viktor-morin/events{/privacy}","received_events_url":"https://api.github.com/users/viktor-morin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T07:28:02Z","updated_at":"2018-06-28T07:28:02Z","closed_at":null,"author_association":"NONE","body":"I'm debugging my Azure Functions locally and there is no issue there. When deploy and running the remote in Azure, i get following error and I can't find any more information on whats wrong: Error] System.Private.CoreLib: Exception while executing function: Measurement. Function.PowerBI: Abandom message in AzureFunction.PowerBi.\r\n\r\nThe only thing I know is if I remove the line that call on a function from another project  in my solution the issue goes away.\r\n\r\n**Error in log**\r\n> 2018-06-27T22:34:03.561 [Error] Executed 'Measurement' (Failed, Id=2a4c1e7b-ea21-4375-a7ed-54fa9c66ff15)\r\n2018-06-27T22:34:03.671 [Error] System.Private.CoreLib: Exception while executing function: Measurement. Function.PowerBI: Abandom message in AzureFunction.PowerBi.\r\n\r\n#### Investigative information\r\n\r\nPlease provide the following:\r\n\r\n- Timestamp: 2018-06-28\r\n- Function App version (1.0 or 2.0-beta): 2.0.11888-alpha (Nuget 1.0.14 SDK Functions)\r\n- Function App name: Function.PowerBI\r\n- Function name(s) (as appropriate): Measurement\r\n- Invocation ID: fa1b1474-d524-4841-bc54-b5828ad9244b\r\n- Region: West Europe\r\n#### Repro steps\r\n\r\n#### Known workarounds\r\n\r\nRemove this line, but all functionallity is in this line. Work locally\r\n\r\n```csharp\r\nvar result = await PowerBiService.AddRow(powerBiMeasurement);\r\n```\r\n\r\n#### Related information \r\n\r\n\r\n\r\n* Programming language used \r\nC#\r\n* Nuget used\r\n**In Azure function project**\r\nMicrosoft.Azure.Management.ServiceBus 1.3.0\r\nMicrosoft.Azure.WebJobs.ServiceBus 3.0.0-beta5\r\nMicrosoft.NET.Sdk.Functions 1.0.14\r\nNETStandard.Library 2.0.3\r\nNewtonsoft.Json 11.0.2\r\n**In the project where the function is called which makes the error occur**\r\nMicrosoft.CSharp 4.5.0\r\nMicrosoft.IdentityModel.Clients.ActiveDirectory 3.19.8\r\nNETStandard.Library 2.0.3\r\nSystem.Dynamic.Runtime 4.3.0\r\n\r\n* Bindings used\r\nServicebus binding\r\n\r\n```csharp\r\n[FunctionName(\"Measurement\")]\r\npublic static async Task Measurement([ServiceBusTrigger(Topic.Measurement, Subscription.PowerBi, Connection = \"servicebusconnectionstring\")] Message message, TraceWriter log)\r\n{\r\n\tif (!MessageHandler.Validate(message, Subscription.PowerBi))\r\n\t\treturn;\r\n\r\n\tvar json = Encoding.UTF8.GetString(message.Body);\r\n\tvar messageCounter = message.SystemProperties.DeliveryCount;\r\n\r\n\ttry\r\n\t{\r\n\t\tvar measurement = Validator.ValidateCloudMeasurement(json);\r\n\t\tif (measurement != null)\r\n\t\t{\r\n\t\t\tvar powerBiMeasurement = measurement.ToPowerBiMeasurement();\r\n\t\t\tvar result = await PowerBiService.AddRow(powerBiMeasurement);\r\n\t\t\tif (!result)\r\n\t\t\t\tthrow new PowerBiCommandException($\"PowerBiService.AddRows returned value: {result}\");\r\n\t\t}\r\n\t}\r\n\tcatch (Exception e)\r\n\t{\r\n\t\tEventLogger.LoggException(\"Function.PowerBi.Measurement\", e, new Dictionary<string, string>() { { \"Messsage\", json } });\r\n\t\tif (messageCounter >= 5)\r\n\t\t{\r\n\t\t\tEventLogger.LoggEvent(\"DeadLetterQueue\", new Dictionary<string, string>() { { \"Function\", \"Function.PowerBi.Measurement\" }, { \"Messsage\", json } });\r\n\t\t\tawait QueueService.SendAsync(Queue.Deadletter, JsonConvert.DeserializeObject<CloudMeasurement>(json), Topic.Measurement, Subscription.PowerBi);\r\n\t\t}\r\n\t\telse\r\n\t\t\tthrow new MessageAbandonException($\"Abandom message in AzureFunction.PowerBi\");\r\n\t}\r\n}\r\n```\r\nI need to know how I can find out what the issue is, been looking into the Kodu logs but dont say more then \"System.Private.CoreLib: Exception while executing function: Measurement\"\r\n\r\nCheers"}}
{"actor":{"display_login":"viktor-morin"}}