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 nable.java:125)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeCompl ete(CompilationUnit.java:305)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeCompl ete(CompilationUnit.java:298)
at org.eclipse.wst.jsdt.ui.text.java.JavaContentAssistInvocatio nContext.computeKeywordsAndContext(JavaContentAssistInvocati onContext.java:290)
at org.eclipse.wst.jsdt.ui.text.java.JavaContentAssistInvocatio nContext.getKeywordProposals(JavaContentAssistInvocationCont ext.java:125)
at org.eclipse.wst.jsdt.internal.ui.text.java.TemplateCompletio nProposalComputer.computeCompletionProposals(TemplateComplet ionProposalComputer.java:96)
at org.eclipse.wst.jsdt.internal.ui.text.java.CompletionProposa lComputerDescriptor.computeCompletionProposals(CompletionPro posalComputerDescriptor.java:298)
at org.eclipse.wst.jsdt.internal.ui.text.java.CompletionProposa lCategory.computeCompletionProposals(CompletionProposalCateg ory.java:258)
at org.eclipse.wst.jsdt.internal.ui.text.java.ContentAssistProc essor.collectProposals(ContentAssistProcessor.java:244)
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.
Thanks.
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: 4434
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
Hi,
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: Fri Apr 19 15:34:36 GMT 2024

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

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

Back to the top