Facing issue compiling GWT after upgrading java to java11 - gwt

Getting following exception after upgrading java. I am using gwt 2.9 libraries and ant in our project.
[java] Ignored 37 units with compilation errors in first pass.
[java] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[java] Resolving com.google.gwt.cell.client.FieldUpdater
[java] Found type 'com.google.gwt.cell.client.FieldUpdater'
[java] [ERROR] Unable to find class java/lang/Object
[java] [ERROR] Unable to find class java/lang/Object
[java] [ERROR] Unable to find class java/lang/Object
[java] Resolving com.google.gwt.cell.client.ValueUpdater
[java] Found type 'com.google.gwt.cell.client.ValueUpdater'
[java] [ERROR] Unable to find class java/lang/Object
[java] [ERROR] Unable to find class java/lang/Object
[java] Resolving com.google.gwt.core.client.AsyncProvider
[java] Found type 'com.google.gwt.core.client.AsyncProvider'
[java] [ERROR] Unable to find class java/lang/Object
[java] [ERROR] Unable to find class java/lang/Object
[java] [ERROR] Unable to find class java/lang/Object
[java] Resolving method get
[java] Found type 'com.google.gwt.core.client.Callback'
[java] [ERROR] Unable to find class java/lang/Object
[java] [ERROR] Unable to find class java/lang/Object
[java] [ERROR] Unable to find class java/lang/Object

If something as fundamental as java.lang.Object is not available to the GWT compiler, it sounds like the gwt-user dependency is not available to the compiler. This jar library contains the JRE emulation classes.
Make sure gwt-user-2.9.0.jar is on the classpath when ant runs the GWT compiler.

Latest gwt libraries (gwt-user-2.9.0.jar,gwt-dev-2.9.0.jar,gwt-servlet-2.9.0.jar) depends on following jars. After adding these jars in project issue got fixed.
ant.jar
colt-1.2.0.jar
asm-7.1.jar
jsinterop-annotations-2.8.2-v20191108.jar
base-1.0.0-beta-2.jar
tapestry-util-text-4.0.2.jar

Related

Maven dependency: import cannot be resolved but is present in local repository (Eclipse Oomph Unzip Setup Task)

I have problems using Maven.
A Maven mvn clean package of the submodule "task-unzip" from the Eclipse Oomph's Unzip Setup Task repository (https://github.com/maybeec/oomph-task-unzip) fails with the following error on several machines/setups:
[INFO] --- tycho-compiler-plugin:0.22.0:compile (default-compile) # com.github.maybeec.oomph.task.unzip ---
[INFO] Compiling 13 source files to C:\FOLDER\repositories\oomph-task-unzip\task-unzip\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.983 s
[INFO] Finished at: 2020-10-28T18:35:49+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.22.0:compile (default-compile) on project com.github.maybeec.oomph.task.unzip: Compilation failure: Compilation failure:
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[7]
[ERROR] import org.apache.commons.compress.archivers.ArchiveEntry;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The import org.apache.commons cannot be resolved
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[8]
[ERROR] import org.apache.commons.compress.archivers.ArchiveInputStream;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The import org.apache.commons cannot be resolved
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[9]
[ERROR] import org.apache.commons.compress.archivers.ArchiveStreamFactory;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The import org.apache.commons cannot be resolved
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[10]
[ERROR] import org.apache.commons.compress.compressors.CompressorInputStream;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The import org.apache.commons cannot be resolved
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[11]
[ERROR] import org.apache.commons.compress.compressors.CompressorStreamFactory;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The import org.apache.commons cannot be resolved
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[12]
[ERROR] import org.apache.commons.compress.utils.IOUtils;
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] The import org.apache.commons cannot be resolved
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[47]
[ERROR] CompressorInputStream cIS = new CompressorStreamFactory().createCompressorInputStream(in);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^
[ERROR] CompressorInputStream cannot be resolved to a type
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[47]
[ERROR] CompressorInputStream cIS = new CompressorStreamFactory().createCompressorInputStream(in);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] CompressorStreamFactory cannot be resolved to a type
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[64]
[ERROR] ArchiveInputStream archiveIS = new ArchiveStreamFactory().createArchiveInputStream(fileIS);
[ERROR] ^^^^^^^^^^^^^^^^^^
[ERROR] ArchiveInputStream cannot be resolved to a type
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[64]
[ERROR] ArchiveInputStream archiveIS = new ArchiveStreamFactory().createArchiveInputStream(fileIS);
[ERROR] ^^^^^^^^^^^^^^^^^^^^
[ERROR] ArchiveStreamFactory cannot be resolved to a type
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[65]
[ERROR] ArchiveEntry entry;
[ERROR] ^^^^^^^^^^^^
[ERROR] ArchiveEntry cannot be resolved to a type
[ERROR] C:\FOLDER\repositories\oomph-task-unzip\task-unzip\src\com\github\maybeec\oomph\task\unzip\core\impl\UnzipUtilImpl.java:[77]
[ERROR] IOUtils.copy(archiveIS, out);
[ERROR] ^^^^^^^
[ERROR] IOUtils cannot be resolved
[ERROR] 12 problems (12 errors)
[ERROR] -> [Help 1]
Maven is actually downloading the Apache commons-compress-1.19.jar to the local Maven repository and it is also being copied to the project's lib folder. So that is working and the dependency is actually present on the filesystem.
However, Maven can not find this dependency. Adding it manually to the project, the resolve failure can be solved, but that is not a solution to the problem it's not working with Maven.
Importing the submodule in Eclipse shows the same. Eclipse isn't able to auto-complete an "import" statement to "org.apache.commons.*":
The Properties > Build path of that submodule doesn't show any Maven dependencies (actually the "Maven Dependencies" list wasn't even there! I had to follow https://stackoverflow.com/a/27337064/5446400 and edit the .classpath file for that). However it's still empty:
Searching and working for hours on that problem I couldn't come up with an explanation why Maven behaves the way it does.
Thank you for any support!
Maven dependencies shouldn't need to be added to the build path of Eclipse plugins. The plugin dependencies are enough and in this case commons-compress-1.19.jar will be loaded as a library from within the plugin's lib directory (this is defined in the build.properties file), not directly as a Maven dependency.
I'm not sure if downloading a Maven dependency and using it in the same build will work this way. If it gets copied to the correct location, you might just need to refresh the workspace, otherwise the jar could get ignored in the Eclipse build.
For debugging the issue I would probably download the artifact and place the jar in the lib directory manually once and ditch the automated process. Then at least you see if this unusual handling of Maven dependencies is the issue or something else.

Caused by: java.lang.ClassNotFoundException: weblogic.application.descriptor.MungerLogger

I am deploying in Weblogic but I got this error:
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/application/descriptor/MungerLogger
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:823)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:413)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:779)
[java] at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:792)
[java] at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:142)
[java] at weblogic.servlet.jsp.jspc20.initDescriptors(jspc20.java:537)
[java] at weblogic.servlet.jsp.jspc20.runBody(jspc20.java:273)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.jspc.main(jspc.java:22)
[java] Caused by: java.lang.ClassNotFoundException: weblogic.application.descriptor.MungerLogger
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[java] ... 10 more
deploying with the free Oracle WebLogic Server 12c (12.1.3)
I have no idea from where I can get this class from
First you need to download the jar which contains MungerLogger. In pom.xml add dependency:
com.common
jarName
x.x
Then you need to tell Weblogic to load the jar which contains the MungerLogger. Add this script into weblogic.xml or weblogic-application.xml:
the package contain MungerLogger such as com.common.
the package contain MungerLogger such as com.common.
Use this on top of weblogic.xml:
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">

gwt - java.lang.NoClassDefFoundError: com/google/gwt/dev/js/JsKeywords

I am trying to compile gwt module. This error is generated , env has gwt-log-3.1.8 and gwtsdk-2.4.0. Any idea why this is happening. It used work earlier in different project.
Error :
[java] Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-OFF'
[java] Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-impl'
[java] [ERROR] Line 87: Unexpected exception while processing element 'property-provider'
[java] java.lang.NoClassDefFoundError: com/google/gwt/dev/js/JsKeywords
[java] at com.google.gwt.dev.js.ast.JsScope.maybeMangleKeyword(JsScope.java:56)
[java] at com.google.gwt.dev.js.ast.JsScope.declareName(JsScope.java:75)
[java] at com.google.gwt.dev.js.JsParser.mapVar(JsParser.java:1229)
[java] at com.google.gwt.dev.js.JsParser.map(JsParser.java:324)
[java] at com.google.gwt.dev.js.JsParser.mapStatement(JsParser.java:1026)
[java] at com.google.gwt.dev.js.JsParser.mapStatements(JsParser.java:1046)
[java] at com.google.gwt.dev.js.JsParser.mapBlock(JsParser.java:442)
[java] at com.google.gwt.dev.js.JsParser.mapFunction(JsParser.java:718)
[java] at com.google.gwt.dev.js.JsParser.map(JsParser.java:296)
JsKeywords class is part of gwt-dev.jar. Make sure that this jar is in classpath.

PDE Headless Build (Feature-based) and Missing Required Plug-ins

When attempting to perform a PDE headless build, I am finding the eclipse.buildScript step to display the following:
[java] generateScript:
[java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.connectivity.oda.design.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.profile_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design_[3.0.4,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.consumer_[3.1.1,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.connectivity.oda.profile:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.consumer_[3.1.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.connectivity.ui.templates:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.ui.templates_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.jdt.classpath:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.ws.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design.ui_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.enablement.oda.xml.ui_[1.1.0,2.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.ws:
[java] [eclipse.buildScript] Another singleton version selected: org.eclipse.datatools.enablement.oda.ws_1.1.2.v200812171046
[java] [eclipse.buildScript] Optional plug-in org.eclipse.datatools.connectivity.oda.profile_[3.0.4,4.0.0) is not available.
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.xml.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design.ui_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.xml.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.datatools.connectivity.oda.design.ui_[3.0.6,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.datatools.enablement.oda.xml:
[java] [eclipse.buildScript] Another singleton version selected: org.eclipse.datatools.enablement.oda.xml_1.1.2.v200902111040
[java] [eclipse.buildScript] Optional plug-in org.eclipse.datatools.connectivity.oda.profile_[3.0.4,4.0.0) is not available.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.help_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.expressions_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.resources_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.variables_[3.2.200,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.search_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.core_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.ui_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.launching_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.compare_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.team.ui_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.team.core_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jface.text_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.console_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.ide_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.views_[3.3.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.editors_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.runtime_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ltk.core.refactoring_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ltk.ui.refactoring_[3.4.100,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.forms_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.navigator_[3.3.200,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.navigator.resources_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.core.manipulation_[1.3.0,2.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.pde.ui.templates:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.ui_[3.3.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.pde.ui:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.core_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jface.text_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.debug.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.launching_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.ui_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.pde.build_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.search_[3.1.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.team.core_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ant.ui_[3.1.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.junit_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.compare_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ltk.ui.refactoring_[3.2.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.ui_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.metadata_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.engine_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.core_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.director_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.artifact.repository_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.metadata.repository_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.frameworkadmin_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.frameworkadmin.equinox_[1.0.100,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.equinox.p2.repository_[1.0.0,2.0.0).
[java] [eclipse.buildScript] Unsatisfied import package org.eclipse.jdt.debug.core_0.0.0.
I understand that these bundles / plug-ins are missing required and / or optional dependencies. what I do not understand is how certain plug-ins are NOT found.
For example, there are many org.eclipse.XXXXX plug-ins listed, which I believe would be resolved through the use of the baseLocation property, which I have set as follows:
<full_path_from_root>\pdebuild\target\eclipse
Where eclipse is my target to build against and has all of my third-party dependencies.
In addition, I also have a separate eclipse install that serves as the version initiating the build (e.g., version 3.5.2 with PDE build files). The "plugins" sub-folder in this eclipse does have the missing dependencies listed above.
Thus, when attempting resolve missing dependencies, be they either required or optional, how are they resolved during a headless PDE build? I find it odd that I would have to copy the missing plug-ins from the eclipse used to initiate the headless PDE build over into the target\eclipse\plugins sub-folder, just to attempt to resolve this issue. When I do this though, I receive even more "missing required plug-in" messages. Maybe this just boils down to me having to continue copying the libraries over into my target\eclipse\plugins sub-folder until the messages disappear.
Many thanks to those who can offer any advice or suggestions as to how best to resolve this issue.
When you specify the base location, either using an eclipse install as your target or a set of p2 repos, that defines what PDE build will build against. The eclipse used to initiate your build using ant (we refer to that as the basebuilder) has no effect on what is being built.
But if your baseLocation points to a complete eclipse install that contains all of the plugins, it should work. Is your baseLocation a valid eclipse install, or just a dumping ground for plugins and features?

Error in GWT compilation

I am compiling my project in GWT with any target . I get the following error on Linux and Solaris . I can compile the Samples which came with GWT but get this error .
I am using GWT 2.0.3 and JDK 1.6.17
[java] Compiling module com.calix.ex1.webgui.ex1embeddedclient.Ex1EmbeddedGui
[java] [ERROR] Unexpected
[java] java.lang.NullPointerException
[java] at com.google.gwt.dev.javac.JdtCompiler$FindTypesInCud.visit(JdtCompiler.java:179)
[java] at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1253)
[java] at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.traverse(QualifiedAllocationExpression.java:478)
[java] at org.eclipse.jdt.internal.compiler.ast.ReturnStatement.traverse(ReturnStatement.java:262)
[java] at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:239)
[java] at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1350)
[java] at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1223)
[java] at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687)
[java] at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:158)
[java] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
[java] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:467)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:142)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:281)
[java] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:182)
[java] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:280)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:502)
[java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
[java] at com.google.gwt.dev.Compiler.run(Compiler.java:201)
[java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
[java] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
[java] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
[java] at com.google.gwt.dev.Compiler.main(Compiler.java:159)
Maybe an answer here : GWT Issue 4552
If you neglect to add an import for an
anonymous class like so:
FocusPanel dropdown = new FocusPanel();
dropdown.addClickHandler(new BloggiDiBlook() {});
where class BloggiDiBlook is neither
in the enclosing class's package, nor
imported in the enclosing class's
.java file. There ought to be an
appropriate "Class not found" or
similar compiler error. Instead, the
JDT Compiler throws the following
NullPointerException