You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Carlos Rovira (JIRA)" <ji...@apache.org> on 2017/01/25 12:43:26 UTC

[jira] [Created] (FLEX-35251) FlexJS error when trying to set a complex CSS rule

Carlos Rovira created FLEX-35251:
------------------------------------

             Summary: FlexJS error when trying to set a complex CSS rule
                 Key: FLEX-35251
                 URL: https://issues.apache.org/jira/browse/FLEX-35251
             Project: Apache Flex
          Issue Type: Bug
          Components: FalconJX
    Affects Versions: Apache FalconJX 0.7.0
            Reporter: Carlos Rovira


{{monoespaciado}}
table.tableSection tr>td:last-child {
        /* removing fraction of width i.e 2% to align the tbody columns with thead columns. */
        /* It is must as we need to consider the tbody scroll width too */
        /* if the width is in pixels, then (width - 18px) would be enough */
        width: 31%;
    }
    /** for older browsers (IE8), if you know number of columns in your table **/
    table.tableSection tr>td:first-child + td + td {
        width : 31%;
    }
{{monoespaciado}}

/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml]
Unexpected exception 'java.util.NoSuchElementException'.
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml Internal error in ABC generator subsystem, when generating code for: /Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml: java.util.NoSuchElementException: can't look backwards more than one token in this stream
	at org.antlr.runtime.misc.LookaheadStream.LB(LookaheadStream.java:159)
	at org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:120)
	at org.antlr.runtime.RecognitionException.extractInformationFromTreeNodeStream(RecognitionException.java:144)
	at org.antlr.runtime.RecognitionException.<init>(RecognitionException.java:111)
	at org.antlr.runtime.MismatchedTreeNodeException.<init>(MismatchedTreeNodeException.java:42)
	at org.antlr.runtime.tree.TreeParser.recoverFromMismatchedToken(TreeParser.java:135)
	at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:115)
	at org.apache.flex.compiler.internal.css.CSSTree.declarationsBlock(CSSTree.java:1722)
	at org.apache.flex.compiler.internal.css.CSSTree.ruleset(CSSTree.java:783)
	at org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:286)
	at org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:81)
	at org.apache.flex.compiler.internal.tree.mxml.MXMLStyleNode.getCSSDocument(MXMLStyleNode.java:88)
	at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLStyle(MXMLClassDirectiveProcessor.java:4253)
	at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:987)
	at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861)
	at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831)
	at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:653)
	at org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:518)
	at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:232)
	at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:188)
	at org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:122)
	at org.apache.flex.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:199)
	at org.apache.flex.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:873)
	at org.apache.flex.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:108)
	at org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:310)
	at org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:306)
	at org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
	at org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.196 s
....



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)