Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4711

Add support for LFS via egit to Devstudio/JBoss Tools? (was ClassNotFoundException in Error Log after start: Builtin LFS support not present/detected)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 12.9.0.AM3
    • 12.0.0.GA
    • build, upstream
    • None
    • NEW

      After every start of devstudio, there is a warning:

      eclipse.buildId=12.0.0.GA-v20180625-0632-B2859
      java.version=1.8.0_172
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data file:/home/jkopriva/devstudio_B2859_2/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.egit.core
      Warning
      Mon Jun 25 13:18:32 CEST 2018
      Builtin LFS support not present/detected
      
      java.lang.ClassNotFoundException: org.eclipse.jgit.lfs.BuiltinLFS cannot be found by org.eclipse.egit.core_5.0.0.201806131550-r
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:508)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at java.lang.Class.forName0(Native Method)
      	at java.lang.Class.forName(Class.java:264)
      	at org.eclipse.egit.core.Activator.registerBuiltinLFS(Activator.java:279)
      	at org.eclipse.egit.core.Activator.start(Activator.java:212)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
      	at org.eclipse.osgi.container.Module.doStart(Module.java:581)
      	at org.eclipse.osgi.container.Module.start(Module.java:449)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468)
      	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:114)
      	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:505)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:392)
      	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.eclipse.egit.ui.Activator$RepositoryChangeScanner.<init>(Activator.java:921)
      	at org.eclipse.egit.ui.Activator.setupRepoChangeScanner(Activator.java:1034)
      	at org.eclipse.egit.ui.Activator.start(Activator.java:336)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
      	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
      	at org.eclipse.osgi.container.Module.doStart(Module.java:581)
      	at org.eclipse.osgi.container.Module.start(Module.java:449)
      	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468)
      	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:114)
      	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:505)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:392)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:470)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:609)
      	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:177)
      	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:931)
      	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
      	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:60)
      	at org.eclipse.ui.internal.services.WorkbenchServiceRegistry.getSourceProviders(WorkbenchServiceRegistry.java:174)
      	at org.eclipse.ui.internal.services.SourceProviderService.readRegistry(SourceProviderService.java:104)
      	at org.eclipse.ui.internal.Workbench$34.runWithException(Workbench.java:2378)
      	at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
      	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
      	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:144)
      	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5831)
      	at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:95)
      	at org.eclipse.ui.internal.Workbench.initializeDefaultServices(Workbench.java:2373)
      	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1654)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2859)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:654)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
      
      

              jkopriva@redhat.com Josef Kopriva
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: