Stuck after "GWT module 'com.vaadin.DefaultWidgetSet' may need to be (re)co

When I attempt to acccess my app in various browsers, I get the warning message that the DefaultWidgetSet may need to re-compile, and then I remain stuck indefinitely on the spinner.

If I attempt to compile the widgetset in Eclipse, I get ‘Error Compiling Widgetset’:

java.lang.NullPointerException
at com.vaadin.integration.eclipse.util.WidgetsetUtil$5.visit(Widgety.xml. setUtil.java:969)
at org.eclipse.jdt.core.dom.NormalAnnotation.accept0(NormalAnnotation.java:163)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:479)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:220)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
at com.vaadin.integration.eclipse.util.WidgetsetUtil.updateServletAnnotationForWidgetset(WidgetsetUtil.java:964)
at com.vaadin.integration.eclipse.util.WidgetsetUtil.getWidgetSet(WidgetsetUtil.java:887)
at com.vaadin.integration.eclipse.builder.WidgetsetBuildManager.compileWidgetsets(WidgetsetBuildManager.java:453)
at com.vaadin.integration.eclipse.handlers.CompileWidgetsetHandler.compileFile(CompileWidgetsetHandler.java:159)
at com.vaadin.integration.eclipse.handlers.CompileWidgetsetHandler$1.run(CompileWidgetsetHandler.java:109)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

I note that the DefaultWidgetSet exists under WebContent/VAADIN/widgetsets. I am not attempting to create my own widgetset, I just want to use the default.

Here’s my ivy.xml. I previously also attempted to use Maven but eventually removed its nature - not sure if that’s relevant.

<?xml version="1.0"?> <!DOCTYPE ivy-module [

]>

<ivy-module version=“2.0”

xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance

xsi:noNamespaceSchemaLocation=“http://ant.apache.org/ivy/schemas/ivy.xsd”>

    <!-- The default configuration, which should be deployed to the server -->

    <conf name="default" />

    <!-- A configuration only needed when compiling the widget set. Should 

        not be deployed to the server -->

    <conf name="widgetset-compile" />

    <!-- A configuration used in compilation of server side classes only.

        Should be deployed to the server -->

    <conf name="nodeploy" />
    <!-- The core server part of Vaadin -->

    <dependency org="com.vaadin" name="vaadin-server" rev="&vaadin.version;" />




    <!-- Vaadin themes -->

    <dependency org="com.vaadin" name="vaadin-themes" rev="&vaadin.version;" />




    <!-- Push support -->

    <dependency org="com.vaadin" name="vaadin-push" rev="&vaadin.version;" />




    <!-- Servlet 3.0 API -->

    <dependency org="javax.servlet" name="javax.servlet-api" rev="3.0.1" conf="nodeploy->default" />




    <!-- Precompiled DefaultWidgetSet -->

    <dependency org="com.vaadin" name="vaadin-client-compiled"

        rev="&vaadin.version;" />




    <!-- Vaadin client side, needed for widget set compilation -->

    <dependency org="com.vaadin" name="vaadin-client" rev="&vaadin.version;"

         conf="widgetset-compile->default" />




    <!-- Compiler for custom widget sets. Should not be deployed -->

    <dependency org="com.vaadin" name="vaadin-client-compiler"

        rev="&vaadin.version;" conf="widgetset-compile->default" />

        

    <dependency org="org.springframework" name="spring-web" rev="3.2.4.RELEASE"/>

    <dependency org="org.springframework" name="spring-core" rev="3.2.4.RELEASE"/>

    <dependency org="org.codehaus.jackson" name="jackson-mapper-asl" rev="1.9.13"/>

    <dependency org="org.codehaus.jackson" name="jackson-core-asl" rev="1.9.13"/>

    <dependency org="commons-codec" name="commons-codec" rev="1.9"/>

    <dependency org="org.codehaus.mojo" name="aspectj-maven-plugin" rev="1.6"/>

Any help would be appreciated.

Delete the defaultWidgetset folder, it shouldn’t be there. You never need to recompile the default widgetset. Check your build folders and delete ay widgetsets from there as well, and clean your server temp folders.

Try that, and report back.