Unable to retrieve the cloud database info for [database]

23 Feb '19, 02:44 PM
2,233 Views
No Forum Badges

I am trying to deploy to cloud but it fails with the following message:

[23:24:46,188] Preparing Build Environment

[23:24:46,188] Output Folder: C:\WebRatio\WebRatio BPM Platform Community 8.8.1\WebRatio\build

[23:24:48,201] WebRatio Cloud  deploy failed

[23:24:48,201] org.eclipse.core.runtime.CoreException: An error occurred during deploy environment initialization

at com.webratio.ide.deploy.core.DeployHelper.prepareEnvironment(DeployHelper.java:711)

at com.webratio.ide.deploy.core.launching.AbstractDeployLaunchConfigurationDelegate.doLaunch(AbstractDeployLaunchConfigurationDelegate.java:85)

at com.webratio.ide.deploy.core.launching.WebRatioCloudLaunchConfigurationDelegate.doLaunch(WebRatioCloudLaunchConfigurationDelegate.java:94)

at com.webratio.ide.deploy.ui.wizard.GenerateAndRunOnCloudWizardController.deploy(GenerateAndRunOnCloudWizardController.java:318)

at com.webratio.ide.deploy.ui.wizard.GenerateAndRunOnCloudWizard.performFinish(GenerateAndRunOnCloudWizard.java:215)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)

at com.webratio.commons.mf.ui.dialogs.MFWizardDialog.finishPressed(MFWizardDialog.java:100)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)

at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)

at org.eclipse.jface.window.Window.open(Window.java:808)

at com.webratio.ide.deploy.ui.generator.actions.GenerateAndRunOnCloudAction.execute(GenerateAndRunOnCloudAction.java:110)

at com.webratio.ide.deploy.ui.generator.actions.GenerateAndRunDropDownAction$2.run(GenerateAndRunDropDownAction.java:92)

at com.webratio.ide.deploy.ui.generator.actions.AbstractGenerationDropDownAction.run(AbstractGenerationDropDownAction.java:51)

at com.webratio.ide.deploy.ui.generator.actions.GenerateAndRunDropDownAction.run(GenerateAndRunDropDownAction.java:1)

at com.webratio.commons.mf.ui.actions.AbstractDropDownAction.runWithEvent(AbstractDropDownAction.java:60)

at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:243)

at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:237)

at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)

at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)

at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:462)

at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)

at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)

at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)

at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

Caused by: org.eclipse.core.runtime.CoreException: Unable to retrieve the cloud database info for DB_altafalbait[db1]

at com.webratio.ide.deploy.core.LaunchConfigurationReplacer.replaceDatabase(LaunchConfigurationReplacer.java:445)

at com.webratio.ide.deploy.core.LaunchConfigurationReplacer.doWebReplace(LaunchConfigurationReplacer.java:129)

at com.webratio.ide.deploy.core.LaunchConfigurationReplacer.replace(LaunchConfigurationReplacer.java:107)

at com.webratio.ide.deploy.core.DeployHelper.prepareEnvironment(DeployHelper.java:675)

... 53 more

Caused by: java.lang.NullPointerException

at com.webratio.ide.deploy.core.LaunchConfigurationReplacer.replaceDatabase(LaunchConfigurationReplacer.java:409)

... 56 more

 
x 0
Follow
Answer Answer at this question and get points!
Forum Expert - Level 8

Hi,

the Generate and Run on Cloud option is not available anymore.
With the latest release , which is the 7.2.17, you can generate your applications on a local environment. Please download the latest release to experiment the platform.

 
x 0
Answer at this question and get points!