[
https://issues.apache.org/jira/browse/OFBIZ-6218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14383611#comment-14383611 ]
Adrian Crum commented on OFBIZ-6218:
------------------------------------
Test output:
{code}
<testsuite errors="1" failures="0" hostname="speed-demon" id="20" name="performfindtests" package="" skipped="0" tests="5" time="0.345" timestamp="2015-03-27T09:56:46"><properties/><testcase classname="org.ofbiz.common.test.PerformFindTests" name="testPerformFindConditionDistinct" time="0.096"><error type="java.lang.NullPointerException">java.lang.NullPointerException
at org.apache.commons.dbcp2.DelegatingConnection.closeInternal(DelegatingConnection.java:235)
at org.apache.commons.dbcp2.DelegatingConnection.close(DelegatingConnection.java:218)
at org.apache.commons.dbcp2.managed.ManagedConnection.close(ManagedConnection.java:166)
at org.ofbiz.entity.jdbc.SQLProcessor.close(SQLProcessor.java:235)
at org.ofbiz.entity.util.EntityListIterator.close(EntityListIterator.java:154)
at org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:329)
at org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:436)
at org.ofbiz.common.test.PerformFindTests.getCompleteList(PerformFindTests.java:49)
at org.ofbiz.common.test.PerformFindTests.testPerformFindConditionDistinct(PerformFindTests.java:190)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:342)
at org.ofbiz.base.start.Start.start(Start.java:368)
at org.ofbiz.base.start.Start.main(Start.java:135)
</error></testcase><testcase classname="org.ofbiz.common.test.PerformFindTests" name="testPerformFindConditionFieldLike" time="0.062"/><testcase classname="org.ofbiz.common.test.PerformFindTests" name="testPerformFindConditionFieldEquals" time="0.067"/><testcase classname="org.ofbiz.common.test.PerformFindTests" name="testPerformFindFilterByDateWithDedicateDateField" time="0.057"/><testcase classname="org.ofbiz.common.test.PerformFindTests" name="testPerformFindFilterByDate" time="0.045"/></testsuite>
{code}
> Unit tests throw exception in DBCP
> ----------------------------------
>
> Key: OFBIZ-6218
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6218> Project: OFBiz
> Issue Type: Bug
> Reporter: Adrian Crum
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)