Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSDT Open js File Can not ContentAssistProcessor
JSDT Open js File Can not ContentAssistProcessor [message #648257] Wed, 12 January 2011 06:10 Go to next message
robin Missing name is currently offline robin Missing nameFriend
Messages: 16
Registered: November 2009
Junior Member
I have a MultiPageEditorPart that create js editor page. And this page extends CompilationUnitEditor. Because the js context info has been saved in outside of the worksapce.So create fileInput by FileStoreEditorInput. But I found this editor page can't ContentAssistProcessor.
The UI error info is Cannot access JavaScript file.
The Console error log is:
JavaScript Model Exception: JavaScript Model Status [Index out of bounds]
at org.eclipse.wst.jsdt.internal.core.Openable.codeComplete(Ope
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeCompl ete(
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeCompl ete(
at nContext.computeKeywordsAndContext(JavaContentAssistInvocati
at nContext.getKeywordProposals(JavaContentAssistInvocationCont
at nProposalComputer.computeCompletionProposals(TemplateComplet
at lComputerDescriptor.computeCompletionProposals(CompletionPro
at lCategory.computeCompletionProposals(CompletionProposalCateg
at essor.collectProposals(
And then I select eclipse file-->Opne File.. and choice a js file and open this editor.But this editor can't ContentAssistProcessor too.The error info is same as above.
Re: JSDT Open js File Can not ContentAssistProcessor [message #652186 is a reply to message #648257] Wed, 02 February 2011 22:31 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3531
Registered: July 2009
Senior Member

Does the same input work properly in the JavaScript Editor? Is this a FileStoreEditorInput you created yourself?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: JSDT Open js File Can not ContentAssistProcessor [message #1719339 is a reply to message #648257] Thu, 07 January 2016 10:47 Go to previous message
Surabhi Agrawal is currently offline Surabhi AgrawalFriend
Messages: 2
Registered: January 2016
Junior Member
I am also facing the same issue. It seems as if it is an eclipse bug? If it is so, is it fixed in Eclipse Mars or not?
Previous Topic:Add Glassfish 4 Server on Eclipse Mars
Next Topic:Java build path order and export - not working
Goto Forum:

Current Time: Sat Nov 23 02:49:48 GMT 2019

Powered by FUDForum. Page generated in 0.01691 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top