Monday, October 10, 2016

Hi,

gwt-rc2 here

I had a bug in my code and I thought to try some binary search. The problem in the following sdm backtrace is that sdm threw an exception while it encountered a file not found at some point in time before the file was born (as we go to the past).

Is this normal or is a bug in the incremental compilation (decremental in my case)? Should I report it?

    Vassilis


 at com.google.gwt.dev.javac.CompilationUnitBuilder$ResourceCompilationUnitBuilder.doGetSource(CompilationUnitBuilder.java:150)
        at com.google.gwt.dev.javac.CompilationUnitBuilder.getSource(CompilationUnitBuilder.java:285)
        at com.google.gwt.dev.javac.JdtCompiler$Adapter.getContents(JdtCompiler.java:221)
        at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:11345)
        at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:11317)
        at com.google.gwt.dev.javac.JdtCompiler$ParserImpl.parse(JdtCompiler.java:277)
        at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:9732)
        at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:809)
        at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:385)
        at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:428)
        at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:1089)
        at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:325)
        at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:548)
        at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:479)
        at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:465)
        at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:222)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
        at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
        at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
        at com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:362)
        at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:175)
        at com.google.gwt.dev.codeserver.Recompiler.recompile(Recompiler.java:134)
        at com.google.gwt.dev.codeserver.Outbox.recompile(Outbox.java:135)
        at com.google.gwt.dev.codeserver.JobRunner.recompile(JobRunner.java:113)
        at com.google.gwt.dev.codeserver.JobRunner.access$000(JobRunner.java:37)
        at com.google.gwt.dev.codeserver.JobRunner$2.run(JobRunner.java:90)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /home/bill/mnt/workspace.nfs/src/FileBoomer.java factory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at com.google.gwt.dev.resource.impl.FileResource.openContents(FileResource.java:71)
        at com.google.gwt.dev.javac.CompilationUnitBuilder$ResourceCompilationUnitBuilder.doGetSource(CompilationUnitBuilder.java:139)
        ... 31 more
      [WARN] continuing to serve previous version



--
Vassilis Virvilis

--
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