BUILD FAILURE : Building Apache Tuscany SCA RMI Host Extension Point
--------------------------------------------------------------------

                 Key: TUSCANY-2044
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2044
             Project: Tuscany
          Issue Type: Bug
            Reporter: Venkatakrishnan


[INFO] 
----------------------------------------------------------------------------
[INFO] Building Apache Tuscany SCA RMI Host Extension Point
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/modules/host-rmi/target
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/modules/host-rmi/target/classes
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/modules/host-rmi/target/test-classes
[INFO] Deleting directory 
/home/continuum/data/working-directory/277/modules/host-rmi/target/site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 7 source files to 
/home/continuum/data/working-directory/277/modules/host-rmi/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to 
/home/continuum/data/working-directory/277/modules/host-rmi/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory: 
/home/continuum/data/working-directory/277/modules/host-rmi/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.tuscany.sca.host.rmi.RMIHostImplTestCase
Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.111 sec <<< 
FAILURE!
testFindServiceBadHost(org.apache.tuscany.sca.host.rmi.RMIHostImplTestCase)  
Time elapsed: 0.969 sec  <<< ERROR!
java.lang.NullPointerException
       at java.util.Hashtable.get(Hashtable.java:334)
       at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:104)
       at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
       at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:386)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
       at sun.rmi.transport.Transport$1.run(Transport.java:159)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
       at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
       at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
       at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
       at java.lang.Thread.run(Thread.java:619)
       at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
       at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
       at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
       at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
       at 
org.apache.tuscany.sca.host.rmi.DefaultRMIHost.findService(DefaultRMIHost.java:113)
       at 
org.apache.tuscany.sca.host.rmi.RMIHostImplTestCase.testFindServiceBadHost(RMIHostImplTestCase.java:34)
       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 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 
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
       at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
       at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
       at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
       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:308)
       at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)


Results :

Tests in error:
 testFindServiceBadHost(org.apache.tuscany.sca.host.rmi.RMIHostImplTestCase)

Tests run: 7, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to 
/home/continuum/data/working-directory/277/modules/host-rmi/target/surefire-reports
 for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 49 seconds
[INFO] Finished at: Thu Feb 14 06:46:14 PST 2008
[INFO] Final Memory: 34M/65M
[INFO] ------------------------------------------------------------------------

****************************************************************************

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to