[
http://jira.jboss.com/jira/browse/JBESB-1014?page=comments#action_12376101 ]
Kevin Conner commented on JBESB-1014:
-------------------------------------
[java] [junit] Testcase: test_AppServerContext took 47.909 sec
[java] [junit] Caused an ERROR
[java] [junit] java.lang.StackOverflowError
[java] [junit] java.lang.ClassCastException: java.lang.StackOverflowError
[java] [junit] at
org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:222)
[java] [junit] at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
[java] [junit] at sun.rmi.transport.Transport$1.run(Transport.java:153)
[java] [junit] at java.security.AccessController.doPrivileged(Native Method)
[java] [junit] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
[java] [junit] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
[java] [junit] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
[java] [junit] at java.lang.Thread.run(Thread.java:595)
[java] [junit] at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
[java] [junit] at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
[java] [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
[java] [junit] at
org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown Source)
[java] [junit] at
org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:172)
[java] [junit] at
org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:267)
[java] [junit] at $Proxy0.list(Unknown Source)
[java] [junit] at org.jnp.interfaces.NamingContext.list(NamingContext.java:800)
[java] [junit] at org.jnp.interfaces.NamingContext.list(NamingContext.java:786)
[java] [junit] at javax.naming.InitialContext.list(InitialContext.java:395)
[java] [junit] at
org.jboss.soa.esb.helpers.NamingContext.getServerContext(NamingContext.java:66)
[java] [junit] at
org.jboss.soa.esb.helpers.AppServerContextUnitTest.test_AppServerContext(AppServerContextUnitTest.java:47)
The CCE occurs because there is a cast from StackOverflowError to Exception.
The test appears to be testing the NamingContext helper but is mixing real data (jboss jnp
provider) and an invalid URL (
http://localhost:1234)
The first thing to note is that the URL is invalid as far as JNP is concerned, in fact
this resolves to using a host called 'http' and a port of '1099'.
Fix hudson builds.
------------------
Key: JBESB-1014
URL:
http://jira.jboss.com/jira/browse/JBESB-1014
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Testing
Affects Versions: 4.2
Reporter: Kevin Conner
Assigned To: Kevin Conner
Fix For: 4.2.1
Currently the hudson builds are failing. We need to have these working as soon as
possible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira