cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bimargul...@gmail.com>
Subject Alarming success on unit test
Date Wed, 19 Mar 2008 18:27:35 GMT
Is this really a good thing? I happened to run this test in Eclipse....

log4j:WARN No appenders could be found for logger (
org.springframework.context.support.ClassPathXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.
Mar 19, 2008 1:25:58 PM
org.apache.cxf.common.annotation.AnnotationProcessorvisitAnnotatedElement
SEVERE: an AnnotationVisitor (EasyMock for interface
org.apache.cxf.common.annotation.AnnotationVisitor) raised an exception on
element public void
org.apache.cxf.common.annotation.AnnotatedGreeterImpl.greetMeOneWay(
java.lang.String).
java.lang.AssertionError:
  Unexpected method call visitMethod(public void
org.apache.cxf.common.annotation.AnnotatedGreeterImpl.greetMeOneWay(
java.lang.String), @javax.jws.WebMethod(action=, operationName=,
exclude=false)):
    at org.easymock.internal.MockInvocationHandler.invoke(
MockInvocationHandler.java:29)
    at org.easymock.internal.ObjectMethodsFilter.invoke(
ObjectMethodsFilter.java:45)
    at $Proxy13.visitMethod(Unknown Source)
    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.cxf.common.annotation.AnnotationProcessor.visitAnnotatedElement(
AnnotationProcessor.java:131)
    at org.apache.cxf.common.annotation.AnnotationProcessor.processMethods(
AnnotationProcessor.java:103)
    at org.apache.cxf.common.annotation.AnnotationProcessor.accept(
AnnotationProcessor.java:90)
    at org.apache.cxf.common.annotation.AnnotationProcessor.accept(
AnnotationProcessor.java:94)
    at org.apache.cxf.common.annotation.AnnotationProcessorTest.runProcessor
(AnnotationProcessorTest.java:139)
    at
org.apache.cxf.common.annotation.AnnotationProcessorTest.testVisitMethod(
AnnotationProcessorTest.java:103)
    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.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
JUnit4TestReference.java:38)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(
TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
RemoteTestRunner.java:673)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(
RemoteTestRunner.java:386)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
RemoteTestRunner.java:196)

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