Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve handling of Compiler crashes to help people report and debug #1213

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

TimLethbridge
Copy link
Member

This ensures that in more situations, if the compiler crashes it will point to the problem line in the .ump file. This should help debugging.

Also rather than crashing the compiler, a Java error in the compiler will generate an error message (9000 for parsing, including stack overflow errors, 9100 for analysis, and 9200 for generation). These will all contain the stack trace. The effect of this is that the UmpleOnline server won't crash (speeding performance), and the end-user of UmpleOnline or Eclipse or the command line tool will see useful information such that they can report an issue.

This could set the stage too for auto-reporting of issues.

Note that compiler crashing is now pretty rare in production, but can still happen to developers of Umple itself.

@TimLethbridge TimLethbridge merged commit ed42901 into master Jan 31, 2018
@TimLethbridge TimLethbridge deleted the ImproveCompilerCrashHandling branch February 2, 2018 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant