fesch / Structorizer.Desktop

Structorizer is a little tool which you can use to create Nassi-Schneiderman Diagrams (NSD).
https://structorizer.fisch.lu
GNU General Public License v3.0
65 stars 20 forks source link

Analyser may get stuck on checking record components if the preceding token names a Java object #1128

Closed codemanyak closed 2 months ago

codemanyak commented 2 months ago

With the Analyser check for "type definitions and record component access" being enabled (see screenshot), in certain cases (particularly after a Java code import) Analyser may get trapped in an eternal loop if the analysed variable happens to name a Java object. grafik This would lock Structorizer altogether. It seems to be an unwanted side effect of an inconsistent implementation of #1112.

Structorizer may also get trapped via the Content Assist on editing an element with such a vulnerable content (at the very same positions, i.e., by appending a dot to a variable declared with a Java class as type, see e.g. the screenshot from #1129), no matter whether or not the mentioned Analyser check is enabled.

So it is a serious bug.

codemanyak commented 2 months ago

Problem will be solved with version 3.32-17.