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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s