Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicResourcePool.this.unused.add(0, resc); NullPointerException #182

Open
xtb359 opened this issue Nov 26, 2024 · 1 comment
Open

BasicResourcePool.this.unused.add(0, resc); NullPointerException #182

xtb359 opened this issue Nov 26, 2024 · 1 comment

Comments

@xtb359
Copy link

xtb359 commented Nov 26, 2024

[ThreadPoolAsynchronousRunner] {} (C3P0PooledConnectionPoolManager[identityToken->z8kfltb7l920rj9a0cyd|6b3c1f17]-HelperThread-#2) Thread[C3P0PooledConnectionPoolManager[identityToken->z8kfltb7l920rj9a0cyd|6b3c1f17]-HelperThread-#2,5,main] -- caught unexpected Exception while executing posted task.
java.lang.NullPointerException: null
at java.util.LinkedList.linkBefore(LinkedList.java:157) ~[?:1.8.0_202]
at java.util.LinkedList.add(LinkedList.java:512) ~[?:1.8.0_202]
at com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.run(BasicResourcePool.java:1385) ~[c3p0-0.9.5.2.jar:0.9.5.2]
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696) [mchange-commons-java-0.2.15.jar:0.2.15]

Why did this error occur and how can it be resolved?

@xtb359
Copy link
Author

xtb359 commented Nov 29, 2024

The server architecture is aarch64, The c3p0 version is 0.9.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant