I posted another post with the same issue. There is a simple Xamarin solution on github that you can download and run here. Please do.
It seems that calling System.Net.WebClient.DownloadDataTaskAsync in DEBUG mode on my Xperia Z3 (it works just fine with an emulator) the first time throws a NullReferenceException in System.Threading.Tasks.Task.Schedule:
public async Task<String> DownloadString(String url)
{
if (UseAuth)
webclient.Headers.Set("Authorization", TokenType + " " + AccessToken);
else if (!UseAuth && webclient.Headers["Authorization"] != null)
webclient.Headers.Remove("Authorization");
String response = "";
try
{
byte[] data = await webclient.DownloadDataTaskAsync(url);
response = Encoding.UTF8.GetString(data);
}
catch (WebException e)
{
response = new StreamReader (e.Response.GetResponseStream ()).ReadToEnd ();
ErrorResponse = JsonConvert.DeserializeObject<ErrorResponse> (response, settings);
if (ErrorResponse.Error.Status == 401 && ErrorResponse.Error.Message == "The access token expired") {
Console.WriteLine ("Error: " + ErrorResponse.Error.Status + " - " + ErrorResponse.Error.Message);
}
}
return response;
}
This code solves the problem, but I think it's a dirty fix and it doesn't really address the underlying problem.
public async Task<String> DownloadString(String url)
{
if (UseAuth)
webclient.Headers.Set("Authorization", TokenType + " " + AccessToken);
else if (!UseAuth && webclient.Headers["Authorization"] != null)
webclient.Headers.Remove("Authorization");
String response = "";
var failCount = 2;
for (int i = 0; i <= failCount; i++)
{
try
{
byte[] data = await webclient.DownloadDataTaskAsync(url);
response = Encoding.UTF8.GetString(data);
}
catch (WebException e)
{
if (i == failCount)
{
response = new StreamReader(e.Response.GetResponseStream()).ReadToEnd();
ErrorResponse = JsonConvert.DeserializeObject<ErrorResponse>(response, settings);
if (ErrorResponse.Error.Status == 401 && ErrorResponse.Error.Message == "The access token expired")
{
Console.WriteLine ("Error: " + ErrorResponse.Error.Status + " - " + ErrorResponse.Error.Message);
}
// Break out of the loop
break;
}
}
}
return response;
}
System.NullReferenceException: Object reference not set to an instance
of an object System.Threading.Tasks.Task.Schedule (Boolean
throwException) [0x00000] in :0 at System.Threading.Tasks.Task.Start
(System.Threading.Tasks.TaskScheduler scheduler) [0x00000] in :0 at
System.Threading.Tasks.TaskFactory.StartNew[WebRequest] (System.Func1
function, CancellationToken cancellationToken, TaskCreationOptions
creationOptions, System.Threading.Tasks.TaskScheduler scheduler)
[0x00000] in :0 at
System.Threading.Tasks.TaskFactory.StartNew[WebRequest] (System.Func1
function) [0x00000] in :0 at System.Net.WebClient.SetupRequestAsync
(System.Uri address) [0x00000] in :0 at
System.Net.WebClient+c__async0.MoveNext () [0x00000] in :0 --- End of
inner exception stack trace --- at
System.Net.WebClient+c__async0.MoveNext () [0x00000] in :0 --- End of
stack trace from previous location where exception was thrown --- at
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
[0x00000] in :0 at
System.Runtime.CompilerServices.TaskAwaiter`1[System.Byte[]].GetResult
() [0x00000] in :0 at
SpotifyWebAPI.SpotifyWebAPIClass+c__async1A.MoveNext () [0x00133]
System.Net.WebException
Here is a screenshot from Xamarin Studio
The problem only happens with my device and DEBUG build mode. In RELEASE it works perfectly and on the emulator it works on both DEBUG and RELEASE.
As stated in the original post, calling System.WebClient.DownloadDataTaskAsync a second, third or Nth time all result in normal behaviour. It also only occur when I use a Spotify Android SDK Java binding project and call OpenLoginWindow() (which opens another activity, logs in and returns successfully) prior to calling DownloadDataTaskAsync.
Related
I have a Web service which works fine in production environment.
But sometimes (randomly) an exception is raised :
à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean
includeTaskCanceledExceptions)\r\n à
System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)\r\n à System.Threading.Tasks.Task1.get_Result()\r\n à
fctSendRequestSynchrone[T](String sRequest, enumHttpMethod eMethod,
Object oParams)\r\n à API.csRestApi.d__0`1.MoveNext()"
Here is my code :
.........
//Here is the line which raises the exception :
fctSendRequestSynchrone<string>(string.Format("logs/{0}/message", _lIdLog), cs.enumHttpMethod.POST, oLogLigne);
.........
//-------------------------------------------------------------------------------------
private T fctSendRequestSynchrone<T>(string sRequest, csRestApi.enumHttpMethod eMethod, object oParams = null)
{
Task<T> otask = SendRequest<T>(sRequest, eMethod, oParams);
return otask.Result;
}
//-------------------------------------------------------------------------------------
public async Task<T> SendRequest<T>(string sAction, enumHttpMethod eMethod, object oParams = null)
{
string sResponse = string.Empty;
T oValue;
using (var oClient = new HttpClient(new LogginHandler(_oCnx, new HttpClientHandler())))
{
oClient.DefaultRequestHeaders.Accept.Clear();
oClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
string sRequest = string.Concat(_sUrlApi, "/", sAction);
if (_oToken != null)
{
oClient.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue(_oToken["token_type"], _oToken
["access_token"]);
}
using (HttpResponseMessage oResponse = await oClient.PostAsJsonAsync(sRequest, oParams))
{
if (oResponse.IsSuccessStatusCode)
{
HttpContent content = oResponse.Content;
sResponse = await content.ReadAsStringAsync();
}
else
{
throw new RestApiException(oResponse);
}
}
}
oValue = JsonConvert.DeserializeObject<T>(sResponse);
return oValue;
}
Do you have an idea ?
Thank you very much in advance.
Eric
Roman Kalinchuk, Crowcoder : thanks for your replies.
Roman Kalinchuk :
Here is the entire stacktrace :
à System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n à System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\r\n à System.Threading.Tasks.Task`1.get_Result()\r\n à logs.csLogWS.fctSendRequestSynchrone[T](String sRequest, enumHttpMethod eMethod, Object oParams)\r\n à logs.csLogWS.sbrErrorLigneRejet(String sMessage, String sCdRejet, Exception oException)\r\n à logs.csLogWS.ligneLogInformation(String sMessage)\r\n à Importation.Program.sbrImportUnitaire(String sCdInfImp, String sFileNameIn, String sFileStructure, String sLiProcedure, String[] args)| à Service.API.csRestApi.<SendRequest>d__0`1.MoveNext()".
I simplified it in my preceding question post.
The application is on production environment, do I have to put pdb files on production server in order to get more stacktrace ?
Crowcoder : do you mean that .Result is waiting while SendRequest is waiting too ? What would you suggest ?
I'm trying to call LoadPickerData method to load the result in a Picker using async/await from the a ViewModel. I get the following error:
Error
System.AggregateException
Message=One or more errors occurred. (A task was canceled.)
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2027
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466
at EmployeeApp.Helpers.ConnectivityHelper.CheckConnectivity () [0x00049] in F:\Workspace\BajaDev\MPA\_Project\EmployeeApp\Helpers\ConnectivityHelper.cs:34
at EmployeeApp.Helpers.ConnectivityHelper.get_IsConnected () [0x00000] in F:\Workspace\BajaDev\MPA\_Project\EmployeeApp\Helpers\ConnectivityHelper.cs:21
at EmployeeApp.ViewModels.BaseViewModel.get_ServiceAreaStore () [0x00000] in F:\Workspace\BajaDev\MPA\_Project\EmployeeApp\ViewModels\BaseViewModel.cs:27
at EmployeeApp.ViewModels.MailboxViewModel.GetPickerServiceArea () [0x0000f] in F:\Workspace\BajaDev\MPA\_Project\EmployeeApp\ViewModels\MailboxViewModel.cs:60
at EmployeeApp.MailboxPage.LoadPickerData () [0x0002b] in F:\Workspace\BajaDev\MPA\_Project\EmployeeApp\Views\MailBoxPage.xaml.cs:70
at EmployeeApp.MailboxPage.OnAppearing () [0x0002c] in F:\Workspace\BajaDev\MPA\_Project\EmployeeApp\Views\MailBoxPage.xaml.cs:31
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2019-08/android/release/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1021
at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in <06692e0cad5848598a0f46942a89e99f>:0
at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in <06692e0cad5848598a0f46942a89e99f>:0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in <06692e0cad5848598a0f46942a89e99f>:0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.44(intptr,intptr)
I'm trying to load the result of a GET request in a picker, but when I start the app the first time, it does not and I get the previous exception and the second time I run it I no longer get that error.
I looked for why and I was making the call of an asynchronous method in a constructor and that is bad code, I changed it to an OnAppearing () method but still that exception keeps coming out and I don't have idea the why yet
MailboxPage.xaml.cs
public MailboxPage()
{
InitializeComponent();
BindingContext = viewModel = new MailboxViewModel();
}
protected override async void OnAppearing()
{
base.OnAppearing();
await LoadPickerData();
}
private async Task<IEnumerable<ServiceArea>> LoadPickerData()
{
var vm = new MailboxViewModel();
var servicesareas = await vm.GetPickerServiceArea();
try
{
ServiceAreaPicker.ItemsSource = servicesareas.ToList();
ServiceAreaPicker.ItemDisplayBinding = new Binding("Name");
}
catch(AggregateException ae)
{
foreach (var e in ae.Flatten().InnerExceptions)
{
Debug.WriteLine($"{e.GetType().FullName} { e.Message}");
}
}
return servicesareas;
}
MailboxViewModel.cs
public async Task<IEnumerable<ServiceArea>> GetPickerServiceArea()
{
try
{
PickerItems = await ServiceAreaStore.GetPickerItemsAsync(true);
foreach (var item in PickerItems)
Items.Add(item);
}
catch (AggregateException ae)
{
foreach (var e in ae.Flatten().InnerExceptions)
{
Debug.WriteLine($"{e.GetType().FullName} { e.Message}");
}
}
return PickerItems;
}
ServiceAreaStoreAPI.cs
public async Task<IEnumerable<ServiceArea>> GetPickerItemsAsync(bool forceRefresh = false)
{
if (forceRefresh)
{
var json = await Client.GetStringAsync($"api/servicearea");
Servicesareas = await Task.Run(() => JsonConvert.DeserializeObject<IEnumerable<ServiceArea>>(json));
try
{
var success = LocalDatabase.AddItemsAsync(Servicesareas);
if (!success.Result)
{
//Log de fallo en la insercion de datos.
}
}
catch(AggregateException ae)
{
foreach (var e in ae.Flatten().InnerExceptions)
{
Debug.WriteLine($"{e.GetType().FullName} { e.Message}");
}
}
}
return Servicesareas;
}
In your ServiceAreaStoreAPI, you don't await a task which might be causing your issue since it'll continue on and return a canceled result.
var success = LocalDatabase.AddItemsAsync(Servicesareas);
If you have used the Task.Wait() method in the method body, then adding the async keyword to the method will fix this issue. Ex:
public async Task<ActionResult> Delete(int id) { }
I don't know what is wrong with my code because everything seems to be correct. Therefore I want to use App Center to find the issue. I have an iOS application and a similar Android application. I uploaded the applications to the Apple App Store and Google Play Store. The applications are in alpha/test mode in both stores. After that, I installed the applications on my iOS and Android device and App Center logged the stack traces after the exception happened but I still cannot find the issue because the stack traces are not detailed enough.
On Android, PlayFab receipt validation always fails and I get this exception
System.NullReferenceException(Object reference not set to an instance of an object.).
On iOS, I think PlayFab receipt validation never fails but I sometimes get the same exception
System.NullReferenceException(Object reference not set to an instance of an object.).
The variables PurchaseditemCurrencyCode, PurchaseditemPurchasePrice, SignedData and Signature are not null and I think that they have the correct values because I can see in my Google Play account that the in-app product purchase is successful, but in the PlayFab Game Manager receipt validation fails.
PlayFab iOS and Android receipt validation
My values on Android:
PurchaseditemCurrencyCode = "EUR",
PurchaseditemPurchasePrice = 229,
SignedData = "{\"orderId\":..." and Signature = "eMU3xCYDD4L..."
My Android stack trace:
{
"length": 0,
"offset": 0,
"id": "63783019-f17b-47e1-8865-4e6290f43fbd",
"exception": {
"type": "System.NullReferenceException",
"message": "Object reference not set to an instance of an object",
"stackTrace": " at ggdgdgd.Android.Game1.ValidateAndroidReceiptAsync (System.String purchaseditemcurrencycode, System.Int32 purchaseditempurchaseprice, System.String signeddata, System.String signature) [0x000c3] in <11446e8c56cb4e78a270889c3b890601>:0 \n at ggdgdgd.Android.Game1.DoValidateAndroidReceiptAsync (System.String purchaseditemcurrencycode, System.Int32 purchaseditempurchaseprice, System.String signeddata, System.String signature) [0x0007a] in <11446e8c56cb4e78a270889c3b890601>:0 \n at ggdgdgd.Android.Game1.CheckPurchase (System.String productId) [0x0030a] in <11446e8c56cb4e78a270889c3b890601>:0 ",
"wrapperSdkName": "appcenter.xamarin"
},
My values on iOS:
PurchaseditemCurrencyCode = "EUR",
PurchaseditemPurchasePrice = 229,
SignedData = "MllVSAYJK..."
My iOS stack trace:
{
"length": 0,
"offset": 0,
"id": "71aef385-bb48-44d7-b59d-a53368c72c66",
"exception": {
"type": "System.NullReferenceException",
"message": "Object reference not set to an instance of an object",
"stackTrace": " at InapppurchaseTest.iOS.Game1.ValidateIOSReceiptAsync (System.String purchaseditemcurrencycode, System.Int32 purchaseditempurchaseprice, System.String signeddata, System.String signature) <0x1047fa730 + 0x002dc> in <f7cd0204315c470baa0e7963fe272e8d#b28b8328fb987f6bc8a6ed35dda86f7b>:0 \n at InapppurchaseTest.iOS.Game1.DoValidateIOSReceiptAsync (System.String purchaseditemcurrencycode, System.Int32 purchaseditempurchaseprice, System.String signeddata, System.String signature) <0x1047fa4e0 + 0x00183> in <f7cd0204315c470baa0e7963fe272e8d#b28b8328fb987f6bc8a6ed35dda86f7b>:0 \n at InapppurchaseTest.iOS.Game1.CheckPurchase (System.String productId) <0x1047f7a00 + 0x0041f> in <f7cd0204315c470baa0e7963fe272e8d#b28b8328fb987f6bc8a6ed35dda86f7b>:0 ",
"wrapperSdkName": "appcenter.xamarin"
},
It's impossible for me to find the issue with the current stack traces. Is it possible to get a more detailed stack trace in Visual Studio App Center?
I think that there is something wrong with PlayFabClientAPI.ValidateIOSReceiptAsync and PlayFabClientAPI.ValidateGooglePlayPurchaseAsync but I don't know what.
My Android and iOS code:
string SignedData = "", Signature = "", PurchaseditemCurrencyCode = "", PurchaseMessage = "";
int PurchaseditemPurchasePrice;
async void CheckPurchase(string productId)
{
bool purchaseIsSuccessful = await PurchaseItem(productId, "");
if (purchaseIsSuccessful == true)
{
try
{
if (Device.RuntimePlatform == Device.iOS)
{
if (productId == "Consumable11")
await DoValidateIOSReceiptAsync(PurchaseditemCurrencyCode, PurchaseditemPurchasePrice, SignedData);
}
else
{
if (Device.RuntimePlatform == Device.Android)
{
if (productId == "Consumable11")
await DoValidateAndroidReceiptAsync(PurchaseditemCurrencyCode, PurchaseditemPurchasePrice, SignedData, Signature);
}
}
}
catch (NullReferenceException ex)
{
Crashes.TrackError(ex);
}
}
else
{
PurchaseMessage = "Product could not be purchased";
}
}
public async Task DoValidateAndroidReceiptAsync(string purchaseditemcurrencycode, int purchaseditempurchaseprice, string signeddata, string signature)
{
await ValidateAndroidReceiptAsync(purchaseditemcurrencycode, purchaseditempurchaseprice, signeddata, signature);
}
private async Task ValidateAndroidReceiptAsync(string purchaseditemcurrencycode, int purchaseditempurchaseprice, string signeddata, string signature)
{
var result = await PlayFabClientAPI.ValidateGooglePlayPurchaseAsync(new ValidateGooglePlayPurchaseRequest()
{
CurrencyCode = purchaseditemcurrencycode,
PurchasePrice = (uint)purchaseditempurchaseprice,
ReceiptJson = signeddata,
Signature = signature
});
if (result.Error != null)
PlayFabMessage = "not successful");
else
PlayFabMessage = "successful");
}
public async Task DoValidateIOSReceiptAsync(string purchaseditemcurrencycode, int purchaseditempurchaseprice, string signeddata)
{
await ValidateIOSReceiptAsync(purchaseditemcurrencycode, purchaseditempurchaseprice, signeddata);
}
private async Task ValidateIOSReceiptAsync(string purchaseditemcurrencycode, int purchaseditempurchaseprice, string signeddata)
{
var result = await PlayFabClientAPI.ValidateIOSReceiptAsync(new ValidateIOSReceiptRequest()
{
CurrencyCode = purchaseditemcurrencycode,
PurchasePrice = purchaseditempurchaseprice,
ReceiptData = signeddata
});
if (result.Error != null)
PlayFabMessage = "not successful");
else
PlayFabMessage = "successful");
}
It seems that your result can be null and you are not checking that. That's the only point of failure that I can see.
I am trying to make multiplayer game via Unity. I use sample asset to try and I get an error which is in below:
InvalidOperationException: Cannot override system-specified headers
UnityEngine.Networking.UnityWebRequest.SetRequestHeader (System.String name, System.String value) (at C:/buildslave/unity/build/artifacts/generated/common/modules/UnityWebRequest/WebRequestBindings.gen.cs:482)
UnityEngine.WWW..ctor (System.String url, System.Byte[] postData, System.Collections.Generic.Dictionary`2 headers) (at C:/buildslave/unity/build/Runtime/WebRequestWWW/UWRWWW.cs:62)
QuizMaker.Administrator.AdminAPI+<api_call>c__Iterator0`1[QuizMaker.Administrator.CheckConnectionResponse].MoveNext () (at Assets/QuizMaker/Scripts/Administrator/AdminAPI.cs:77)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
QuizMaker.Administrator.AdminAPI:CheckConnection(Callback`1) (at Assets/QuizMaker/Scripts/Administrator/AdminAPI.cs:227)
QuizMaker.Administrator.ServerSettingsUI:_updateServerStatus() (at Assets/QuizMaker/Scripts/Administrator/Actions/ServerSettingsUI.cs:147)
QuizMaker.Administrator.ServerSettingsUI:UpdateServerStatus() (at Assets/QuizMaker/Scripts/Administrator/Actions/ServerSettingsUI.cs:139)
QuizMaker.Administrator.ServerSettingsUI:Start() (at Assets/QuizMaker/Scripts/Administrator/Actions/ServerSettingsUI.cs:44)
My code:
// create a form for a post data
WWWForm form = new WWWForm();
// create a log string
var logString = string.Format("[API_REQ {0}]", action);
// add key val if data is empty
if (data.Length == 0)
{
data = new string[] { "key", "val" };
}
// add data from an data array to the form
for (int i = 0; i < data.Length - 1; i += 2)
{
// add key and value
form.AddField(data[i], data[i + 1]);
// add log
logString += string.Format(" [{0}: {1}]", data[i], data[i + 1]);
}
// it needs to be more secure
var date = DateTime.Now.ToString();
var headers = form.headers;
headers["Date"] = date;
headers["Order"] = Util.generateOrderString(data);
form.AddField("hash", Util.generateHash(data, date));
// print log string
print(logString);
// create www request
var www = new WWW(AppConfig.Instance.serverUrl + action, form.data, headers);
// wait for a response
yield return www;
// print log for each api call
print(string.Format("[API_RES {0}] [{1}]", action, www.text));
// parse a response
parseResponse(
string.IsNullOrEmpty(www.error),
www.text,
callback
);
When I delete date variable, error fixes however in this time I can't connect to server. My connection method is REST API. Thanks in advance.
I found the error. If anyone encountered same issue just change the following variable:
headers["Date"] = date;
to
headers["date"] = date;
This fixed my problem and saved my hours. Best regards.
Im trying to connect to a Firebird server using Mono on Mac but it is throwing an exception that I have no idea whats is happening.
I installed the package https://www.nuget.org/packages/FirebirdSql.Data.FirebirdClient
and here is the code I am using:
var connectionString = new FbConnectionStringBuilder();
connectionString.DataSource = "xxxx";
connectionString.UserID = "xxxxx";
connectionString.Password = "xxxxxx";
connectionString.Database = "/xxxxx.gdb";
connectionString.Charset = "NONE";
FbConnection connection = new FbConnection(connectionString.ToString());
try
{
connection.Open();
connection.Close();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
And the exception:
String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes (System.String s) [0x00006] in /private/tmp/source-mono-4.8.0/bockbuild-mono-4.8.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/text/encoding.cs:1083
at FirebirdSql.Data.Client.Managed.GdsConnection.UserIdentificationData () [0x00141] in <1c49352b896a4a9dba73865ddab7b59e>:0
at FirebirdSql.Data.Client.Managed.GdsConnection.Identify (System.String database) [0x00044] in <1c49352b896a4a9dba73865ddab7b59e>:0
at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateManagedDatabase (FirebirdSql.Data.FirebirdClient.FbConnectionString options) [0x00042] in <1c49352b896a4a9dba73865ddab7b59e>:0
at FirebirdSql.Data.FirebirdClient.ClientFactory.CreateDatabase (FirebirdSql.Data.FirebirdClient.FbConnectionString options) [0x00010] in <1c49352b896a4a9dba73865ddab7b59e>:0
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect () [0x0001e] in <1c49352b896a4a9dba73865ddab7b59e>:0
at FirebirdSql.Data.FirebirdClient.FbConnection.Open () [0x000b7] in <1c49352b896a4a9dba73865ddab7b59e>:0
Do you have any idea to solve this problem?