[jbosstools-issues] [JBoss JIRA] (JBIDE-16689) Crash after CTRL + rightclick + find implementation

Victor Rubezhny (JIRA) issues at jboss.org
Thu Mar 6 08:43:33 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-16689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12950700#comment-12950700 ] 

Victor Rubezhny commented on JBIDE-16689:
-----------------------------------------

I'm wondered why and how a JSDT Hover could appear on JAVA (JDT) file, but...

But in case it was not a Java, but JavaScript file...
In theory, there could be an issue in JSDT that leads it to throw a RunTimeException (for JSDT's reasons) which isn't caught in org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(ICompilationUnit, int, int) method while it is supposed to be caught. So, it looks like a bug in JSDT.

You know, JSDT is fork of JDT, and I see a similar SelectionEngine.select() class and method in JDT. And it also have no a try-catch block in according place so, it might be normal for Java. But at the same time it might NOT be the same for JavaScript, so, probably it (that SelectionNodeFound Runtime Exception) should be caught in JSDT. But I never seen an issue in BugZilla like this before.

So, I can address this issue in JSDT, but:
1. I need a test case to reproduce it, since I cannot reproduce it by myself at the moment.
2. It probably will not help Edoardo with his problem. I'm not sure that I could fix it for JSDT that is used in JBDS 6 (was it a Juno-based release?)

                
> Crash after CTRL + rightclick + find implementation
> ---------------------------------------------------
>
>                 Key: JBIDE-16689
>                 URL: https://issues.jboss.org/browse/JBIDE-16689
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: upstream
>            Reporter: Edoardo Barolo
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list