org.w3c.css.sac.CSSException: @def rules must specify an identifier and one or more values

Google Groups | Lukas Johansson | 1 year ago
  1. 0

    Problem compiling GWT 2.7 MGWT 2.0.1-SNAPSHOT

    Google Groups | 1 year ago | Lukas Johansson
    org.w3c.css.sac.CSSException: @def rules must specify an identifier and one or more values
  2. 0

    CSS exception compiling 2.7.0 app

    Google Groups | 2 months ago | Thomas Redman
    org.w3c.css.sac.CSSException: @def rules must specify an identifier and one or more values
  3. 0

    CSS exception compiling 2.7.0 app

    Google Groups | 2 months ago | Thomas Redman
    org.w3c.css.sac.CSSException: @def rules must specify an identifier and one or more values
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    my application doesn't compile

    Google Groups | 5 years ago | silvio.troia
    org.w3c.css.sac.CSSException: @def rules must specify an identifier and one or more values
  6. 0

    my application doesn't compile

    Google Groups | 5 years ago | silvio.troia
    org.w3c.css.sac.CSSException: @def rules must specify an identifier and one or more values

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.w3c.css.sac.CSSException

      @def rules must specify an identifier and one or more values

      at com.google.gwt.resources.css.GenerateCssAst$GenerationHandler.parseDef()
    2. Vaadin
      GenerateCssAst$GenerationHandler.parseDef
      1. com.google.gwt.resources.css.GenerateCssAst$GenerationHandler.parseDef(GenerateCssAst.java:361)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Vaadin
      GenerateCssAst$GenerationHandler.ignorableAtRule
      1. com.google.gwt.resources.css.GenerateCssAst$GenerationHandler.ignorableAtRule(GenerateCssAst.java:256)
      1 frame
    5. Flute
      Parser.parseStyleSheet
      1. org.w3c.flute.parser.Parser.atRuleDeclaration(Parser.java:1178)
      2. org.w3c.flute.parser.Parser.ignoreStatement(Parser.java:622)
      3. org.w3c.flute.parser.Parser.parserUnit(Parser.java:452)
      4. org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:107)
      5. org.w3c.flute.parser.Parser.parseStyleSheet(Parser.java:119)
      5 frames
    6. Vaadin
      AbstractClientBundleGenerator.generateIncrementally
      1. com.google.gwt.resources.css.GenerateCssAst.exec(GenerateCssAst.java:724)
      2. com.google.gwt.resources.rg.CssResourceGenerator.prepare(CssResourceGenerator.java:521)
      3. com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:1013)
      4. com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:1039)
      5. com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generateIncrementally(AbstractClientBundleGenerator.java:419)
      5 frames
    7. GWT dev
      Compiler.main
      1. com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:670)
      2. com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
      3. com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
      4. com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
      5. com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:265)
      6. com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
      7. com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleGwtCreate(UnifyAst.java:387)
      8. com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:465)
      9. com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:255)
      10. com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:244)
      11. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
      12. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
      13. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
      14. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)
      15. com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:65)
      16. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
      17. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
      18. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
      19. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:117)
      20. com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)
      21. com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
      22. com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
      23. com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
      24. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
      25. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
      26. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:138)
      27. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:134)
      28. com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
      29. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
      30. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
      31. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
      32. com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:449)
      33. com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:418)
      34. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
      35. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
      36. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
      37. com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:940)
      38. com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:665)
      39. com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:672)
      40. com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:34)
      41. com.google.gwt.dev.Precompile.precompile(Precompile.java:271)
      42. com.google.gwt.dev.Precompile.precompile(Precompile.java:223)
      43. com.google.gwt.dev.Precompile.precompile(Precompile.java:139)
      44. com.google.gwt.dev.Compiler.run(Compiler.java:167)
      45. com.google.gwt.dev.Compiler.run(Compiler.java:132)
      46. com.google.gwt.dev.Compiler$1.run(Compiler.java:99)
      47. com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
      48. com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
      49. com.google.gwt.dev.Compiler.main(Compiler.java:106)
      49 frames