[
http://jira.jboss.com/jira/browse/JBESB-1267?page=comments#action_12391645 ]
Tom Cunningham commented on JBESB-1267:
---------------------------------------
There are two remaining failing tests in CI that I'm having trouble reproducing :
[java] [junit] Testsuite:
org.jboss.soa.esb.actions.aggregation.JBESB_1204_1331_UnitTest
[java] [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.419 sec
[java] [junit] ------------- Standard Output ---------------
[java] [junit] EMMA: collecting runtime coverage data ...
[java] [junit] ------------- ---------------- ---------------
[java] [junit] Testcase: test took 1.185 sec
[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:65)
[java] [junit] at
org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:64)
[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:210)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:368)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:131)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:112)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:154)
[java] [junit] at
org.jboss.soa.esb.actions.Aggregator$TimeoutChecker.run(Aggregator.java:363)
[java] [junit] Running
org.jboss.soa.esb.actions.aggregation.Nested_Splits_UnitTest
[java] [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.517 sec
[java] [junit] Testsuite:
org.jboss.soa.esb.actions.aggregation.Nested_Splits_UnitTest
[java] [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.517 sec
[java] [junit] ------------- Standard Output ---------------
[java] [junit] EMMA: collecting runtime coverage data ...
[java] [junit] ------------- ---------------- ---------------
[java] [junit] Testcase: test_nested_split took 1.232 sec
[java] [junit] Testcase: test_splitIds took 0.045 sec
[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:65)
[java] [junit] at
org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:64)
[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:210)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:368)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:131)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:112)
[java] [junit] at
org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:154)
[java] [junit] at
org.jboss.soa.esb.actions.Aggregator$TimeoutChecker.run(Aggregator.java:363)
[java] [junit] Running
org.jboss.soa.esb.actions.converters.ByteArrayToStringUnitTest
[java] [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.545 sec
[java] [junit] Testsuite:
org.jboss.soa.esb.actions.converters.ByteArrayToStringUnitTest
[java] [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.545 sec
[java] [junit] ------------- Standard Output ---------------
[java] [junit] EMMA: collecting runtime coverage data ...
[java] [junit] ------------- ---------------- ---------------
Some unittests throw non-lethal null pointers
---------------------------------------------
Key: JBESB-1267
URL:
http://jira.jboss.com/jira/browse/JBESB-1267
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta, Examples
Reporter: Kurt Stam
Assigned To: Tom Cunningham
Priority: Minor
Fix For: 4.2.1 CP1
Ever since we added the DLS/Redelivery functionality to the ServiceInvoker, some
unittests now throw null pointers, when doing a lookup in the registry. The MockRegistry
should handle this if correctly configured in the test, but in some cases it is not.
--
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