[jbosstools-issues] [JBoss JIRA] (JBIDE-19425) Error when loading projects in Central with Java 9

Fred Bricon (JIRA) issues at jboss.org
Tue May 12 11:34:21 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-19425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon resolved JBIDE-19425.
---------------------------------
    Fix Version/s: 4.3.0.Beta2
                       (was: LATER)
       Resolution: Done


Related to upstream bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=466683

I managed to create project examples without issues with latest SDK build ( http://download.eclipse.org/eclipse/downloads/drops4/I20150511-2130/)  and Oracle JDK 1.9.0-ea-b63, on OSX 10.10.3


> Error when loading projects in Central with Java 9
> --------------------------------------------------
>
>                 Key: JBIDE-19425
>                 URL: https://issues.jboss.org/browse/JBIDE-19425
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Martin Malina
>            Assignee: Fred Bricon
>              Labels: Java9
>             Fix For: 4.3.0.Beta2
>
>
> Today I wanted to try out the latest build of Oracle JDK 1.9 beta and discovered a problem with central.
> When I started JBDS, I immediately got an error window pop up:
> {code}
> Refreshing JBoss Tutorials... has encountered a problem.
> An internal error occurred during: "Refreshing JBoss Tutorials...".
> javax/xml/bind/JAXBException
> {code}
> This is in the workspace log:
> {code}
> !ENTRY org.eclipse.core.jobs 4 2 2015-03-10 17:12:52.346
> !MESSAGE An internal error occurred during: "Refreshing JBoss Tutorials...".
> !STACK 0
> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
> 	at org.jboss.tools.project.examples.model.ProjectExampleUtil.fetchCategories(ProjectExampleUtil.java:389)
> 	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:266)
> 	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:257)
> 	at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:52)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException cannot be found by org.jboss.tools.project.examples_3.0.0.Alpha1-v20150213-0945-B3
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
> 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
> 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> 	... 5 more
> {code}
> I used JBDS 9.0.0.Alpha1 installed on OS X 10.10 Yosemite with Oracle JDK 1.9:
> {code}
> nattura:9.0.0 rasp$ java -version
> java version "1.9.0-ea"
> Java(TM) SE Runtime Environment (build 1.9.0-ea-b53)
> Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b53, mixed mode)
> {code}
> The consequence of this is that the "Start from scratch" section in Central is not loaded and shows "No entries found".
> Note: When I installed the same JBDS with Java 8, there was no error.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list