Forum Discussion

karthick's avatar
karthick
New Contributor
8 years ago
Solved

Ready-Api 1.8.5 linux installation is getting errored when tried to install license

I'm trying to install Ready-Api 1.8.5 in Ubuntu. Downloaded the Linux TarBall(without java) and Uncompressed it. Then executed the ready-api.sh file. The Ready-Api gui appeared and prompted for license but when i tried to install license  i'm getting the following error.  Attached the complete error log. Let me know how to fix this.

 

Ubuntu Version:

ubuntu@ip-10-1-0-14:~$ lsb_release -d

Description:    Ubuntu 14.04.4 LTS

ubuntu@ip-10-1-0-14:~$

 

JRE version:

ubuntu@ip-10-1-0-14:~/ReadyAPI-1.8.0/bin$ java -version

java version "1.7.0_111"

OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-0ubuntu0.14.04.3)

OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)

 

 

 

ubuntu@ip-10-1-0-14:~/ReadyAPI-1.8.0/bin$ ./ready-api.sh
================================
=
= READY_API_HOME = /home/ubuntu/ReadyAPI-1.8.0
=
================================
- No base packages specified - no classpath scanning will be done
- Could not find jfxrt.jar. Internal browser will be disabled.
- Hibernate Validator 4.1.0.Final
- Adding module 'com.smartbear.ready.ui.ReadyApiUiModule
Configuring log4j from [/home/ubuntu/ReadyAPI-1.8.0/bin/soapui-log4j.xml]
05:26:30,748 INFO [DefaultSoapUICore] Creating new settings at [/home/ubuntu/soapui-settings.xml]
05:26:31,287 INFO [DefaultSoapUICore] Adding listeners from [/home/ubuntu/ReadyAPI-1.8.0/bin/listeners/demo-listeners.xml]
05:26:34,084 INFO [PluginManager] 0 plugins loaded in 3 ms
05:26:34,088 INFO [DefaultSoapUICore] All plugins loaded
05:26:35,046 INFO [DefaultSoapUICore] Adding actions from [/home/ubuntu/ReadyAPI-1.8.0/bin/actions/demo-actions.xml]
05:27:02,106 INFO [ReadyApiInitializer] Initializing modules
05:27:05,826 INFO [ModuleLoader] Module [LoadUI NG] added 5 actionGroups, 12 actions, 3 factories, 0 listeners, 0 toolbar components.
05:27:06,287 INFO [ModuleLoader] Module [ServiceV] added 12 actionGroups, 24 actions, 13 factories, 0 listeners, 0 toolbar components.
05:27:06,736 INFO [ModuleLoader] Module [Secure] added 4 actionGroups, 8 actions, 2 factories, 0 listen05:27:27,613 ERROR [InstallationDialog] Uncaught exception in Thread "AWT-EventQueue-0":
java.lang.NoClassDefFoundError: com/sun/glass/events/KeyEvent
at com.smartbear.ready.license.ui.InstallationDialog.<init>(InstallationDialog.groovy:32)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:60)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:235)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:271)
at com.smartbear.ready.license.ui.LicenseManagerView$_makePanel_closure5_closure8.doCall(LicenseManagerView.groovy:209)
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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)
at groovy.lang.Closure.call(Closure.java:426)
at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:53)
at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:105)
at com.sun.proxy.$Proxy65.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:720)
at java.awt.EventQueue$4.run(EventQueue.java:718)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.ClassNotFoundException: com.sun.glass.events.KeyEvent
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:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 71 more

  • Successfully installed with Ready! API 1.9.0 version and  Problem is only with 1.8.5 version.

1 Reply

  • karthick's avatar
    karthick
    New Contributor

    Successfully installed with Ready! API 1.9.0 version and  Problem is only with 1.8.5 version.