[
http://jira.jboss.com/jira/browse/JBESB-537?page=comments#action_12360827 ]
Kevin Conner commented on JBESB-537:
------------------------------------
This is either because the jbossesb-properties.xml file cannot be located or because it
does not contain the registry entries.
The RegistryFactory is asking for the implementation class (which is null) but continuing
to instantiate it.
Tidy up junit test. Several test show errors that are logged as
intentional.
----------------------------------------------------------------------------
Key: JBESB-537
URL:
http://jira.jboss.com/jira/browse/JBESB-537
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Daniel Bevenius
Assigned To: Mark Little
Priority: Trivial
A few junit test display errors that are not marked as intentional. For example the
SqlTableGatewayListenerUnitTest:
[java] [junit] ------------- Standard Error -----------------
[java] [junit] java.lang.NullPointerException
[java] [junit] at java.lang.Class.forName0(Native Method)
[java] [junit] at java.lang.Class.forName(Class.java:242)
[java] [junit] at
org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:48)
[java] [junit] at
org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:65)
[java] [junit] at
org.jboss.soa.esb.services.registry.RegistryFactory.getRegistry(RegistryFactory.java:51)
[java] [junit] at
org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:206)
[java] [junit] at
org.jboss.soa.esb.listeners.gateway.SqlTableGatewayListener.doInitialise(SqlTableGatewayListener.java:112)
[java] [junit] at
org.jboss.soa.esb.listeners.gateway.SqlTableGatewayListenerUnitTest.testGateway(SqlTableGatewayListenerUnitTest.java:163)
[java] [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[java] [junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] [junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] [junit] at java.lang.reflect.Method.invoke(Method.java:585)
[java] [junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[java] [junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[java] [junit] at
junit.framework.TestResult$1.protect(TestResult.java:110)
[java] [junit] at
junit.framework.TestResult.runProtected(TestResult.java:128)
[java] [junit] at junit.framework.TestResult.run(TestResult.java:113)
[java] [junit] at junit.framework.TestCase.run(TestCase.java:120)
[java] [junit] at junit.framework.TestSuite.runTest(TestSuite.java:228)
[java] [junit] at junit.framework.TestSuite.run(TestSuite.java:223)
[java] [junit] at
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[java] [junit] at
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[java] [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
[java] [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
[java] [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
--
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