You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "garydgregory (via GitHub)" <gi...@apache.org> on 2023/07/07 01:58:54 UTC

[GitHub] [commons-pool] garydgregory commented on pull request #228: POOL-391 fixes, docs

garydgregory commented on PR #228:
URL: https://github.com/apache/commons-pool/pull/228#issuecomment-1624529441

   Capturing some sample failures for when the build logs age out:
   ```
   [INFO] Running org.apache.commons.pool2.pool407.Pool407Test
   Error: Exception in thread "pool-3-thread-4" java.lang.RuntimeException: java.lang.NullPointerException: Pool407NullObjectFactory.makeObject() = null
   	at org.apache.commons.pool2.pool407.Pool407Test$Pool407RoundtripRunnable.run(Pool407Test.java:51)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   	at java.base/java.lang.Thread.run(Thread.java:833)
   Caused by: java.lang.NullPointerException: Pool407NullObjectFactory.makeObject() = null
   	at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:568)
   	at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:299)
   	at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:227)
   	at org.apache.commons.pool2.pool407.Pool407Test$Pool407RoundtripRunnable.run(Pool407Test.java:46)
   	... 3 more
   Error: Exception in thread "pool-3-thread-1" java.lang.RuntimeException: java.lang.NullPointerException: Pool407NullObjectFactory.makeObject() = null
   	at org.apache.commons.pool2.pool407.Pool407Test$Pool407RoundtripRunnable.run(Pool407Test.java:51)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   	at java.base/java.lang.Thread.run(Thread.java:833)
   Caused by: java.lang.NullPointerException: Pool407NullObjectFactory.makeObject() = null
   	at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:568)
   	at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:299)
   	at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:227)
   	at org.apache.commons.pool2.pool407.Pool407Test$Pool407RoundtripRunnable.run(Pool407Test.java:46)
   	... 3 more
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org