Re: [gwt-contrib] gwtproject.org link tree broken

2014-01-24 Thread Julien Dramaix
I guess it's broken since the beginning.
As you mentioned the bug only occurs when you start the navigation from
http://gwtproject.org/ or any top level document and you try to open a link
of the menu in a new tab.

Anyway good catch :-)

I will fix that.

Julien


On Fri, Jan 24, 2014 at 2:00 AM, Colin Alworth niloc...@gmail.com wrote:

 Something funny has happened to the dont-reload-the-page code on
 gwtproject.org, but I'm not seeing any obvious commit that should have
 done this.

 Steps to repro:
 1) visit http://gwtproject.org/, or any *top level* document
 2) observe that any link you hover looks to be correct, and visiting any
 link will work correctly (including opening it from a new tab
 3) Click on any *nested* link (such as something inside of articles  or
 documentation  latest ).
 4) Now, hover over any link, and notice that the subdirectory you are
 currently in will be prepended to the link url
 5) Open that link in a new tab, observe that you get a 404.

 Example:
 Go to http://gwtproject.org/.
 Expand Documentation, Latest, and click on Overview.
 Right-click Accessibility, and select 'open in a new tab'
 Observe 404 error page, and obviously broken url:
 http://www.gwtproject.org/*doc/latest/doc/latest/*DevGuideA11y.html

 The source at https://gwt.googlesource.com/gwt-site-webapp/+/master/hasn't 
 been updated since early December, and I can't imagine this has been
 broken that long, and none of the recent commits to gwt-site itself seem
 capable of this, so I'm at a bit of a loss as to how this could have
 happened. Were there perhaps any changes made that didn't go through
 googlesource.com, or has this really been broken for months?

 --
 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-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š ram...@gmail.com 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 andres@gmail.comwrote:

 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.comwrote:

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

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 jay.g...@gmail.com javascript: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 
 posthttps://groups.google.com/forum/#!topic/google-web-toolkit-contributors/1vA7gYrCjvo
  and 
 this bughttps://code.google.com/p/google-web-toolkit/issues/detail?id=8536
 ?

 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 andres@gmail.comwrote:

 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.comwrote:

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

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 j...@thegindins.com 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 jay.g...@gmail.com 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 
 posthttps://groups.google.com/forum/#!topic/google-web-toolkit-contributors/1vA7gYrCjvo
  and
 this bughttps://code.google.com/p/google-web-toolkit/issues/detail?id=8536
 ?

 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 
 andres@gmail.comwrote:

 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.comwrote:

 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
 r.java:237)
   [ERROR] Unrecoverable exception, shutting down
 com.google.gwt.core.ext.UnableToCompleteException: (see previous
 log entries)
 at com.google.gwt.dev.ExternalPermutationWorkerFactory$External
 PermutationWorker.compile(ExternalPermutationWorkerFactory.
 java:156)
 at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerTh
 read.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 

[gwt-contrib] Next Contributor Hangout

2014-01-24 Thread Bhaskar Janakiraman
Hi Folks,
The next contributor hangout will be on Wednesday, January 29, from 10.45am 
to 11.30am PST. As before, please send me email (bjanakiraman at google) if 
you have something to discuss and want to participate in person, and I'll 
send you an invite. 

Agenda:
Progress update on features for next GWT release.
Any patches in progress that needs discussion. 

The session will be recorded and made available via the GWT G+ 
pagehttps://plus.google.com/u/1/b/116516353752856283537/116516353752856283537/posts
. 

Thanks,
Bhaskar

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