-
Bug
-
Resolution: Won't Do
-
Major
-
4.1.0.Beta1
-
None
1. Create new Hybrid Mobile (Cordova) Application Project
2. Right click on created project and select Run As... menu. These menu items are displayed:
3. Click on Run As... ToolItem of JBDS ToolBar. These options are displayed:
4. Repeat step 2. These menu items are displayed:
ERROR: Run As.. context has inconsistent content. For first time it's offering GWT options for next times GWT options are not available
Sometimes there is this error in error log but not always:
org.eclipse.core.runtime.CoreException: Launch configuration cordova-project (1) Production references non-existing project cordova-project. at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1403) at org.eclipse.jdt.launching.JavaRuntime.getJavaProject(JavaRuntime.java:1278) at com.google.gwt.eclipse.core.launch.util.GWTJUnitLaunchUtils.setDefaults(GWTJUnitLaunchUtils.java:35) at com.google.gwt.eclipse.core.launch.ui.GWTJUnitLaunchShortcut.createLaunchConfiguration(GWTJUnitLaunchShortcut.java:44) at com.google.gwt.eclipse.core.launch.ui.GWTJUnitWebLaunchShortcut.createLaunchConfiguration(GWTJUnitWebLaunchShortcut.java:31) at org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut.findExistingLaunchConfigurations(JUnitLaunchShortcut.java:491) at org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut.getLaunchConfigurations(JUnitLaunchShortcut.java:429) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.getLaunchConfigurations(LaunchShortcutExtension.java:496) at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getParticipatingLaunchConfigurations(LaunchingResourceManager.java:493) at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getLabel(LaunchingResourceManager.java:322) at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:240) at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$2.run(LaunchingResourceManager.java:138) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Launch configuration configuration cordova-project exists
Launch configuration configuration cordova-project (1) does not exist
Project cordova-project exists and is available in Project explorer