IAE in Completion Proposal ("Signature.appendTypeSignature()" [message #47360] |
Tue, 17 February 2009 13:25  |
Eclipse User |
|
|
|
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)
|
|
|
|
Re: IAE in Completion Proposal ("Signature.appendTypeSignature()" [message #47422 is a reply to message #47392] |
Wed, 18 February 2009 11:58   |
Eclipse User |
|
|
|
> On 2/17/2009 1:25 PM, Paul E. Keyser wrote:
>> 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)
>> [...]
Sure sounds like a bug. If this is reproducible, please report it in
Bugzilla (against the JDT component, Core subcomponent) including a code
example that causes it to happen.
Make sure to mention any third-party plug-ins that you have installed,
because plug-ins can contribute completion proposals and that may be causing
the problem.
|
|
|
Re: IAE in Completion Proposal ("Signature.appendTypeSignature()" [message #47512 is a reply to message #47422] |
Thu, 19 February 2009 06:22  |
Eclipse User |
|
|
|
Walter Harley wrote:
>> On 2/17/2009 1:25 PM, Paul E. Keyser wrote:
>>
>>> 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)
>>> [...]
>>>
>
>
> Sure sounds like a bug. If this is reproducible, please report it in
> Bugzilla
Of course you can always first search whether the bug already got
reported ;-)
Looks like you see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=243023
Dani
> (against the JDT component, Core subcomponent) including a code
> example that causes it to happen.
>
> Make sure to mention any third-party plug-ins that you have installed,
> because plug-ins can contribute completion proposals and that may be causing
> the problem.
>
>
>
|
|
|
Re: IAE in Completion Proposal ("Signature.appendTypeSignature()" [message #592118 is a reply to message #47360] |
Wed, 18 February 2009 09:58  |
Eclipse User |
|
|
|
The newsgroup you want is eclipse.tools.jdt - I've copied it to this
response.
I think it would be easier if you provided a complete class that
demonstrates the problem.
On 2/17/2009 1:25 PM, Paul E. Keyser wrote:
> 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)
>
|
|
|
Re: IAE in Completion Proposal ("Signature.appendTypeSignature()" [message #592131 is a reply to message #47392] |
Wed, 18 February 2009 11:58  |
Eclipse User |
|
|
|
> On 2/17/2009 1:25 PM, Paul E. Keyser wrote:
>> 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)
>> [...]
Sure sounds like a bug. If this is reproducible, please report it in
Bugzilla (against the JDT component, Core subcomponent) including a code
example that causes it to happen.
Make sure to mention any third-party plug-ins that you have installed,
because plug-ins can contribute completion proposals and that may be causing
the problem.
|
|
|
Re: IAE in Completion Proposal ("Signature.appendTypeSignature()" [message #592160 is a reply to message #47422] |
Thu, 19 February 2009 06:22  |
Eclipse User |
|
|
|
Walter Harley wrote:
>> On 2/17/2009 1:25 PM, Paul E. Keyser wrote:
>>
>>> 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)
>>> [...]
>>>
>
>
> Sure sounds like a bug. If this is reproducible, please report it in
> Bugzilla
Of course you can always first search whether the bug already got
reported ;-)
Looks like you see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=243023
Dani
> (against the JDT component, Core subcomponent) including a code
> example that causes it to happen.
>
> Make sure to mention any third-party plug-ins that you have installed,
> because plug-ins can contribute completion proposals and that may be causing
> the problem.
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03063 seconds