title: GWT Internationalization throws an exception while rebinding
body: <p>I'm trying to internationalize a test application with GWT <a href="http://code.google.com/webtoolkit/tutorials/1.6/i18n.html" rel="nofollow noreferrer">following the instruction</a> and I have:</p>
  
  <pre><code>com.example.client.MyConstants.java
  com.example.client.MyConstants_en.properties
  com.example.client.MyConstants_fr.properties
  com.example.client.MyAppEntryPoint.java
  </code></pre>
  
  <p>In this code I have:</p>
  
  <pre><code>public interface MyConstants extends Constants
  {
        @DefaultStringValue("HelloWorld")
        String hellowWorld();
  }
  </code></pre>
  
  <p>And </p>
  
  <pre><code>public class MyAppEntryPoint implements EntryPoint
  {
      public void onModuleLoad()
      {
          MyConstants constants = GWT.create(MyConstants.class);
  
          VerticalPanel mainPanel = new VerticalPanel();
          mainPanel.add(new Label(constants.hellowWorld()));
          RootPanel.get("myContainer").add(mainPanel);
      }
  }
  </code></pre>
  
  <p>For MyApp.gwt.xml I have:</p>
  
  <pre><code>&lt;module rename-to="myModule"&gt;
      &lt;inherits name="com.google.gwt.xml.XML" /&gt;  
          &lt;inherits name="com.google.gwt.i18n.I18N"/&gt;
  
      &lt;inherits name='com.google.gwt.user.theme.standard.Standard'/&gt;
  
      &lt;!-- Specify the app entry point class.                         --&gt;
      &lt;entry-point class='com.example.client.MyAppEntryPoint'/&gt;
  
      &lt;extend-property name="locale" values="en,fr"/&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>In the html I have:</p>
  
  <p>
  
  ...</p>
  
  <p>It all seems to work as long as I don't include  in the xml file. As soon as I do, I get the following exception:</p>
  
  <pre><code>[ERROR] Generator 'com.google.gwt.i18n.rebind.LocalizableGenerator' threw threw an exception while rebinding 'com.example.client.myConstants'
  java.lang.NullPointerException: null
  ...
  </code></pre>
  
  <p>Any help would be greatly appreciated on why it's throwing the exception.</p>
  
  <ul>
  - 
  </ul>