Forum Discussion

a18's avatar
a18
New Contributor
4 years ago
Solved

[ReadyAPI-3.3.1] Taking very long to start

I checked the logs and found error: Failed to execute task within 450 seconds.
Following is the error logs, please provide some solution :

  • Wed Aug 05 15:34:10 IST 2020: ERROR: JxBrowser cannot be initialized. The default Java browser will be used instead.
  • Wed Aug 05 15:34:10 IST 2020: ERROR: com.teamdev.jxbrowser.navigation.TimeoutException: Failed to execute task withing 450 seconds.
  • com.teamdev.jxbrowser.navigation.TimeoutException: Failed to execute task withing 450 seconds.
  • at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadAndWait(NavigationImpl.java:232)
  • at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadUrlAndWait(NavigationImpl.java:93)
  • at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadUrlAndWait(NavigationImpl.java:70)
  • at com.teamdev.jxbrowser.navigation.internal.NavigationImpl.loadUrlAndWait(NavigationImpl.java:62)
  • at com.teamdev.jxbrowser.engine.internal.EngineImpl.newBrowser(EngineImpl.java:419)
  • at com.eviware.soapui.support.components.JxBrowserComponent.initializeBrowser(JxBrowserComponent.java:220)
  • at com.eviware.soapui.support.components.JxBrowserComponent.(JxBrowserComponent.java:118)
  • at com.eviware.soapui.support.components.browser.BrowserComponentProviderImpl.create(BrowserComponentProviderImpl.java:29)
  • at com.eviware.soapui.support.components.WebViewBasedBrowserComponentFactory.createBrowserComponent(WebViewBasedBrowserComponentFactory.java:86)
  • at com.eviware.soapui.support.components.WebViewBasedBrowserComponentFactory.createBrowserComponent(WebViewBasedBrowserComponentFactory.java:63)
  • at com.eviware.soapui.ui.URLDesktopPanel.(URLDesktopPanel.java:43)
  • at com.eviware.soapui.ui.StarterPageDesktopPanel.(StarterPageDesktopPanel.java:37)
  • at com.eviware.soapui.ready.ClassicModulePanel.a(ClassicModulePanel.java:366)
  • at com.eviware.soapui.ready.ClassicModulePanel$InternalNavigatorListener.nodeSelected(ClassicModulePanel.java:655)
  • at com.eviware.soapui.ui.Navigator$NavigatorTreeSelectionListener.valueChanged(Navigator.java:773)
  • at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
  • at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
  • at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
  • at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111)
  • at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297)
  • at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:191)
  • at java.desktop/javax.swing.JTree.setSelectionPath(JTree.java:1656)
  • at com.eviware.soapui.ui.Navigator.setSelection(Navigator.java:531)
  • at com.eviware.soapui.ui.Navigator.selectWorkspace(Navigator.java:522)
  • at com.eviware.soapui.ready.ClassicModulePanel.(ClassicModulePanel.java:191)
  • at com.eviware.soapui.ready.ClassicModulePanel$Builder.build(ClassicModulePanel.java:534)
  • at com.eviware.soapui.ready.ClassicModuleGui.buildUI(ClassicModuleGui.java:338)
  • at com.eviware.soapui.ready.ClassicModuleGui.buildUI(ClassicModuleGui.java:1)
  • at com.smartbear.ready.core.module.support.SimpleModuleGui.getComponent(SimpleModuleGui.java:56)
  • at com.eviware.soapui.ready.ClassicModuleGui.getComponent(ClassicModuleGui.java:291)
  • at com.eviware.soapui.ready.ClassicModuleGui.activate(ClassicModuleGui.java:255)
  • at com.smartbear.ready.functional.view.FunctionalModuleGui.activate(FunctionalModuleGui.java:126)
  • at com.smartbear.ready.core.module.support.PrivateReadyApiModule.activate(PrivateReadyApiModule.java:99)
  • at com.smartbear.ready.core.module.SimpleReadyApiDisplayDispatcher.activateModule(SimpleReadyApiDisplayDispatcher.java:76)
  • at com.smartbear.ready.core.module.SimpleReadyApiDisplayDispatcher.setActiveModuleInternal(SimpleReadyApiDisplayDispatcher.java:89)
  • at com.smartbear.ready.core.module.SimpleReadyApiDisplayDispatcher.setActiveModule(SimpleReadyApiDisplayDispatcher.java:114)
  • at com.smartbear.ready.core.module.SimpleReadyApiDisplayDispatcher.activateModuleWithId(SimpleReadyApiDisplayDispatcher.java:99)
  • at com.smartbear.ready.ui.swing.SwingReadyApiUi.selectDefaultModule(SwingReadyApiUi.java:55)
  • at com.smartbear.ready.ui.swing.CommonSwingReadyApiUi.buildMainWindow(CommonSwingReadyApiUi.java:146)
  • at com.smartbear.ready.ui.swing.CommonSwingReadyApiUi.getMainWindow(CommonSwingReadyApiUi.java:117)
  • at com.smartbear.ready.ui.swing.CommonSwingReadyApiUi.runReadyApi(CommonSwingReadyApiUi.java:109)
  • at com.smartbear.ready.ui.swing.SwingReadyApiUi$$EnhancerByGuice$$93ebb271.CGLIB$runReadyApi$7()
  • at com.smartbear.ready.ui.swing.SwingReadyApiUi$$EnhancerByGuice$$93ebb271$$FastClassByGuice$$1d5c01bb.invoke()
  • at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228)
  • at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76)
  • at com.smartbear.ready.ui.swinginvoke.SwingInvokeInterceptor$InvocationRunner.run(SwingInvokeInterceptor.java:59)
  • at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
  • at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
  • at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
  • at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
  • at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
  • at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
  • at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
  • at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
  • at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
  • at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
  • at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
  • at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
  • at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
  • Hi a18 !

    In case this suggestion wasn't helpful, I recommend contacting support since this issue requires deeper investigation from our team! Thank you and do not hesitate to post the final solution you get from them here.

3 Replies

  • sonya_m's avatar
    sonya_m
    SmartBear Alumni (Retired)

    Hi a18 !

     

    Please try disabling jxbrowser by adding -Dsoapui.jxbrowser.disable=true to the vmoptions file in the ReadyAPI/bin folder. 

    Let the Community know if this helps!

    • a18's avatar
      a18
      New Contributor

      I tried the above thing but not worked as expected.
      Is there any chance that it has got corrupted ?

      • sonya_m's avatar
        sonya_m
        SmartBear Alumni (Retired)

        Hi a18 !

        In case this suggestion wasn't helpful, I recommend contacting support since this issue requires deeper investigation from our team! Thank you and do not hesitate to post the final solution you get from them here.