Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26541

Mylyn: refresh builds does not work under JDK11

XMLWordPrintable

    • Hide

      1. Add new server in Builds (mylyn view)
      2. Try to refresh
      3. Check error log

      Show
      1. Add new server in Builds (mylyn view) 2. Try to refresh 3. Check error log

      Message from error log:

      eclipse.buildId=12.11.0.AM1-v20190128-0120-B3931
      java.version=11.0.1
      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/git/workspace-spring/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.mylyn.commons.repositories.ui
      Error
      Fri Feb 01 14:33:04 CET 2019
      Unexpected error during repository validation.
      
      java.lang.reflect.InvocationTargetException
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:401)
      	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:977)
      	at org.eclipse.mylyn.commons.ui.dialogs.EnhancedWizardDialog.run(EnhancedWizardDialog.java:138)
      	at org.eclipse.mylyn.commons.repositories.ui.RepositoryWizardPage.run(RepositoryWizardPage.java:98)
      	at org.eclipse.mylyn.commons.repositories.ui.RepositoryLocationPart.validate(RepositoryLocationPart.java:554)
      	at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$1.widgetSelected(BuildServerPart.java:180)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5663)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1386)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4931)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4472)
      	at org.eclipse.jface.window.Window.runEventLoop(Window.java:822)
      	at org.eclipse.jface.window.Window.open(Window.java:798)
      	at org.eclipse.mylyn.commons.repositories.ui.RepositoryUi.openNewRepositoryDialog(RepositoryUi.java:90)
      	at org.eclipse.mylyn.internal.builds.ui.view.NewBuildServerAction.run(NewBuildServerAction.java:35)
      	at org.eclipse.mylyn.internal.builds.ui.view.BuildsView$2.widgetSelected(BuildsView.java:326)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5663)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1386)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
      	at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1526)
      	at org.eclipse.swt.widgets.Link.gtk_button_release_event(Link.java:387)
      	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1946)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:6298)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:5880)
      	at org.eclipse.swt.internal.gtk.GTK._gtk_main_do_event(Native Method)
      	at org.eclipse.swt.internal.gtk.GTK.gtk_main_do_event(GTK.java:3969)
      	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1385)
      	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1581)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4470)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
      	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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
      Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
      	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.validate(RestfulHudsonClient.java:463)
      	at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.validate(HudsonServerBehaviour.java:956)
      	at org.eclipse.mylyn.builds.internal.core.BuildServer.validate(BuildServer.java:369)
      	at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$Validator.run(BuildServerPart.java:114)
      	at org.eclipse.mylyn.commons.repositories.ui.RepositoryLocationPart$2.run(RepositoryLocationPart.java:558)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException cannot be found by org.eclipse.mylyn.hudson.core_1.16.0.v20180403-2055
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:511)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
      	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:414)
      	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:153)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
      	... 6 more
      
      
      

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

                Created:
                Updated:
                Resolved: