Bug 573922 - Error on startup with Eclipse 4.20
Summary: Error on startup with Eclipse 4.20
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 5.12   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: 5.12   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-02 08:53 EDT by Andrey Loskutov CLA
Modified: 2021-06-04 03:22 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 Andrey Loskutov CLA 2021-06-02 08:53:05 EDT
Using latest EGit nightly build

java.lang.NoSuchMethodError: 'org.eclipse.core.runtime.jobs.Job org.eclipse.core.runtime.jobs.Job.createSystem(org.eclipse.core.runtime.ICoreRunnable)'
	at org.eclipse.egit.core.internal.start.WorkspaceConnector.start(WorkspaceConnector.java:118)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244)
	at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41)
	at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685)
	at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529)
	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318)
	at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308)
	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:354)
	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115)
	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:1000)
	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:973)
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:785)
	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1271)
	at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:1222)
	at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1200)
Comment 1 Thomas Wolf CLA 2021-06-02 09:28:33 EDT
F... Someone removed that method?

That's... bad. Means our RC1 contribution would break EPP RC1s.
Comment 2 Andrey Loskutov CLA 2021-06-02 09:50:11 EDT
(In reply to Thomas Wolf from comment #1)
> F... Someone removed that method?
> 
> That's... bad. Means our RC1 contribution would break EPP RC1s.

Yes. There is second method that should be used instead.
Comment 3 Eclipse Genie CLA 2021-06-02 09:55:26 EDT
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/181279
Comment 4 Eclipse Genie CLA 2021-06-02 09:56:39 EDT
New Gerrit change created: https://git.eclipse.org/r/c/egit/egit/+/181280
Comment 6 Thomas Wolf CLA 2021-06-03 14:17:55 EDT
Resolved in 5.12 RC1; not yet merged back to master. (So EGit nightly still suffers from this.)
Comment 7 Thomas Wolf CLA 2021-06-04 03:22:12 EDT
Now also merged to master; EGit nightly should be OK, too.