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

Google Groups | Thomas Redman | 2 months ago
  1. 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
  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

    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
  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:369)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    4. Vaadin
      GenerateCssAst$GenerationHandler.ignorableAtRule
      1. com.google.gwt.resources.css.GenerateCssAst$GenerationHandler.ignorableAtRule(GenerateCssAst.java:257)
      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:732)
      2. com.google.gwt.resources.rg.CssResourceGenerator.prepare(CssResourceGenerator.java:546)
      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:754)
      2. com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:160)
      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:87)
      7. com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:485)
      8. com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:443)
      9. com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:576)
      10. com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:306)
      11. com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:248)
      12. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
      13. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
      14. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
      15. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
      16. com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:67)
      17. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
      18. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
      19. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
      20. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
      21. com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
      22. com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:95)
      23. com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:351)
      24. com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
      25. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
      26. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
      27. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:149)
      28. com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:145)
      29. com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
      30. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
      31. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
      32. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
      33. com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:600)
      34. com.google.gwt.dev.jjs.ast.JConstructor.traverse(JConstructor.java:142)
      35. com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)
      36. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
      37. com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
      38. com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1505)
      39. com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:870)
      40. com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1305)
      41. com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
      42. com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
      43. com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
      44. com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
      45. com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
      46. com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
      47. com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
      48. com.google.gwt.dev.Compiler.run(Compiler.java:206)
      49. com.google.gwt.dev.Compiler.run(Compiler.java:158)
      50. com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
      51. com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
      52. com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
      53. com.google.gwt.dev.Compiler.main(Compiler.java:127)
      53 frames