Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345452

Summary: [xtend] another exception from syntax errors
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: unspecifiedFlags: sebastian.zarnekow: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Moritz Eysholdt CLA 2011-05-11 11:42:59 EDT
----
if(x instanceof bar typeof(ISyntacticSequencerPDAProvider$ISynTransition).)
----
caused


Java Model Exception: Java Model Status [Timed out while retrieving the attached javadoc for INSTANCEOF [in INSTANCEOF.class [in com.sun.org.apache.bcel.internal.generic [in /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar]]] ]
	at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:808)
	at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1037)
	at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:995)
	at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:462)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:621)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.internalGetHoverInfo(JavadocHover.java:567)
	at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo2(JavadocHover.java:559)
	at org.eclipse.xtext.common.types.xtext.ui.JdtHoverProvider.getHoverInfo(JdtHoverProvider.java:43)
	at org.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover.getHoverInfo(DispatchingEObjectTextHover.java:34)
	at org.eclipse.xtext.ui.editor.contentassist.ConfigurableCompletionProposal.getAdditionalProposalInfo(ConfigurableCompletionProposal.java:486)
	at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:106)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Sebastian Zarnekow CLA 2011-05-17 17:05:47 EDT
Exceptions in the hover component should be catched
Comment 2 Moritz Eysholdt CLA 2011-05-30 05:15:45 EDT
I can't reproduce this anymore; Not sure if it has been fixed in the meantime or if the required actions are too bizarre.
Comment 3 Sebastian Zarnekow CLA 2011-05-30 05:45:17 EDT
Postponed to SR1 just to make sure we'll have another look at the issue.
Comment 4 Sebastian Zarnekow CLA 2011-07-26 05:15:44 EDT
Since I cannot reproduce this one, I added a smoke test and close this as resolved.
Comment 5 Karsten Thoms CLA 2017-09-19 17:25:11 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 6 Karsten Thoms CLA 2017-09-19 17:36:50 EDT
Closing all bugs that were set to RESOLVED before Neon.0