[jira] [Commented] (OFBIZ-6218) Unit tests throw exception in DBCP

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6218) Unit tests throw exception in DBCP

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496995#comment-14496995 ]

Jacques Le Roux commented on OFBIZ-6218:
----------------------------------------

Not sure it's related (it's late) found this on last Buildbot run: http://ci.apache.org/projects/ofbiz/logs/trunk/html/
{code}
performfindtests testPerformFind Error N/A

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.performFindConditionFieldEquals(PerformFindTests.java:136)
at org.ofbiz.common.test.PerformFindTests.testPerformFind(PerformFindTests.java:113)
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)
{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
>         Attachments: OFBIZ-6218.patch
>
>
> Details in comments.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)