Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-24 Thread Roberto Lublinerman
Hi Jay,

It would be interesting to see why JsSymbolResolver did not resolve the
ident into a JsName. I would check if that JsNameRef object created AFTER
JsSymbolResolver is called.

Good luck,
Roberto.


On Fri, Jan 24, 2014 at 8:14 AM, jay  wrote:

> I'll try over the weekend to come up with a repro project. While I'm
> working on that, is there anything I can look for in the compiler? I'm able
> to build and use my locally built GWT compiler, so it's easy to stick in
> some debug statements and inspect what's going on.
>
> thanks,
>
> jay
>
>
> On Thursday, January 23, 2014 9:30:40 AM UTC-8, Roberto Lublinerman wrote:
>
>> The bug in the post is not due to the issue being discussed in the
>> thread. If you can attach a small project that repros the bug you are
>> getting, I'll take a look.
>>
>> Best,
>> Roberto.
>>
>>
>> On Wed, Jan 22, 2014 at 10:30 PM, jay  wrote:
>>
>>> I realize that about the only thing in common is that the GWT compiler
>>> is throwing an NPE, but I have to ask... Is there any chance that this
>>> issue has the same root cause as the NPE I reported in this 
>>> post
>>>  and
>>> this bug
>>> ?
>>>
>>> thanks,
>>>
>>> jay
>>>
>>>
>>> On Wednesday, January 22, 2014 11:43:22 AM UTC-8, Andrés Testi wrote:

 Thanks!

 - Andrés Testi

 El miércoles, 22 de enero de 2014 16:39:45 UTC-3, John Stalcup escribió:
>
> 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 
> 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š 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.Unified
 Ast.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(Unified
 Ast.java:137)
 at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:19
 6)
 at com.google.gwt.dev.CompilePermsServer.compilePermutation(Com
 pilePermsServer.java:307)
 at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer
 .java:274)
 at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServe
>>>

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-24 Thread jay
I'll try over the weekend to come up with a repro project. While I'm 
working on that, is there anything I can look for in the compiler? I'm able 
to build and use my locally built GWT compiler, so it's easy to stick in 
some debug statements and inspect what's going on.

thanks,

jay

On Thursday, January 23, 2014 9:30:40 AM UTC-8, Roberto Lublinerman wrote:
>
> The bug in the post is not due to the issue being discussed in the thread. 
> If you can attach a small project that repros the bug you are getting, I'll 
> take a look.
>
> Best,
> Roberto.
>
>
> On Wed, Jan 22, 2014 at 10:30 PM, jay >wrote:
>
>> I realize that about the only thing in common is that the GWT compiler is 
>> throwing an NPE, but I have to ask... Is there any chance that this issue 
>> has the same root cause as the NPE I reported in this 
>> post
>>  and 
>> this bug
>> ?
>>
>> thanks,
>>
>> jay
>>
>>
>> On Wednesday, January 22, 2014 11:43:22 AM UTC-8, Andrés Testi wrote:
>>>
>>> Thanks!
>>>
>>> - Andrés Testi
>>>
>>> El miércoles, 22 de enero de 2014 16:39:45 UTC-3, John Stalcup escribió:

 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 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š 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.Unified
>>> Ast.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(Unified
>>> Ast.java:137)
>>> at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:
>>> 196)
>>> at com.google.gwt.dev.CompilePermsServer.compilePermutation(Com
>>> pilePermsServer.java:307)
>>> at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer
>>> .java:274)
>>> at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServe
>>> r.java:237)
>>>   [ERROR] Unrecoverable exception, shutting down
>>> com.google.gwt.core.ext.UnableToCompleteException: (see previous 
>>> log entries)
>>> at com.google.gwt.dev.ExternalPermutationWorkerFactory$
>>> ExternalPermutationWorker.compile(ExternalPermutationWorkerFacto
>>> ry.java:156)
>>> at com.google.gw

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-24 Thread Honza Rameš
I can also confirm that your commit 46bd0a3e fixed the problems I had.

Good job, thanks.

Honza

On Thursday, January 23, 2014 10:37:49 PM UTC+1, Honza Rameš wrote:
>
> I already noticed, thank you everything is OK ;-)
>
> On Thursday, January 23, 2014 9:15:43 PM UTC+1, John Stalcup wrote:
>>
>> Honza, I reverted the original breaking change yesterday. You shouldn't 
>> be still broken (if you sync to master), let me know if you are.
>>
>>
>> On Thu, Jan 23, 2014 at 2:54 AM, Honza Rameš  wrote:
>>
>>> 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 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š 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.Unified
>>> Ast.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(Unified
>>> Ast.java:137)
>>> at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:
>>> 196)
>>> at com.google.gwt.dev.CompilePermsServer.compilePermutation(Com
>>> pilePermsServer.java:307)
>>> at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer
>>> .java:274)
>>> at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServe
>>> r.java:237)
>>>   [ERROR] Unrecoverable exception, shutting down
>>> com.google.gwt.core.ext.UnableToCompleteException: (see previous 
>>> log entries)
>>> at com.google.gwt.dev.ExternalPe

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-23 Thread Honza Rameš
I already noticed, thank you everything is OK ;-)

On Thursday, January 23, 2014 9:15:43 PM UTC+1, John Stalcup wrote:
>
> Honza, I reverted the original breaking change yesterday. You shouldn't be 
> still broken (if you sync to master), let me know if you are.
>
>
> On Thu, Jan 23, 2014 at 2:54 AM, Honza Rameš 
> > wrote:
>
>> 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 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š  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(Unified
>> Ast.java:137)
>> at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:196)
>> at com.google.gwt.dev.CompilePermsServer.compilePermutation(Com
>> pilePermsServer.java:307)
>> at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer
>> .java:274)
>> at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServe
>> r.java:237)
>>   [ERROR] Unrecoverable exception, shutting down
>> com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
>> entries)
>> at com.google.gwt.dev.ExternalPermutationWorkerFactory$
>> 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)

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-23 Thread Andrés Testi
John, it works fine now.

- Andrés Testi

El jueves, 23 de enero de 2014 17:15:43 UTC-3, John Stalcup escribió:
>
> Honza, I reverted the original breaking change yesterday. You shouldn't be 
> still broken (if you sync to master), let me know if you are.
>
>
> On Thu, Jan 23, 2014 at 2:54 AM, Honza Rameš 
> > wrote:
>
>> 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 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š  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(Unified
>> Ast.java:137)
>> at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:196)
>> at com.google.gwt.dev.CompilePermsServer.compilePermutation(Com
>> pilePermsServer.java:307)
>> at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer
>> .java:274)
>> at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServe
>> r.java:237)
>>   [ERROR] Unrecoverable exception, shutting down
>> com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
>> entries)
>> at com.google.gwt.dev.ExternalPermutationWorkerFactory$
>> 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)
>>

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-23 Thread John Stalcup
Honza, I reverted the original breaking change yesterday. You shouldn't be
still broken (if you sync to master), let me know if you are.


On Thu, Jan 23, 2014 at 2:54 AM, Honza Rameš  wrote:

> 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 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š  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(Unified
> Ast.java:137)
> at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:196)
> at com.google.gwt.dev.CompilePermsServer.compilePermutation(Com
> pilePermsServer.java:307)
> at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer
> .java:274)
> at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServe
> r.java:237)
>   [ERROR] Unrecoverable exception, shutting down
> com.google.gwt.core.ext.UnableToCompleteException: (see previous log
> entries)
> at com.google.gwt.dev.ExternalPermutationWorkerFactory$
> 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.
> 

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-23 Thread Roberto Lublinerman
The bug in the post is not due to the issue being discussed in the thread.
If you can attach a small project that repros the bug you are getting, I'll
take a look.

Best,
Roberto.


On Wed, Jan 22, 2014 at 10:30 PM, jay  wrote:

> I realize that about the only thing in common is that the GWT compiler is
> throwing an NPE, but I have to ask... Is there any chance that this issue
> has the same root cause as the NPE I reported in this 
> post
>  and
> this bug
> ?
>
> thanks,
>
> jay
>
>
> On Wednesday, January 22, 2014 11:43:22 AM UTC-8, Andrés Testi wrote:
>>
>> Thanks!
>>
>> - Andrés Testi
>>
>> El miércoles, 22 de enero de 2014 16:39:45 UTC-3, John Stalcup escribió:
>>>
>>> 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 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š  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(Unified
>> Ast.java:137)
>> at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:196)
>> at com.google.gwt.dev.CompilePermsServer.compilePermutation(Com
>> pilePermsServer.java:307)
>> at com.google.gwt.dev.CompilePermsServer.run(CompilePermsServer
>> .java:274)
>> at com.google.gwt.dev.CompilePermsServer.main(CompilePermsServe
>> r.java:237)
>>   [ERROR] Unrecoverable exception, shutting down
>> com.google.gwt.core.ext.UnableToCompleteException: (see previous log
>> entries)
>> at com.google.gwt.dev.ExternalPermutationWorkerFactory$
>> 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 

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-23 Thread Honza Rameš
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 
> 
> > 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š  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/gr

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-22 Thread jay
I realize that about the only thing in common is that the GWT compiler is 
throwing an NPE, but I have to ask... Is there any chance that this issue 
has the same root cause as the NPE I reported in this 
post
 and 
this bug
?

thanks,

jay

On Wednesday, January 22, 2014 11:43:22 AM UTC-8, Andrés Testi wrote:
>
> Thanks!
>
> - Andrés Testi
>
> El miércoles, 22 de enero de 2014 16:39:45 UTC-3, John Stalcup escribió:
>>
>> 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 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š  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

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-22 Thread Andrés Testi
Thanks!

- Andrés Testi

El miércoles, 22 de enero de 2014 16:39:45 UTC-3, John Stalcup escribió:
>
> 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 
> 
> > 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š  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
>> .
>> 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

Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-22 Thread John Stalcup
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 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š  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+unsubscr...@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.
> 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.


Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-22 Thread Andrés Testi
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š 
> > 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.ExternalPermutationWorkerFactory$ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.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+unsubscr...@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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Cannot build any project since 5a972863

2014-01-22 Thread John Stalcup
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š  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.ExternalPermutationWorkerFactory$ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.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+unsubscr...@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.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] Cannot build any project since 5a972863

2014-01-22 Thread Honza Rameš
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.ExternalPermutationWorkerFactory$ExternalPermutationWorker.compile(ExternalPermutationWorkerFactory.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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.