]
Jeff MAURY updated JBIDE-26459:
-------------------------------
Sprint: devex #159 December 2018
Opening RH Central shows multiple errors with Java 11
-----------------------------------------------------
Key: JBIDE-26459
URL:
https://issues.jboss.org/browse/JBIDE-26459
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central
Affects Versions: 4.10.0.AM1
Environment: Fedora 28, Java 11 (Oracle jdk-11.0.1)
Reporter: Ondrej Dockal
Assignee: Jeff MAURY
Priority: Critical
Fix For: 4.11.x
Attachments: Screenshot_20181029_171518.png
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:
{code}
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
{code}
and
{code}
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
{code}