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

Web module with GWT integration facet cannot be built

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.0.Beta2
    • Fix Version/s: 3.2.1.M1
    • Component/s: gwt, upstream
    • Labels:
    • Environment:

      3.2.0.v20101205-0157-H27-Beta2

    • Steps to Reproduce:
      Hide

      1. clean workspace
      2. create new Dynamic Web Project
      3. add GWT Integration facet (1.4.0)
      4. check generate samle code
      Current results:
      I get compile error: Unbound classpath container: 'GWT SDK [missing]' in project 'test' test
      and after few secconds NPE

      Errors running builder 'Google Web Toolkit Project Validator' on project 'test'.

      java.lang.NullPointerException
      at com.google.gdt.eclipse.core.MarkerUtilities.createMarker(MarkerUtilities.java:66)
      at com.google.gdt.eclipse.core.MarkerUtilities.createQuickFixMarker(MarkerUtilities.java:100)
      at com.google.gdt.eclipse.core.validators.AbstractProjectValidator.addNoSdkMarker(AbstractProjectValidator.java:66)
      at com.google.gwt.eclipse.core.validators.GWTProjectValidator.doAddNoSdkMarker(GWTProjectValidator.java:123)
      at com.google.gdt.eclipse.core.validators.AbstractProjectValidator.validateSdk(AbstractProjectValidator.java:119)
      at com.google.gwt.eclipse.core.validators.GWTProjectValidator.build(GWTProjectValidator.java:82)
      at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
      at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
      at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
      at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
      at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
      at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

      Show
      1. clean workspace 2. create new Dynamic Web Project 3. add GWT Integration facet (1.4.0) 4. check generate samle code Current results: I get compile error: Unbound classpath container: 'GWT SDK [missing] ' in project 'test' test and after few secconds NPE Errors running builder 'Google Web Toolkit Project Validator' on project 'test'. java.lang.NullPointerException at com.google.gdt.eclipse.core.MarkerUtilities.createMarker(MarkerUtilities.java:66) at com.google.gdt.eclipse.core.MarkerUtilities.createQuickFixMarker(MarkerUtilities.java:100) at com.google.gdt.eclipse.core.validators.AbstractProjectValidator.addNoSdkMarker(AbstractProjectValidator.java:66) at com.google.gwt.eclipse.core.validators.GWTProjectValidator.doAddNoSdkMarker(GWTProjectValidator.java:123) at com.google.gdt.eclipse.core.validators.AbstractProjectValidator.validateSdk(AbstractProjectValidator.java:119) at com.google.gwt.eclipse.core.validators.GWTProjectValidator.build(GWTProjectValidator.java:82) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    • Workaround Description:
      Hide

      Install the GWT plugins in a first step, restart and install the JBT GWT Integration plugin on top of it, in a 2nd step.

      Show
      Install the GWT plugins in a first step, restart and install the JBT GWT Integration plugin on top of it, in a 2nd step.

      Description

      I am failing to build/compile simple web module with GWT facet

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  lzoubek Libor Zoubek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: