Hi devs,

I tried to debug XBaya in source but I get an exception always when I try
to open 'Create Host Description' dialog box. (I have previously done this
without any issue.) And binaries built by the same source works fine. The
problem occurs only with the source. So the only possibility is I'm doing
something wrong when running by the source. But I can't understand what it
is. I tried with a fresh copy of trunk but I still get the exception. Any
possible reason for this? Here is the exception I get.

Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at
org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDescriptionDialog.getHostDescription(HostDescriptionDialog.java:362)
 at
org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDescriptionDialog.updateGlobusHostTypeAndControls(HostDescriptionDialog.java:389)
at
org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDescriptionDialog.initGUI(HostDescriptionDialog.java:254)
 at
org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDescriptionDialog.<init>(HostDescriptionDialog.java:114)
at
org.apache.airavata.xbaya.ui.dialogs.descriptors.HostDescriptionDialog.<init>(HostDescriptionDialog.java:86)
 at
org.apache.airavata.xbaya.ui.menues.XBayaMenuItem$6.actionPerformed(XBayaMenuItem.java:352)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
 at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
 at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
 at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
 at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
 at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
 at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
 at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
 at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
 at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
 at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
 at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
 at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
 at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
 at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. Unable
to load class with name
schemaorg_apache_xmlbeans.system.s62CB834710133A30519349C27A0C59AB.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.GlobusHostType.<clinit>(GlobusHostType.java:19)
 ... 44 more
Caused by: java.lang.ClassNotFoundException:
schemaorg_apache_xmlbeans.system.s62CB834710133A30519349C27A0C59AB.TypeSystemHolder
 at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769)
... 45 more

Thank you,

 --Bhathiya

Reply via email to