Hi.
im getting following error in dependency section. Please have a look at
since this is blocker.
Thanks.
/home/carbon320/.m2/repository/org/apache/axis2/axis2-repo-maven-plugin/1.6.1-wso2v4/axis2-repo-maven-plugin-1.6.1-wso2v4.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Axis2 - Fast Infoset
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target
[INFO] [incremental-build:incremental-build {execution: default}]
[INFO] Verifying module descriptor ...
[INFO] Pom descriptor modification detected.
[INFO] Deleting
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/conf
[INFO] Copying 0 resource
[INFO] skip non existing resourceDirectory
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/resources
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 4 source files to
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/classes
[INFO] [antrun:run {execution: gen-ts}]
[INFO] Executing tasks
[mkdir] Created dir:
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/test-classes
Overriding previous definition of reference to maven.dependency.classpath
[mkdir] Created dir:
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/wsdl
[echo] Compiling Service class
[javac] Compiling 1 source file to
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/test-classes
[echo] Generating the WSDL
[java] log4j:WARN No appenders could be found for logger
(org.apache.axis2.util.Loader).
[java] log4j:WARN Please initialize the log4j system properly.
[echo] Compiling SimpleAddService.wsdl
[mkdir] Created dir:
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/wsdl/simpleAddService
[java] Retrieving document at
'target/test-classes/SimpleAddService.wsdl'.
[java] log4j:WARN No appenders could be found for logger
(org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
[java] log4j:WARN Please initialize the log4j system properly.
[INFO] Executed tasks
[INFO] [build-helper:add-test-source {execution: add-test-source}]
[INFO] Test Source directory:
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/wsdl/simpleAddService
added.
[INFO] [axis2-repo:create-test-repository {execution: default}]
[INFO] Adding addressing-1.6.1-wso2v4.mar
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Compiling 5 source files to
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/test-classes
[INFO] [surefire:test {execution: default-test}]
[INFO] Surefire report directory:
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.axis2.fastinfoset.FastInfosetTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.324 sec
<<< FAILURE!
Running org.apache.axis2.fastinfoset.FastInfosetInputOutputTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.573 sec
Results :
Tests in error:
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/home/carbon320/323build/3.2.0/dependencies/axis2/1.6.1-wso2v4/modules/fastinfoset/target/surefire-reports
for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 52 seconds
[INFO] Finished at: Fri Nov 25 01:32:01 PST 2011
[INFO] Final Memory: 162M/2516M
[INFO]
------------------------------------------------------------------------
Surefire report has something like this
-------------------------------------------------------------------------------
Test set: org.apache.axis2.fastinfoset.FastInfosetTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.325 sec
<<< FAILURE!
testAdd(org.apache.axis2.fastinfoset.FastInfosetTest) Time elapsed: 0.284
sec <<< ERROR!
org.apache.axis2.AxisFault: Invalid UTF-8 middle byte 0x0 (at char #0, byte
#-1)
at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
org.apache.axis2.fastinfoset.SimpleAddServiceStub.addStrings(SimpleAddServiceStub.java:743)
at
org.apache.axis2.fastinfoset.SimpleAddServiceClient.addStrings(SimpleAddServiceClient.java:109)
at
org.apache.axis2.fastinfoset.FastInfosetTest.testAdd(FastInfosetTest.java:49)
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:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.extensions.TestSetup.run(TestSetup.java:27)
at
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
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:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--
*Sanjeewa Malalgoda*
Software Engineer
**
*WSO2, Inc.*
lean.enterprise.middleware.
mobile : +94 713068779
web: http://wso2.com
<http://sanjeewamalalgoda.blogspot.com/>blog
:http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
[image:
http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev