incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyrill Zadra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33261) Falcon Compiler Error: NPE when the part between <fx:Style> is empty.
Date Wed, 14 Nov 2012 09:18:12 GMT
Cyrill Zadra created FLEX-33261:
-----------------------------------

             Summary: Falcon Compiler Error: NPE when the part between <fx:Style> is
empty.
                 Key: FLEX-33261
                 URL: https://issues.apache.org/jira/browse/FLEX-33261
             Project: Apache Flex
          Issue Type: Bug
          Components: MXML Compiler
            Reporter: Cyrill Zadra
             Fix For: Apache Flex Next


     [java] Error: Internal error in ABC generator subsystem, when generating code for: C:\dev\apache-flex\sdk\mustella\tests\spark\formatters\CurrencyFormatter\SWFs\CF_inlineStyle.mxml:
java.lang.NullPointerException
     [java]     at org.antlr.runtime.tree.BaseTreeAdaptor.isNil(BaseTreeAdaptor.java:70)
     [java]     at org.antlr.runtime.tree.CommonTreeNodeStream.nextElement(CommonTreeNodeStream.java:91)
     [java]     at org.antlr.runtime.misc.LookaheadStream.fill(LookaheadStream.java:107)
     [java]     at org.antlr.runtime.misc.LookaheadStream.syncAhead(LookaheadStream.java:101)
     [java]     at org.antlr.runtime.misc.LookaheadStream.LT(LookaheadStream.java:122)
     [java]     at org.apache.flex.compiler.internal.css.CSSTree.stylesheet(CSSTree.java:147)
     [java]     at org.apache.flex.compiler.internal.css.CSSDocument.parse(CSSDocument.java:81)
     [java]     at org.apache.flex.compiler.internal.tree.mxml.MXMLStyleNode.getCSSDocument(MXMLStyleNode.java:88)
     [java]     at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLStyle(MXMLClassDirectiveProcessor.java:3171)
     [java]     at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:771)
     [java]     at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:649)
     [java]     at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:619)
     [java]     at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMainClassDefinitionNode(MXMLClassDirectiveProcessor.java:515)
     [java]     at org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareMXMLDocument(GlobalDirectiveProcessor.java:510)
     [java]     at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:232)
     [java]     at org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:188)
     [java]     at org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:122)
     [java]     at org.apache.flex.compiler.internal.units.MXMLCompilationUnit.handleABCBytesRequest(MXMLCompilationUnit.java:198)
     [java]     at org.apache.flex.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:866)
     [java]     at org.apache.flex.compiler.internal.units.CompilationUnitBase.access$300(CompilationUnitBase.java:107)
     [java]     at org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:309)
     [java]     at org.apache.flex.compiler.internal.units.CompilationUnitBase$4$1.call(CompilationUnitBase.java:305)
     [java]     at org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
     [java]     at org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222)
     [java]     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     [java]     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
     [java]     at java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:1746)
     [java]     at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
     [java]     at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
     [java]     at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92)
     [java]     at org.apache.flex.compiler.internal.units.requests.RequestMaker.getRequest(RequestMaker.java:188)
     [java]     at org.apache.flex.compiler.internal.units.CompilationUnitBase.getABCBytesRequest(CompilationUnitBase.java:614)
     [java]     at org.apache.flex.compiler.internal.units.CompilationUnitBase.startBuildAsync(CompilationUnitBase.java:1067)
     [java]     at org.apache.flex.compiler.internal.targets.FlexAppSWFTarget.findAllCompilationUnitsToLink(FlexAppSWFTarget.java:472)
     [java]     at org.apache.flex.compiler.internal.targets.Target.buildAllCompilationUnits(Target.java:297)
     [java]     at org.apache.flex.compiler.internal.targets.Target.getBuiltCompilationUnitSet(Target.java:306)
     [java]     at org.apache.flex.compiler.internal.targets.SWFTarget.build(SWFTarget.java:228)
     [java]     at org.apache.flex.compiler.clients.MXMLC.buildSWFModel(MXMLC.java:658)
     [java]     at org.apache.flex.compiler.clients.MXMLC.buildArtifact(MXMLC.java:644)
     [java]     at org.apache.flex.compiler.clients.MXMLC.compile(MXMLC.java:525)
     [java]     at org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:214)
     [java]     at org.apache.flex.compiler.clients.MXMLC.mainNoExit(MXMLC.java:182)
     [java]     at org.apache.flex.compiler.clients.MXMLC.staticMainNoExit(MXMLC.java:154)
     [java]     at org.apache.flex.compiler.clients.MXMLC.main(MXMLC.java:141)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message