NPE when starting Google Dev Mode

After setting up a new Eclipse instance, checking out my current GWT project it’s time for a first test, so I fire up the DevMode and: NullPointerException at SwingUI(42)

That particular class is part of the GWT DevMode and tries to load an image from the class path by requesting it from SwingUI’s class loader which turns out to be null. The reason is that by mistake I added all GWT jars to the bootstrap classpath of the launch configuration, just moving them to the “User Entries” section fixes the problem.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.