欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

处理java.lang.NullPointerException异常

程序员文章站 2022-06-23 18:06:56
...
	java.lang.NullPointerException
		at java.util.Properties$LineReader.readLine(Properties.java:434)
		at java.util.Properties.load0(Properties.java:353)
		at java.util.Properties.load(Properties.java:341)
		at com.qf.util.DBUtilDruid.<clinit>(DBUtilDruid.java:23)
		at com.qf.service.impl.AccountServiceImpl.transfer(AccountServiceImpl.java:18)
		at com.qf.test.Tests.main(Tests.java:10)
	Exception in thread "main" java.lang.NullPointerException
		at com.qf.util.DBUtilDruid.getConnection(DBUtilDruid.java:33)
		at com.qf.service.impl.AccountServiceImpl.transfer(AccountServiceImpl.java:18)
		at com.qf.test.Tests.main(Tests.java:10)

处理java.lang.NullPointerException异常

相关标签: JDBC编程