开发者社区> 问答> 正文

druid 1.0.5 报错,怎么解决??报错

<2014-05-27 14:35:51> <ERROR> [com.alibaba.druid.pool.DruidDataSource (line-1759)] - logStats error
java.lang.NullPointerException
	at com.alibaba.druid.pool.DruidDataSource.getStatValueAndReset(DruidDataSource.java:1572)
	at com.alibaba.druid.pool.DruidDataSource.logStats(DruidDataSource.java:1511)
	at com.alibaba.druid.pool.DruidDataSource$LogStatsThread.run(DruidDataSource.java:1757)
<2014-05-27 14:35:56> <INFO> [com.alibaba.druid.pool.DruidDataSource (line-638)] - {dataSource-2} inited
<2014-05-27 14:35:56> <ERROR> [com.alibaba.druid.pool.DruidDataSource (line-1759)] - logStats error
java.lang.NullPointerException
	at com.alibaba.druid.pool.DruidDataSource.getStatValueAndReset(DruidDataSource.java:1572)
	at com.alibaba.druid.pool.DruidDataSource.logStats(DruidDataSource.java:1511)
	at com.alibaba.druid.pool.DruidDataSource$LogStatsThread.run(DruidDataSource.java:1757)



展开
收起
爱吃鱼的程序员 2020-06-20 17:28:33 690 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    已经安排人跟进

    今天刚换1.0.5 也遇到同样的问题[2014-07-1414:48:00][ERROR]DruidDataSource:1759-logStatserror
    java.lang.NullPointerException
     atcom.alibaba.druid.pool.DruidDataSource.getStatValueAndReset(DruidDataSource.java:1572)
     atcom.alibaba.druid.pool.DruidDataSource.logStats(DruidDataSource.java:1511)
     atcom.alibaba.druid.pool.DruidDataSource$LogStatsThread.run(DruidDataSource.java:1757)

    还没更新解决呢

    <atarget='_blank'>@GKing嗯刚在maven的仓库升级到了1.0.7升级到1.0.6吧

    2020-06-20 17:28:48
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载