Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » IAE in Completion Proposal ("Signature.appendTypeSignature()"
IAE in Completion Proposal ("Signature.appendTypeSignature()" [message #592108] Tue, 17 February 2009 18:25
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
R3.4.1, WinXP

I don't see a newsgroup "eclipse.ide" or "... jdt" or the like, so I am
hoping this "platform.pde" is correct for this issue.

I have a class with (among others) two fields _reader and _resizer; in
an if-statement, I have "if (null ==_re|) {" and at the "|" is my
cursor; I press CTRL-Space, and instead of completions, I get the
callstack-below. I have not seen any bugs that seem to be this problem.

-Paul

Found a problem with the 'by relevance'
(org.eclipse.jdt.ui.RelevanceSorter) extension to the
"javaCompletionProposalSorters" extension point. The extension has
thrown a runtime exception.

java.lang.IllegalArgumentException
at org.eclipse.jdt.core.Signature.appendTypeSignature(Signature .java:2371)
at org.eclipse.jdt.core.Signature.appendTypeSignature(Signature .java:2278)
at org.eclipse.jdt.core.Signature.toCharArray(Signature.java:22 57)
at org.eclipse.jdt.core.Signature.toString(Signature.java:2734)
at
org.eclipse.jdt.internal.corext.template.java.SignatureUtil. stripSignatureToFQN(SignatureUtil.java:201)
at
org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationCont ext.getRHSHistory(JavaContentAssistInvocationContext.java:18 9)
at
org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationCont ext.getHistoryRelevance(JavaContentAssistInvocationContext.j ava:175)
at
org.eclipse.jdt.internal.ui.text.java.LazyJavaTypeCompletion Proposal.computeRelevance(LazyJavaTypeCompletionProposal.jav a:359)
at
org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProp osal.getRelevance(LazyJavaCompletionProposal.java:370)
at
org.eclipse.jdt.ui.text.java.CompletionProposalComparator.ge tRelevance(CompletionProposalComparator.java:83)
at
org.eclipse.jdt.ui.text.java.CompletionProposalComparator.co mpare(CompletionProposalComparator.java:60)
at
org.eclipse.jdt.internal.ui.text.java.RelevanceSorter.compar e(RelevanceSorter.java:36)
at
org.eclipse.jdt.ui.text.java.AbstractProposalSorter.compare( AbstractProposalSorter.java:89)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at
org.eclipse.jdt.internal.ui.text.java.ProposalSorterHandle.s ortProposals(ProposalSorterHandle.java:192)
at
org.eclipse.jdt.internal.ui.text.java.JavaCompletionProcesso r.filterAndSortProposals(JavaCompletionProcessor.java:87)
at
org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor .computeCompletionProposals(ContentAssistProcessor.java:249)
at
org.eclipse.jface.text.contentassist.ContentAssistant.comput eCompletionProposals(ContentAssistant.java:1836)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeProposals(CompletionProposalPopup.java:553)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .access$16(CompletionProposalPopup.java:550)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup $2.run(CompletionProposalPopup.java:485)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .showProposals(CompletionProposalPopup.java:479)
at
org.eclipse.jface.text.contentassist.ContentAssistant.showPo ssibleCompletions(ContentAssistant.java:1664)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor $AdaptedSourceViewer.doOperation(CompilationUnitEditor.java: 177)
at
org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentA ssistAction.java:82)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAss istAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler. java:185)
at
org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execut e(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
at
org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeComman d(WorkbenchKeyboard.java:472)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Workben chKeyboard.java:824)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEve nt(WorkbenchKeyboard.java:882)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequ enceBindings(WorkbenchKeyboard.java:571)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(Work benchKeyboard.java:512)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter .handleEvent(WorkbenchKeyboard.java:127)
Previous Topic:Settings folder
Next Topic:How does eclipse handle linked java files in an ANT build file
Goto Forum:
  


Current Time: Tue Jun 15 00:57:25 GMT 2021

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

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

Back to the top