rsoesemann / salesforce-plantuml

Salesforce app to generate UML class & ER-diagrams from your org data. Leverages the PlantUML library.
MIT License
110 stars 32 forks source link

GACK error when I add one more class to a complex diagram #5

Closed snugsfbay closed 5 years ago

snugsfbay commented 5 years ago

Salesforce System Error: 687522327-140971 (1199635390) (1199635390) Error is in expression '{!doCreateDiagram}' in component in page classdiagramcreator: Class.ApexParser.getCleaned: line 38, column 1 Class.ApexParser.parse: line 12, column 1 Class.ClassDiagramCreatorCtrl.doCreateDiagram: line 50, column 1

An unexpected error has occurred. Your development organization has been notified.

snugsfbay commented 5 years ago

Seems to be related to the specific class, which gets the system error even when I try to map it by itself.

rsoesemann commented 5 years ago

The parser uses regular expression and is not really robust. I guess I can’t do anything against that.

rsoesemann commented 5 years ago

@snugsfbay can you post the class which lead to this error? Maybe a stripped down version...