flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: [Falcon] Failing test in TestGoogEmitter
Date Fri, 06 May 2016 14:50:34 GMT
...ähm ... so it's probably NOT related to work i did ;-)


-----Urspr√ľngliche Nachricht-----
Von: Christofer Dutz [mailto:christofer.dutz@c-ware.de] 
Gesendet: Freitag, 6. Mai 2016 13:24
An: 'dev@flex.apache.org' <dev@flex.apache.org>
Betreff: [Falcon] Failing test in TestGoogEmitter

Hi,


since two or three days I am having problems with one of the tests in the compiler suite:

TestGoogEmitter.testSimple

The test report is:

-------------------------------------------------------------------------------
Test set: org.apache.flex.compiler.internal.codegen.js.goog.TestGoogEmitter
-------------------------------------------------------------------------------
Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.11 sec <<< FAILURE!
- in org.apache.flex.compiler.internal.codegen.js.goog.TestGoogEmitter
testSimple(org.apache.flex.compiler.internal.codegen.js.goog.TestGoogEmitter)  Time elapsed:
0.015 sec  <<< ERROR!
java.lang.NullPointerException
   at org.apache.flex.compiler.internal.codegen.js.goog.TestGoogEmitter.testSimple(TestGoogEmitter.java:55)


Unfortunately that doesn't help much, so I started the Test in IntelliJ and it failed too
with a NullPointerException:

java.lang.NullPointerException
at org.apache.flex.compiler.internal.codegen.js.goog.JSGoogDocEmitter.emitMethodDoc(JSGoogDocEmitter.java:152)
at org.apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitter.emitMethod(JSGoogEmitter.java:494)
at org.apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitter.emitClass(JSGoogEmitter.java:233)
at org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.visitClass(ASBlockWalker.java:242)
at org.apache.flex.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:137)
at org.apache.flex.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
at org.apache.flex.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
at org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:157)
at org.apache.flex.compiler.internal.codegen.js.goog.JSGoogEmitter.emitPackageContents(JSGoogEmitter.java:180)
at org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.visitPackage(ASBlockWalker.java:230)
at org.apache.flex.compiler.internal.visitor.as.ASNodeSwitch.handle(ASNodeSwitch.java:133)
at org.apache.flex.compiler.internal.visitor.as.ASNodeHandler.handle(ASNodeHandler.java:85)
at org.apache.flex.compiler.internal.visitor.as.BeforeAfterStrategy.handle(BeforeAfterStrategy.java:110)
at org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.walk(ASBlockWalker.java:157)
at org.apache.flex.compiler.internal.codegen.as.ASBlockWalker.visitFile(ASBlockWalker.java:209)
at org.apache.flex.compiler.internal.codegen.js.goog.TestGoogEmitter.testSimple(TestGoogEmitter.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)

Any Ideas why it's failing and how I can fix the tests? I didn't change anything in the falcon-jx
or falcon modules, so it's probably related to work I did. Yesterday there was another test
failing, but after I updated today that's green again.

Chris


Mime
View raw message