Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-1298

ClassNotFoundException when running CreateLaunchExperiment for local experiments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12
    • 0.12
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            chathuri Chathuri Wimalasena
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: