Bug 499346 - [wiring] NoClassDefFoundError in ConstructorCompletionSessionProcessor.startSession
Summary: [wiring] NoClassDefFoundError in ConstructorCompletionSessionProcessor.startS...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-08 03:48 EDT by EPP Error Reports CLA
Modified: 2019-07-24 14:36 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2016-08-08 03:48:36 EDT
The following problem was reported via the automated error reporting:

Message: Session processor ‘class org.eclipse.recommenders.internal.constructors.rcp.ConstructorCompletionSessionProcessor’ failed with exception.
java.lang.NoClassDefFoundError: org/eclipse/recommenders/internal/constructors/rcp/ConstructorCompletionSessionProcessor$1
    at org.eclipse.recommenders.internal.constructors.rcp.ConstructorCompletionSessionProcessor.startSession(ConstructorCompletionSessionProcessor.java:146)
    at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:304)
    at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:170)
    at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
    at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
    at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:331)
    at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:288)
    at org.eclipse.jface.text.contentassist.ContentAssistant$3.run(ContentAssistant.java:1931)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1928)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:565)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:560)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:494)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:487)
    at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener$1.run(ContentAssistant.java:371)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)



Bundles:
| org.eclipse.core.runtime | 3.12.0.v20160606-1342 | 3.12.0.v20160606-1342 |
| org.eclipse.jdt.ui | 3.12.0.v20160525-1829 | 3.12.0.v20160525-1829 |
| org.eclipse.jface.text | 3.11.0.v20160505-1301 | 3.11.0.v20160505-1301 |
| org.eclipse.recommenders.completion.rcp | 2.4.0.v20160607-1609 | 2.4.0.v20160607-1609 |
| org.eclipse.recommenders.constructors.rcp | 2.4.0.v20160607-1609 | 2.4.0.v20160607-1609 |
| org.eclipse.swt | 3.105.0.v20160603-0902 | 3.105.0.v20160603-0902 |

Operating Systems:
| Windows | 6.3.0 | 6.3.0 |


The above information is a snapshot of the collected data. Visit https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/57a1a047e4b0f566a123e2dd for the latest data.

Thank you for your assistance.
 Your friendly error-reports-inbox.


Created on behalf of andreas.sewe@xxxxxx.xxx
Comment 1 Andreas Sewe CLA 2016-08-08 03:54:40 EDT
(In reply to EPP Error Reports from comment #0)
> The above information is a snapshot of the collected data. Visit
> https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/
> 57a1a047e4b0f566a123e2dd for the latest data.

The same user also reported https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/57a1a047e4b0f566a123e2e7, which shows the same symptoms.
Comment 2 Andreas Sewe CLA 2016-08-08 04:02:15 EDT
(In reply to EPP Error Reports from comment #0)
> Message: Session processor ‘class
> org.eclipse.recommenders.internal.constructors.rcp.
> ConstructorCompletionSessionProcessor’ failed with exception.
> java.lang.NoClassDefFoundError:
> org/eclipse/recommenders/internal/constructors/rcp/
> ConstructorCompletionSessionProcessor$1
>     at
> org.eclipse.recommenders.internal.constructors.rcp.
> ConstructorCompletionSessionProcessor.
> startSession(ConstructorCompletionSessionProcessor.java:146)

The anonymous class in question is a inner class extending Function<Entry<CompletionProposal, IMethodName>, Recommendation<CompletionProposal>>.

I suspect that loading it (from the same bundle!) goes wrong because the anonymous class fails to verify somehow, but the error reporting does not give me enough information to analyze the issue.