Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Compile attached ActionScript file (Main.as) with mxmlc.
Actual Results: Following comand line error output:
Error: null java.lang.NullPointerException
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:343)
at macromedia.asc.parser.CallExpressionNode.evaluate(CallExpressionNode.java:46)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1025)
at macromedia.asc.parser.MemberExpressionNode.evaluate(MemberExpressionNode.java:57)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1324)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1398)
at macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:50)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1346)
at macromedia.asc.parser.StatementListNode.evaluate(StatementListNode.java:60)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:1867)
at macromedia.asc.parser.FunctionCommonNode.evaluate(FunctionCommonNode.java:104)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:2321)
at macromedia.asc.parser.ClassDefinitionNode.evaluate(ClassDefinitionNode.java:106)
at macromedia.asc.embedding.LintEvaluator.evaluate(LintEvaluator.java:2042)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
at flex2.compiler.as3.Compiler.analyze4(Compiler.java:611)
at flex2.compiler.API.analyze(API.java:2542)
at flex2.compiler.API.analyze(API.java:2432)
at flex2.compiler.API.batch2(API.java:411)
at flex2.compiler.API.batch(API.java:1117)
at flex2.compiler.API.compile(API.java:1290)
at flex2.compiler.API.compile(API.java:1210)
at flex2.tools.Compiler.mxmlc(Compiler.java:275)
at flex2.tools.Compiler.main(Compiler.java:53)
Expected Results: A syntax error, if appropriate, or no error at all.
Workaround (if any) Rename function to something other than addEVentListenter: