dlubal-software / Dlubal_CSharp_Client

C# library and client (or high-level functions) for RFEM 6 and RSTAB 9 using Web Services, SOAP and WSDL
MIT License
10 stars 10 forks source link

BUG:Crashes when trying to create an imperfection_case over API #13

Closed talSas closed 2 years ago

talSas commented 2 years ago

Describe the bug Rstab9 Crashes when trying to create an imperfection_case with the type imperfection_case_type.IMPERFECTION_TYPE_IMPERFECTION_CASES_GROUP, using the Web APi To Reproduce Steps to reproduce the behavior: Create Imperfaction_case over API:

Code: public void TestImperfectionCreation() { imperfection_case imperfection_Case = new imperfection_case(); imperfection_Case.no = 9864; imperfection_Case.reference_nodeSpecified = true; imperfection_Case.type = imperfection_case_type.IMPERFECTION_TYPE_IMPERFECTION_CASES_GROUP; imperfection_Case.typeSpecified = true; rstab9ModelClient.set_imperfection_case(imperfection_Case); //without type IMPERFECTION_TYPE_IMPERFECTION_CASES_GROUP rs dont crash } Expected behavior create a groupe of imperfections

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context

I'm not sure if this is your responsibility, if not I would be grateful for a forwarding, screenshots and .dmps I have attached, as well as the rs9 model

Add any other context about the problem here.

Screenshots: error1 error2 errorFinish Work

.dmp and modell: imperfectionError.zip

talSas commented 2 years ago

ok i think the error is because i am trying to create an empty groupe, regardless the crash is rather inconvenient.

furthermore i found another "error" while trying to find a solution.

It is not possible to process imperfections with the type imperfection_case_type.IMPERFECTION_TYPE_LOCAL_IMPERFECTIONS_ONLY.

grafik

Edit: In the meantime I am quite sure that the crash happens when I try to create a non-valid object via the API.

jarabroz commented 2 years ago

Hi @talSas,

do you still have problems with imperfections?