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

Web module with GWT integration facet cannot be built

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 3.2.1.M1
    • 3.2.0.Beta2
    • gwt, upstream
    • 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)
    • 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.

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

            [JBIDE-7828] Web module with GWT integration facet cannot be built

            We could have solved this by mirroring the google plugins. The proprietary licence google applies to their plugin unfortunately prevents us from doing that (http://code.google.com/intl/de-DE/eclipse/terms.html, Section 5.3). I therefore removed the depdendency to their sdk and dropped any installation ease and guard. Users have to install the google plugins manually in a first step.

            André Dietisheim added a comment - We could have solved this by mirroring the google plugins. The proprietary licence google applies to their plugin unfortunately prevents us from doing that ( http://code.google.com/intl/de-DE/eclipse/terms.html , Section 5.3). I therefore removed the depdendency to their sdk and dropped any installation ease and guard. Users have to install the google plugins manually in a first step.

            André Dietisheim added a comment - - edited

            removed erroneous comment

            André Dietisheim added a comment - - edited removed erroneous comment

            moved to 3.2.1 since they do not block final.

            Max Andersen added a comment - moved to 3.2.1 since they do not block final.

            I resolved this issue since this issue is due to the (Google) GWT plugin not checking the presence of a SDK when building (NPE as stated above). There's nothing we can do about that but to make sure we have the GWT SDK installed. We do that by having an optional dependency to the GWT SDK. Unfortunately there's a bug with this as stated in JBIDE-8145

            André Dietisheim added a comment - I resolved this issue since this issue is due to the (Google) GWT plugin not checking the presence of a SDK when building (NPE as stated above). There's nothing we can do about that but to make sure we have the GWT SDK installed. We do that by having an optional dependency to the GWT SDK. Unfortunately there's a bug with this as stated in JBIDE-8145

            I confused this issue with being our build not working, but it is Google GWT plugin that assumes you always have an SDK installed but that is rather problematic since they don't version their plugins in a way so it can be dependent on.

            Moving of CR1 and onto Final as a thing to report on.

            Max Andersen added a comment - I confused this issue with being our build not working, but it is Google GWT plugin that assumes you always have an SDK installed but that is rather problematic since they don't version their plugins in a way so it can be dependent on. Moving of CR1 and onto Final as a thing to report on.

            resolvind since this looks like a build related issue

            André Dietisheim added a comment - resolvind since this looks like a build related issue

            Max, as we decided the issue is not resolved but it most likely is a build related issue. I created a new issue here: JBIDE-8145

            André Dietisheim added a comment - Max, as we decided the issue is not resolved but it most likely is a build related issue. I created a new issue here: JBIDE-8145

            Andre - which new issue did you open ? Please link it to this.

            And then I assume this issue is resolved ?

            Max Andersen added a comment - Andre - which new issue did you open ? Please link it to this. And then I assume this issue is resolved ?

            We have an optional dependency to the sdk bundle and all versions are correct. I verified it by importing the gwt-facet project into a fresh eclipse and installed the gwt-plugins manually. IMHO this is a p2/build issue then. I open a new issue then.

            André Dietisheim added a comment - We have an optional dependency to the sdk bundle and all versions are correct. I verified it by importing the gwt-facet project into a fresh eclipse and installed the gwt-plugins manually. IMHO this is a p2/build issue then. I open a new issue then.

            testing on 3.2.0.v20110112-0024-H50-CR1 project with GWT facet does not work out-of-box. I am not sure if it is Google's bug or ours, but the SDK is not detected and must be manually added.

            Could this be fixed on our side?

            Libor Zoubek (Inactive) added a comment - testing on 3.2.0.v20110112-0024-H50-CR1 project with GWT facet does not work out-of-box. I am not sure if it is Google's bug or ours, but the SDK is not detected and must be manually added. Could this be fixed on our side?

              adietish@redhat.com André Dietisheim
              lzoubek Libor Zoubek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: