cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bimargul...@gmail.com>
Subject Re: Javascript test failure....
Date Thu, 07 Aug 2008 11:34:49 GMT
I got swamped. I'll get there eventually.

On Wed, Aug 6, 2008 at 12:45 PM, Benson Margulies <bimargulies@gmail.com>wrote:

> The recent change of possible relevance is to make asynchronous operations
> against the simulated browser be really asynchronous.
>
> This particular test is the one I labored over for the woman who ran into
> the multiple request issue, so sadly it's unlikely to be suffering from some
> trivial problem.
>
> I'll dig into it this evening.
>
> There's lots of logging to turn on...
>
>
> On Tue, Aug 5, 2008 at 8:37 PM, Daniel Kulp <dkulp@apache.org> wrote:
>
>>
>> Benson,
>>
>> I'm back on Linux again and I'm now seeing a somewhat random test failure
>> in
>> the javascript module. (50% failure when run top level, less so from
>> within
>> the module)   I'm not sure what to make of it or what could be causing it.
>> It also doesn't seem to occur in eclipse so I'm not even sure how I'd
>> debug
>> it.  :-(
>>
>> Any ideas?
>>
>> Stack trace:
>>
>> Running org.apache.cxf.javascript.GreeterClientTest
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.547 sec
>> <<<
>> FAILURE!
>> testRequestClosure(org.apache.cxf.javascript.GreeterClientTest)  Time
>> elapsed:
>> 0.2 sec  <<< ERROR!
>> org.mozilla.javascript.EcmaError: TypeError: Cannot call
>> method "getResponseType" of null (<testcase>#1)
>>        at
>>
>> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3350)
>>        at
>>
>> org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3340)
>>        at
>> org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3356)
>>        at org.mozilla.javascript.ScriptRuntime.typeError2
>> (ScriptRuntime.java:3375)
>>        at
>>
>> org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3394)
>>        at
>>
>> org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2026)
>>        at org.mozilla.javascript.optimizer.OptRuntime.callProp0
>> (OptRuntime.java:117)
>>        at org.mozilla.javascript.gen.c227._c0(<testcase>:1)
>>        at org.mozilla.javascript.gen.c227.call(<testcase>)
>>        at
>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
>>        at
>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
>>        at org.mozilla.javascript.gen.c227.call(<testcase>)
>>        at org.mozilla.javascript.gen.c227.exec(<testcase>)
>>        at org.mozilla.javascript.Context.evaluateString(Context.java:1196)
>>        at
>>
>> org.apache.cxf.javascript.JavascriptTestUtilities$2.run(JavascriptTestUtilities.java:226)
>>        at
>>
>> org.apache.cxf.javascript.JavascriptTestUtilities.runInsideContext(JavascriptTestUtilities.java:199)
>>        at
>>
>> org.apache.cxf.javascript.JavascriptTestUtilities.rhinoEvaluate(JavascriptTestUtilities.java:224)
>>        at
>>
>> org.apache.cxf.javascript.JavascriptTestUtilities.rhinoEvaluateConvert(JavascriptTestUtilities.java:287)
>>        at
>>
>> org.apache.cxf.javascript.GreeterClientTest.sayHiClosureCaller(GreeterClientTest.java:96)
>>        at org.apache.cxf.javascript.GreeterClientTest.access$100
>> (GreeterClientTest.java:35)
>>        at
>>
>> org.apache.cxf.javascript.GreeterClientTest$2.run(GreeterClientTest.java:109)
>>        at
>>
>> org.apache.cxf.javascript.GreeterClientTest$2.run(GreeterClientTest.java:108)
>>        at
>>
>> org.apache.cxf.javascript.JavascriptTestUtilities.runInsideContext(JavascriptTestUtilities.java:199)
>>        at
>>
>> org.apache.cxf.javascript.GreeterClientTest.testRequestClosure(GreeterClientTest.java:107)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
>>        at
>>
>> org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
>>        at
>> org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
>>        at
>>
>> org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
>>        at
>> org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
>>        at
>> org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
>>        at
>>
>> org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
>>        at
>>
>> org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
>>        at
>>
>> org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
>>        at
>> org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
>>        at
>> org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
>>        at
>>
>> org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
>>        at
>>
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>>        at
>>
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>>        at
>>
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>>        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>>
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
>>        at
>>
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
>>
>>
>> --
>> Daniel Kulp
>> dkulp@apache.org
>> http://www.dankulp.com/blog
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message