Hi Heshan,

I'm sorry, I don't get what you mean by remote debugging. If you are
talking about jackrabbit and airavata servers, yes I'm using the binaries
built by the same source.

Thank you.

On Fri, Jun 15, 2012 at 7:36 PM, Heshan Suriyaarachchi <
[email protected]> wrote:

> Hi Bhathiya,
>
> Are you doing the remote debugging, using the binary built from the same
> source? If they are different there might be an issue.
>
> 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
> >
>
>
>
> --
> Regards,
> Heshan Suriyaarachchi
>
> http://heshans.blogspot.com/
>



-- 
-Bhathiya Jayasekara-
http://www.google.com/profiles/tobhathiyaj
http://www.facebook.com/#!/bhathiyaj1

Reply via email to