RFEMServer API II C# | get_result_table: no result for ResultTable.ErrorAndWarningsTable

Hello dear Dlubal team,

I have a method that reads the ErrorsAndWarningsTable after a failed calculation to obtain information.
For example, when calculating a model, error 10134 can be read out and provides information about the calculation status.

When I run the method with RFEM, everything works as expected.
However, if I calculate the same model with RFEMServer, the table remains empty.
In both cases, the calculation was faulty. Below are some screenshots showing the behavior.

Result with RFEMServer

Rows.Count = 0

Pasted image 20251215115706

Result with RFEM

Rows.Count = 36;

Pasted image 20251215120202

Line that causes the error:

Table result = Application.get_result_table(
	table: ResultTable.ErrorsAndWarningsTable
).GetAwaiter().GetResult();

Complete method:

public RfemError[] GetCalculationErrors()
{
	if (_operationResult.Succeeded)
	{
		return [];
	}

	Table result = Application.get_result_table(
		table: ResultTable.ErrorsAndWarningsTable
	).GetAwaiter().GetResult();

	return result.Data.Rows.Select(row =>
	{
		// 10134 Stiffness matrix is singular
		string errorCode = (string)row["error_or_warning_number"];
		string description = (string)row["description"];
		string analysisType = (string)row["analysis_type"];

		return new RfemError(description, analysisType, errorCode);
	}).ToArray();
}

Expected behavior:

  • RFEMServer delivers the same result as RFEM with GUI

Actual behavior:

  • The ErrorAndWarningsTable contains no entries

Info

RFEM version: 6.12.0009
Dlubal.Api version: 6.12.0009

Hi hasslernils,

I was able to reproduce the issue with version 6.12.0010 and 2.12.10, so created a bug (Bug ID = 562685) and sent it to the development team.

As soon as there are some news about this issue I'll let you know.

Best regards
Robert Milrath

1 Like