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 >>> post<https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/1vA7gYrCjvo> >>> and >>> this bug<https://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.com>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.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 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+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 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.