[gwt-contrib] Re: GWT 2.8 SnapShot Unexpected internal compiler error in SDM after switching to GSS

2015-03-18 Thread Travis Schmidt
I hit a similar problem.  I Turned on GSS with GWT 2.7 Release.  I 
converted one of my files to .gss and let the converter handle the other 
files for now.  Everything compiles fine.   Super Dev Mode will start and 
the first compile will work fine.  If I make a change the next incremental 
compile fails with the UnableToTomplete exception, with it outputting code 
that applied styles in the gss.  I turned gss off and reverted that file 
back to css and the incremental compile started working again.

Travis

On Friday, January 30, 2015 at 5:09:30 PM UTC-6, confile wrote:

 I use GWT 2.8 SnapShot with an app that runs with CSS only no GSS. Then I 
 switched to GSS using: 

 set-configuration-property name=CssResource.enableGss value=true /

  set-configuration-property name=CssResource.legacy value=true /

 set-configuration-property name=CssResource.conversionMode value=
 lenient /


 When I compile with option -strict there are no errors. When I run my 
 server in SDM and try to connect I get the following errors: 


  Compiling 1 permutation

 Compiling permutation 0...

 [ERROR] Unexpected internal compiler error

 java.lang.NullPointerException

 at com.google.gwt.dev.jjs.ast.HasName$1.compare(HasName.java:33)

 at com.google.gwt.dev.jjs.ast.HasName$1.compare(HasName.java:30)

 at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)

 at java.util.TimSort.sort(TimSort.java:189)

 at java.util.TimSort.sort(TimSort.java:173)

 at java.util.Arrays.sort(Arrays.java:659)

 at java.util.Collections.sort(Collections.java:217)

 at 
 com.google.gwt.dev.jjs.ast.JTypeOracle.getCastableDestinationTypes(JTypeOracle.java:1019)

 at 
 com.google.gwt.dev.jjs.impl.ComputeExhaustiveCastabilityInformation.createCompleteCastMap(ComputeExhaustiveCastabilityInformation.java:44)

 at 
 com.google.gwt.dev.jjs.impl.ComputeExhaustiveCastabilityInformation.execImpl(ComputeExhaustiveCastabilityInformation.java:50)

 at 
 com.google.gwt.dev.jjs.impl.ComputeExhaustiveCastabilityInformation.exec(ComputeExhaustiveCastabilityInformation.java:32)

 at 
 com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler$MonolithicPermutationCompiler.normalizeSemantics(MonolithicJavaToJavaScriptCompiler.java:102)

 at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:286)

 at 
 com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:292)

 at 
 com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:130)

 at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)

 at 
 com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50)

 at 
 com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74)

 at java.lang.Thread.run(Thread.java:745)

 [ERROR] Unrecoverable exception, shutting down

 com.google.gwt.core.ext.UnableToCompleteException: (see previous log 
 entries)

 at 
 com.google.gwt.dev.javac.CompilationProblemReporter.logAndTranslateException(CompilationProblemReporter.java:112)

 at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.compilePermutation(JavaToJavaScriptCompiler.java:363)

 at 
 com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:292)

 at 
 com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(UnifiedAst.java:130)

 at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)

 at 
 com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50)

 at 
 com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74)

 at java.lang.Thread.run(Thread.java:745)

 [ERROR] Not all permutation were compiled , completed (0/1)

   [WARN] recompile failed

   [WARN] continuing to serve previous version




-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/13197114-92e6-475b-a6e7-974428f6cbf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: GWT 2.8 SnapShot Unexpected internal compiler error in SDM after switching to GSS

2015-03-18 Thread 'Roberto Lublinerman' via GWT Contributors
Can you provide a small repro case and open an issue for it?

On Wed, Mar 18, 2015 at 6:15 AM, Travis Schmidt travis.schm...@gmail.com
wrote:

 I hit a similar problem.  I Turned on GSS with GWT 2.7 Release.  I
 converted one of my files to .gss and let the converter handle the other
 files for now.  Everything compiles fine.   Super Dev Mode will start and
 the first compile will work fine.  If I make a change the next incremental
 compile fails with the UnableToTomplete exception, with it outputting code
 that applied styles in the gss.  I turned gss off and reverted that file
 back to css and the incremental compile started working again.

 Travis


 On Friday, January 30, 2015 at 5:09:30 PM UTC-6, confile wrote:

 I use GWT 2.8 SnapShot with an app that runs with CSS only no GSS. Then I
 switched to GSS using:

 set-configuration-property name=CssResource.enableGss value=true /

  set-configuration-property name=CssResource.legacy value=true /

 set-configuration-property name=CssResource.conversionMode value=
 lenient /


 When I compile with option -strict there are no errors. When I run my
 server in SDM and try to connect I get the following errors:


  Compiling 1 permutation

 Compiling permutation 0...

 [ERROR] Unexpected internal compiler error

 java.lang.NullPointerException

 at com.google.gwt.dev.jjs.ast.HasName$1.compare(HasName.java:33)

 at com.google.gwt.dev.jjs.ast.HasName$1.compare(HasName.java:30)

 at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)

 at java.util.TimSort.sort(TimSort.java:189)

 at java.util.TimSort.sort(TimSort.java:173)

 at java.util.Arrays.sort(Arrays.java:659)

 at java.util.Collections.sort(Collections.java:217)

 at com.google.gwt.dev.jjs.ast.JTypeOracle.getCastableDestinationTypes(
 JTypeOracle.java:1019)

 at com.google.gwt.dev.jjs.impl.ComputeExhaustiveCastabilityInformation.
 createCompleteCastMap(ComputeExhaustiveCastabilityInformation.java:44)

 at com.google.gwt.dev.jjs.impl.ComputeExhaustiveCastabilityIn
 formation.execImpl(ComputeExhaustiveCastabilityInformation.java:50)

 at com.google.gwt.dev.jjs.impl.ComputeExhaustiveCastabilityIn
 formation.exec(ComputeExhaustiveCastabilityInformation.java:32)

 at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler$
 MonolithicPermutationCompiler.normalizeSemantics(
 MonolithicJavaToJavaScriptCompiler.java:102)

 at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.
 compilePermutation(JavaToJavaScriptCompiler.java:286)

 at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptComp
 iler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:292)

 at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(
 UnifiedAst.java:130)

 at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)

 at com.google.gwt.dev.ThreadedPermutationWorkerFacto
 ry$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFacto
 ry.java:50)

 at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(
 PermutationWorkerFactory.java:74)

 at java.lang.Thread.run(Thread.java:745)

 [ERROR] Unrecoverable exception, shutting down

 com.google.gwt.core.ext.UnableToCompleteException: (see previous log
 entries)

 at com.google.gwt.dev.javac.CompilationProblemReporter.
 logAndTranslateException(CompilationProblemReporter.java:112)

 at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$PermutationCompiler.
 compilePermutation(JavaToJavaScriptCompiler.java:363)

 at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptComp
 iler.compilePermutation(MonolithicJavaToJavaScriptCompiler.java:292)

 at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation(
 UnifiedAst.java:130)

 at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:197)

 at com.google.gwt.dev.ThreadedPermutationWorkerFacto
 ry$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFacto
 ry.java:50)

 at com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(
 PermutationWorkerFactory.java:74)

 at java.lang.Thread.run(Thread.java:745)

 [ERROR] Not all permutation were compiled , completed (0/1)

   [WARN] recompile failed

   [WARN] continuing to serve previous version


  --
 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/13197114-92e6-475b-a6e7-974428f6cbf9%40googlegroups.com
 https://groups.google.com/d/msgid/google-web-toolkit-contributors/13197114-92e6-475b-a6e7-974428f6cbf9%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and