We recently upgraded from GWT 2.1 to GWT 2.4 Beta. Since the update
we have been getting "Exception in thread "UnitWriteThread"
java.lang.NullPointerException". It doesn't seem to cause any
problems in that the code still successfully compiles and runs.
Here's some GWT Compiler debug output:
[java] Found better fallback match for <replace-with
class='com.google.gwt.user.client.ui.impl.RichTextAreaImplIE6'/>
[java] Checking rule <replace-with
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.ImplIE6'/>
[java] Checking if all subconditions are true
(<all>)
[java] <when-type-is
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.Impl'/>
[java] Not an exact match
[java] No: One or more subconditions was false
[java] Rule did not match
[java] Found better fallback match for <replace-with
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.ImplIE6'/>
[java] Checking rule <replace-with
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.ImplTrident'/>
[java] Checking if all subconditions are true
(<all>)
[java] <when-type-is
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.Impl'/>
[java] Not an exact match
[java] No: One or more subconditions was false
[java] Rule did not match
[java] Found better fallback match for <replace-with
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.ImplTrident'/>
[java] Checking rule <replace-with
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.ImplStandard'/>
[java] Checking if all subconditions are true
(<all>)
[java] <when-type-is
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.Impl'/>
[java] Not an exact match
[java] No: One or more subconditions was false
[java] Rule did not match
[java] Found better fallback match for <replace-with
class='com.google.gwt.user.client.ui.ResizeLayoutPanel.ImplStandard'/>
[java] Checking rule <generate-with
class='com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator'/
>
[java] Checking if all subconditions are true
(<all>)
[java] <when-assignable
class='com.google.gwt.user.client.rpc.RemoteService'/>
[java] Exception in thread "UnitWriteThread"
java.lang.NullPointerException
[java] at
com.google.gwt.dev.util.DiskCache.transferFromStream(DiskCache.java:
154)
[java] at
com.google.gwt.dev.javac.SourceFileCompilationUnit.asCachedCompilationUnit(SourceFileCompilationUnit.java:
59)
[java] at
com.google.gwt.dev.javac.CompilationUnit.writeReplace(CompilationUnit.java:
392)
[java] at
sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[java] at java.lang.reflect.Method.invoke(Method.java:597)
[java] at
java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:
1032)
[java] at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1115)
[java] at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
[java] at com.google.gwt.dev.javac.PersistentUnitCache
$UnitWriter.run(PersistentUnitCache.java:226)
[java] No, the requested type was not
assignable
[java] No: One or more subconditions was false
[java] Rule did not match
[java] Found better fallback match for <generate-with
class='com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator'/
>
[java] Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.PopupImplIE6'/>
[java] Checking if all subconditions are true
(<all>)
[java] <when-type-is
class='com.google.gwt.user.client.ui.impl.PopupImpl'/>
[java] Not an exact match
[java] No: One or more subconditions was false
[java] Rule did not match
[java] Found better fallback match for <replace-with
class='com.google.gwt.user.client.ui.impl.PopupImplIE6'/>
[java] Checking rule <replace-with
class='com.google.gwt.user.client.ui.impl.PopupImplMozilla'/>
[java] Checking if all subconditions are true
(<all>)
[java] <when-type-is
class='com.google.gwt.user.client.ui.impl.PopupImpl'/>
[java] Not an exact match
[java] No: One or more subconditions was false
[java] Rule did not match
[java] Found better fallback match for <replace-with
class='com.google.gwt.user.client.ui.impl.PopupImplMozilla'/>
[java] Checking rule <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
[java] Checking if all subconditions are true
(<all>)
[java] <when-assignable
class='com.google.gwt.user.client.ui.ImageBundle'/>
[java] No, the requested type was not
assignable
[java] Shutting down PersistentUnitCache thread
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.