Hi Lahiru, I can see airavata-gfac-schema-utils jar is in /home/bhathiya/.m2/repository/org/apache/airavata/airavata-gfac-schema-utils/0.4-incubating-SNAPSHOT.
What else could cause this issue? Thank you, --Bhathiya On Fri, Jun 15, 2012 at 8:55 PM, Lahiru Gunathilake <[email protected]>wrote: > On Fri, Jun 15, 2012 at 10:03 AM, Lahiru Gunathilake <[email protected] > >wrote: > > > Hi Bhathiya, > > > > I think this is because you don't have gfac-schema-utils jar in your > > classpath when you start XBaya with your IDE.. make sure you have all the > > required jars in your project classpath, otherwise it will fail runtime > > when those jars are really going to get used. > > > > So I would say open the complete Airavata project by running mvn > > eclipse:eclipse or mvn idea:idea based on your IDE (if you are using > > eclipse or Intellij Idea) and then run the XBaya from the source. > > > I can see a CDNF error in your stack trace .. so its because you don't have > airavata-gfac-schema-utils jar in your project classpath. The jar you are > giving is a different one its not an airvata jar which means a jar which > get builds during airavata build (Its in modules/commons/gfac-schema). > > Heshan, since bathiya is having issue with XBaya and I dont' think he is > doing any remote debugging with XBaya. > > Lahiru > > > > > Lahiru > > > > > > On Fri, Jun 15, 2012 at 4:33 AM, Bhathiya Jayasekara < > > [email protected]> wrote: > > > >> 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 > >> > > > > > > > > -- > > System Analyst Programmer > > PTI Lab > > Indiana University > > > > > > > -- > System Analyst Programmer > PTI Lab > Indiana University >
