Monday, January 30, 2017

"unread block data" exception when compiling

I have two projects, each work independently using GWT 2.8 with Java 8. When I create a module of one of the projects, and load that module into the other project, I receive the following error.   Any thoughts?  I have cleaned the projects multiple times and rebuilt from scratch. I used to have this working with beta1 compiling with Java 7.


[INFO] com.google.gwt.thirdparty.guava.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: unread block data

[INFO] at com.google.gwt.thirdparty.guava.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:2060)

[INFO] at com.google.gwt.thirdparty.guava.common.util.concurrent.Futures.getUnchecked(Futures.java:2045)

[INFO] at com.google.gwt.dev.MinimalRebuildCacheManager.syncReadDiskCache(MinimalRebuildCacheManager.java:264)

[INFO] at com.google.gwt.dev.MinimalRebuildCacheManager.getCache(MinimalRebuildCacheManager.java:104)

[INFO] at com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:357)

[INFO] at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:175)

[INFO] at com.google.gwt.dev.codeserver.Recompiler.recompile(Recompiler.java:134)

[INFO] at com.google.gwt.dev.codeserver.Outbox.recompile(Outbox.java:135)

[INFO] at com.google.gwt.dev.codeserver.JobRunner.recompile(JobRunner.java:113)

[INFO] at com.google.gwt.dev.codeserver.JobRunner.access$000(JobRunner.java:37)

[INFO] at com.google.gwt.dev.codeserver.JobRunner$2.run(JobRunner.java:90)

[INFO] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

[INFO] at java.util.concurrent.FutureTask.run(FutureTask.java:266)

[INFO] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

[INFO] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

[INFO] at java.lang.Thread.run(Thread.java:745)

[INFO] Caused by: java.lang.IllegalStateException: unread block data

[INFO] at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(ObjectInputStream.java:2431)

[INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1383)

[INFO] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2000)

[INFO] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1924)

[INFO] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)

[INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)

[INFO] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)

[INFO] at com.google.gwt.dev.MinimalRebuildCacheManager$2.call(MinimalRebuildCacheManager.java:176)

[INFO] at com.google.gwt.dev.MinimalRebuildCacheManager$2.call(MinimalRebuildCacheManager.java:162)

[INFO] ... 4 more

[INFO]       [WARN] continuing to serve previous version


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment