JSDT Open js File Can not ContentAssistProcessor [message #648257] |
Wed, 12 January 2011 01:10  |
Eclipse User |
|
|
|
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.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03438 seconds