That's great, as I said I'm using GPE to build the project. I also tried to 
compile by command line, but the compiler exited mysteriously in the middle 
of the compilation without any message at all (I did use 
com.google.gwt.dev.Compiler), all the generators were executed and just 
before compilation of permutations should be started, nothing happened 
(maybe it's not related and there is only a problem in my command line and 
classpath).

Honza

PS: And this is more general question, is there a way how to run the 
compiler directly from GWT sources without compiling? Of course given that 
I compiled GWT before to make all the thirdparty JARs. That would certainly 
simplify testing for me (but I don't want to run it from Eclipse).

On Wednesday, January 22, 2014 8:39:45 PM UTC+1, John Stalcup wrote:
>
> Yeah. It seems that CompilePermsServer doesn't have a ModuleDef instance, 
> so it's not populating compilerContext.getModule(), which laters causes 
> compilerContext.getModule().isMonolithic() to fail.
>
> I'm working on a fix.
>
>
> On Wed, Jan 22, 2014 at 11:26 AM, Andrés Testi 
> <andres....@gmail.com<javascript:>
> > wrote:
>
>> Hi John:
>>
>> I'm running ant without explicit target ("build" by default). No explicit 
>> flags. I got the same exception in two isolated environments (ubuntu 13.10 
>> with OpenJDK, and Windows 8 with Oracle JDK). The exception is throwed when 
>> the script tries to compile the DynaTable sample. 
>>  CompilerContext.getModule() seems to return null here: 
>> https://github.com/gwtproject/gwt/blob/master/dev/core/src/com/google/gwt/dev/jjs/UnifiedAst.java#L137
>>
>> - Andrés Testi
>>
>> El miércoles, 22 de enero de 2014 15:45:35 UTC-3, John Stalcup escribió:
>>>
>>> Yeah that does look to be related to my commit.
>>>
>>> Which compiler entry point are you launching and with what flags? I 
>>> updated Compiler.java, CompilePerms.java, etc etc to property setup the 
>>> module property of the compilerContext object, but it looks like I missed 
>>> somewhere.
>>>
>>> John
>>>
>>>
>>> On Wed, Jan 22, 2014 at 4:07 AM, Honza Rameš <ram...@gmail.com> wrote:
>>>
>>>> Hello everyone,
>>>> I'm using master for my projects and after I updated to commit 5a972863 
>>>> (Added monolithic/separate branching to JavaToJavaScriptCompiler)  
>>>> suddenly 
>>>> I wasn't able to compile any of my GWT projects (in Eclipse, see error 
>>>> message bellow). I'm using jdk_1.7 and older commit (8ef35362) works just 
>>>> fine. Did any of you encountered build breakage recently, is there some 
>>>> workaround you know of?
>>>>
>>>> DevMode works OK with this commit. I have Eclipse 3.7 and GPE 3.5.1. 
>>>> While compiling simple project I noticed that some of the permutations 
>>>> compile just fine. Could this be caused by IE6 permutation, I do have some 
>>>> deferred binding rules in my module targeting the IE6.
>>>>
>>>> Error messge:
>>>>          [ERROR] Compile failed
>>>>          java.lang.NullPointerException
>>>>              at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(
>>>> UnifiedAst.java:137)
>>>>              at com.google.gwt.dev.CompilePerms.compile(
>>>> CompilePerms.java:196)
>>>>              at com.google.gwt.dev.CompilePermsServer.
>>>> compilePermutation(CompilePermsServer.java:307)
>>>>              at com.google.gwt.dev.CompilePermsServer.run(
>>>> CompilePermsServer.java:274)
>>>>              at com.google.gwt.dev.CompilePermsServer.main(
>>>> CompilePermsServer.java:237)
>>>>       [ERROR] Error from external worker
>>>> java.lang.NullPointerException
>>>>     at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(
>>>> UnifiedAst.java:137)
>>>>     at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:196)
>>>>     at com.google.gwt.dev.CompilePermsServer.compilePermutation(
>>>> CompilePermsServer.java:307)
>>>>     at com.google.gwt.dev.CompilePermsServer.run(
>>>> CompilePermsServer.java:274)
>>>>     at com.google.gwt.dev.CompilePermsServer.main(
>>>> CompilePermsServer.java:237)
>>>>       [ERROR] Unrecoverable exception, shutting down
>>>> com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
>>>> entries)
>>>>     at com.google.gwt.dev.ExternalPermutationWorkerFacto
>>>> ry$ExternalPermutationWorker.compile(ExternalPermutationWorkerFacto
>>>> ry.java:156)
>>>>     at com.google.gwt.dev.PermutationWorkerFactory$
>>>> Manager$WorkerThread.run(PermutationWorkerFactory.java:73)
>>>>     at java.lang.Thread.run(Thread.java:744)
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> Regards
>>>>
>>>> Honza Rames
>>>>
>>>> -- 
>>>> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "GWT Contributors" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to google-web-toolkit-contributors+unsubscribe@
>>>> googlegroups.com.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>  -- 
>> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to 
>> google-web-toolkit-contributors+unsubscr...@googlegroups.com<javascript:>
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to