Doesn't the CodeServer need the gwt-dev.jar though?

On Tuesday, August 23, 2016 at 3:45:03 PM UTC+1, viviana zimbone wrote:
>
> If you have a maven dependency for gwt-dev, removing it shoudl fix the 
> issue :)
>
> Il giorno martedì 16 agosto 2016 11:03:03 UTC+2, Alberto Mancini ha 
> scritto:
>>
>> Unfortunately removing the temporary files does not helps. 
>> Today we try to investigate further and eventually we will open an issue. 
>>
>> Thanks,
>>    A. 
>>
>> On Sun, Aug 14, 2016 at 12:52 AM Andrei Korzhevskii <[email protected]> 
>> wrote:
>>
>>> Reading the stacktrace, I think the problem is in 
>>> https://github.com/gwtproject/gwt/blob/master/dev/core/src/com/google/gwt/core/linker/SymbolMapsLinker.java#L282
>>> ,
>>> looks like disk cache returns null there.
>>>
>>> Did you try to remove folder /var/folders/63/qxvnlkdn7yq2n689wbryx_
>>> vwrfzqfp/T/gwt-codeserver-2706361954965741673.tmp
>>> and run compile again?
>>>
>>>
>>> On Friday, August 12, 2016 at 12:04:44 AM UTC+3, Alberto Mancini wrote:
>>>>
>>>> Hello,
>>>> in the attempt of porting an internal project from beta1 to rc1 we faced 
>>>> an issue i do not understand how to debug. 
>>>>
>>>> The project uses errai but my feeling is that the problem is not 
>>>> related to it because similar projects with errai work without problems. 
>>>>
>>>> Essentially SDM fails during the first compilation and the problem 
>>>> seems in the generation of the source maps. 
>>>>
>>>> The relevant error log follows.
>>>>
>>>> [INFO] GET /recompile/it.e.u.Application
>>>> [INFO]    Job it.e.u.Application_1_0
>>>> [INFO]       starting job: it.e.u.Application_1_0
>>>> [INFO]       binding: user.agent=safari
>>>> [INFO]       Compiling module it.e.u.Application
>>>> ...
>>>>
>>>> [INFO]          Unification traversed 54946 fields and methods and 5256 
>>>> types. 5210 are considered part of the current module and 5210 had all of 
>>>> their fields and methods traversed.
>>>> [INFO]          Compiling 1 permutation
>>>> [INFO]             Compiling permutation 0...
>>>> [INFO]             Linking per-type JS with 5190 new/changed types.
>>>> [INFO]             Source Maps Enabled
>>>> [INFO]          Compile of permutations succeeded
>>>> [INFO]          Compilation succeeded -- 35.850s
>>>> [INFO]       Linking into 
>>>> /var/folders/63/qxvnlkdn7yq2n689wbryx_vwrfzqfp/T/gwt-codeserver-2706361954965741673.tmp/it.e.u.Application/compile-2/war/it.e.u.Application;
>>>>  Writing extras to 
>>>> /var/folders/63/qxvnlkdn7yq2n689wbryx_vwrfzqfp/T/gwt-codeserver-2706361954965741673.tmp/it.e.u.Application/compile-2/extras/it.e.u.Application*[INFO]
>>>>           [WARN] Can't write source map 
>>>> CCA06A04193EDF5B35BDE836DF1FABBE_sourceMap0.json
>>>> [INFO] java.lang.NullPointerException*
>>>> [INFO]     at 
>>>> com.google.gwt.thirdparty.debugging.sourcemap.SourceMapConsumerV3.parse(SourceMapConsumerV3.java:101)
>>>> [INFO]     at 
>>>> com.google.gwt.thirdparty.debugging.sourcemap.SourceMapConsumerV3.parse(SourceMapConsumerV3.java:88)
>>>> [INFO]     at 
>>>> com.google.gwt.thirdparty.debugging.sourcemap.SourceMapConsumerV3.parse(SourceMapConsumerV3.java:78)
>>>> [INFO]     at 
>>>> com.google.gwt.thirdparty.debugging.sourcemap.SourceMapGeneratorV3.mergeMapSection(SourceMapGeneratorV3.java:311)
>>>> [INFO]     at 
>>>> com.google.gwt.core.linker.SymbolMapsLinker.link(SymbolMapsLinker.java:316)
>>>> [INFO]     at 
>>>> com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLinkForOnePermutation(StandardLinkerContext.java:384)
>>>> [INFO]     at com.google.gwt.dev.Link.finishPermutation(Link.java:483)
>>>> [INFO]     at 
>>>> com.google.gwt.dev.Link.doSimulatedShardingLink(Link.java:445)
>>>> [INFO]     at com.google.gwt.dev.Link.link(Link.java:178)
>>>> [INFO]     at com.google.gwt.dev.Compiler.compile(Compiler.java:244)
>>>> [INFO]     at 
>>>> com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:362)
>>>> [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]          Invoking Linker Export CompilationResult symbol maps
>>>> [INFO]             [ERROR] Failed to link
>>>> [INFO] java.lang.NullPointerException
>>>> [INFO]     at java.util.TreeMap.put(TreeMap.java:563)
>>>> [INFO]     at java.util.TreeSet.add(TreeSet.java:255)
>>>> [INFO]     at 
>>>> com.google.gwt.thirdparty.guava.common.collect.ForwardingCollection.add(ForwardingCollection.java:84)
>>>> [INFO]     at 
>>>> com.google.gwt.core.ext.linker.TypeIndexedSet.add(TypeIndexedSet.java:101)
>>>> [INFO]     at 
>>>> com.google.gwt.core.ext.linker.ArtifactSet.add(ArtifactSet.java:42)
>>>> [INFO]     at 
>>>> com.google.gwt.core.linker.SymbolMapsLinker.link(SymbolMapsLinker.java:330)
>>>> [INFO]     at 
>>>> com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLinkForOnePermutation(StandardLinkerContext.java:384)
>>>> [INFO]     at com.google.gwt.dev.Link.finishPermutation(Link.java:483)
>>>> [INFO]     at 
>>>> com.google.gwt.dev.Link.doSimulatedShardingLink(Link.java:445)
>>>> [INFO]     at com.google.gwt.dev.Link.link(Link.java:178)
>>>> [INFO]     at com.google.gwt.dev.Compiler.compile(Compiler.java:244)
>>>> [INFO]     at 
>>>> com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:362)
>>>> [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]       [WARN] recompile failed
>>>> [INFO]       [WARN] continuing to serve previous version
>>>>
>>>>
>>>>
>>>> Any idea on what to look for ?
>>>>
>>>> Thanks,
>>>>    Alberto
>>>>
>>>> -- 
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to