Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 949949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:29:10+00:00 2026-05-15T23:29:10+00:00

I am compiling my project in GWT with any target . I get the

  • 0

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)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:29:11+00:00Added an answer on May 15, 2026 at 11:29 pm

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the following error when compiling my project for the device, but not
I have a large project which I am compiling with GWT. During this process
I often getting the following error when compiling a maven project with NetBeans: Failed
I've been hitting a java.lang.OutOfMemoryError: PermGen error when compiling a project with ant under
I'm getting an error compiling my VSTO (Visual Studio Tools for Office) project in
I have a gwt project that uses gwt-mosaic. Here is the error message I
When using GWT I get following warning: Referencing deprecated class 'com.google.gwt.user.client.rpc.SerializableException' While it's only
When compiling my project with gcc and the -Wall option, I get a warning
When compiling a project in Visual Studio, the error message the exec task needs
All I keep on finding are source files for compiling the project myself (which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.