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

Opening RH Central shows multiple errors with Java 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.11.0.AM1
    • 4.10.0.AM1
    • central
    • None

      I got Oracle's open jdk 11.0.1 version and installed devstudio with it, when devstudio is run, red hat central page is open by default, this brings multiple errors, as Java 11 is dropping some java ee modules (https://openjdk.java.net/jeps/320).

      Issue description:

      eclipse.buildId=12.10.0.AM1-v20181026-0745-B3616
      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:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.core.jobs
      Error
      Mon Oct 29 16:47:19 CET 2018
      An internal error occurred during: "Update project wizard list".
      
      java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
      	at org.jboss.tools.project.examples.internal.FavoriteExampleManager.<init>(FavoriteExampleManager.java:38)
      	at org.jboss.tools.project.examples.internal.FavoriteExampleManager.<init>(FavoriteExampleManager.java:31)
      	at org.jboss.tools.project.examples.internal.ProjectExamplesActivator.getFavoriteExampleManager(ProjectExamplesActivator.java:1067)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage$5$2.collectFavorites(GettingStartedHtmlPage.java:283)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage$5$2.run(GettingStartedHtmlPage.java:274)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException cannot be found by org.jboss.tools.project.examples_3.1.201.v20180802-1534
      	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
      

      and

      eclipse.buildId=12.10.0.AM1-v20181026-0745-B3616
      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:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.core.jobs
      Error
      Mon Oct 29 16:47:20 CET 2018
      An internal error occurred during: "Download quickstarts list".
      
      java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
      	at org.jboss.tools.project.examples.model.ProjectExampleUtil.fetchCategories(ProjectExampleUtil.java:396)
      	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getCategories(ProjectExampleUtil.java:273)
      	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getCategories(ProjectExampleUtil.java:263)
      	at org.jboss.tools.project.examples.internal.ProjectExampleXmlProvider.getExamples(ProjectExampleXmlProvider.java:28)
      	at org.jboss.tools.project.examples.internal.ProjectExampleManager.getExamples(ProjectExampleManager.java:60)
      	at org.jboss.tools.central.editors.GettingStartedHtmlPage$RefreshQuickstartsJob.run(GettingStartedHtmlPage.java:102)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException cannot be found by org.jboss.tools.project.examples_3.1.201.v20180802-1534
      	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)
      	... 7 more
      

              jmaury@redhat.com Jeff MAURY
              odockal@redhat.com Ondrej Dockal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: