-
Notifications
You must be signed in to change notification settings - Fork 80
Exception: An internal error occurred during: "calculating highlighting". #1389
Comments
Could be something related to Xtend. |
Can you reproduce this with 2.21 release? |
Not really. I saw that problem yesterday. Today I am working with the same environment for a while and have not seen that problem till now. It could be something that occurs sporadically. @cdietrich Can you extract some information from the stracktrace that could help us further identify/reproduce the problem? |
It could be something to do with the refactoring from Xtend to Java, so that the exception thrown in the try block became visible now through this code. The previous Xtend code contained a |
This is why I am asking. Was the exception catched and swallowed before? |
Yes, that's the point, see my comments above. |
How was the old generated code? |
You can find the old generated code here |
@szarnekow any idea? |
So the old code had a different set of try and catch |
@miklossy can you also check if thecalling code was migrated (HighlightingReconciler) |
Exactly. |
No. The HighlightingReconciler was originally implemented in Java. |
Would still help if this was somehow reproducible |
public final class OperationCanceledException extends RuntimeException {
=> before we rethrow. now we wrap |
=> elmininating sneaky throw complely might not be a so good idea how shall be proceed. call the sneeky throw again? |
…ehaviour) Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
we should also go through other PRs for that pattern |
I found something reproducible: If I execute the XtextGrammarQuickfixProviderTests test cases, I see the same exception in the console:
@cdietrich Do you see that also on your computer? Can you find that stacktrace somewhere in the Jenkins log? |
yes it get it |
…ehaviour) Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
@miklossy see the log files in the results |
(that seem to be not there for unknow reaons) |
cause
|
=> push a branch with a failing test and you will get all logs |
The problem is that the XtextGrammarQuickfixProviderTest test cases still passes, although exception is thrown. |
test and arbritrary exceptions in log have nothing todo with each other in our setup |
I'd prefer a case-by-case decision. |
…ehaviour) Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
…ehaviour) Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
[eclipse/xtext-eclipse#1389] fixed exception handing (revert to old b…
Fixed in 2.22 |
Just hit the following exception while implementing the Xtext Domainmodel Tutorial:
The text was updated successfully, but these errors were encountered: