[
https://issues.apache.org/jira/browse/AIRAVATA-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Marru closed AIRAVATA-1298.
----------------------------------
Resolution: Fixed
This seems to be fine in master.
> ClassNotFoundException when running CreateLaunchExperiment for local
> experiments
> --------------------------------------------------------------------------------
>
> Key: AIRAVATA-1298
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1298
> Project: Airavata
> Issue Type: Bug
> Affects Versions: 0.12
> Reporter: Chathuri Wimalasena
> Fix For: 0.12
>
>
> Getting the following error when running CreateLaunchExperiment for local
> experiments.
> Exception in thread "main" java.lang.ExceptionInInitializerError
> at
> org.apache.airavata.schemas.gfac.HostDescriptionDocument$Factory.newInstance(HostDescriptionDocument.java:45)
> at
> org.apache.airavata.commons.gfac.type.HostDescription.<init>(HostDescription.java:34)
> at
> org.apache.airavata.client.tools.DocumentCreator.createLocalHostDocs(DocumentCreator.java:59)
> at
> org.apache.airavata.client.samples.CreateLaunchExperiment.addDescriptors(CreateLaunchExperiment.java:190)
> at
> org.apache.airavata.client.samples.CreateLaunchExperiment.main(CreateLaunchExperiment.java:64)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
> Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable
> to load class with name
> schemaorg_apache_xmlbeans.system.s8D46A9CC8D07838654041D09621F224E.TypeSystemHolder.
> Make sure the generated binary files are on the classpath.
> at
> org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:783)
> at
> org.apache.airavata.schemas.gfac.HostDescriptionDocument.<clinit>(HostDescriptionDocument.java:19)
> ... 10 more
> Caused by: java.lang.ClassNotFoundException:
> schemaorg_apache_xmlbeans.system.s8D46A9CC8D07838654041D09621F224E.TypeSystemHolder
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at
> org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769)
> ... 11 more
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)