Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14572

GWT menu items are disappearing from Run As context menu of Hybrid Mobile (Cordova) App project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.1.0.Beta2
    • 4.1.0.Beta1
    • aerogear-hybrid
    • 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

        1. runasmenuwithgwt.png
          runasmenuwithgwt.png
          19 kB
        2. runasmenuwithoutgwt.png
          runasmenuwithoutgwt.png
          9 kB
        3. runastoolitem.png
          runastoolitem.png
          16 kB

            Unassigned Unassigned
            vpakan Vlado Pakan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: