You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use IfcStepStreamingDeserializer to process data, It throws exception "Error on line 13334: No right parenthesis found in line". I debug the code, find that (line 239 to 248):
if (line.length() > 0 && line.charAt(0) == '#') {
while (line.endsWith("*/")) {
line = line.substring(0, line.lastIndexOf("/*")).trim();
}
if (line.endsWith(";")) {
processRecord(line);
} else {
return false;
}
}
while the line ends with ";", it will be considered as the end of one item. But I found a special ifc file, which contains an item as follow:
In this case, the line will be parsed as "#13430 = IFCPROPERTYSINGLEVALUE ('970', '', IFCLABEL ('970;1;Einbauventil;;ZYLI;0;0;0;1;0;0;0;1;0;44;10;". And an exception is thrown.
The text was updated successfully, but these errors were encountered:
Do you have a line break after the last semicolon in the label string? Then this is the cause of failure and might have to be removed. Should be doublechecked with ISO 1030-21, whether it is allowed.
Hi, Ruben,
I find another bug.
When I use IfcStepStreamingDeserializer to process data, It throws exception "Error on line 13334: No right parenthesis found in line". I debug the code, find that (line 239 to 248):
while the line ends with ";", it will be considered as the end of one item. But I found a special ifc file, which contains an item as follow:
In this case, the line will be parsed as "#13430 = IFCPROPERTYSINGLEVALUE ('970', '', IFCLABEL ('970;1;Einbauventil;;ZYLI;0;0;0;1;0;0;0;1;0;44;10;". And an exception is thrown.
The text was updated successfully, but these errors were encountered: