NullPointerException thrown by Charset.availableCharsets due to our Sybase JDBC driver

后端 未结 2 404
无人共我
无人共我 2021-01-20 05:27

I am running into a blocking issue with my install (JDK 1.7). Basically I have the following NPE:

10:19:17.548 [main] ERROR o.s.t.w.s.TestDi         


        
2条回答
  •  被撕碎了的回忆
    2021-01-20 06:34

    It turns out to be a bug in the Sybase JDBC driver as one can see here. To quote the disgruntled user of the Sybase JDBC driver from the above link:

    Nothing should suprise me though, as the current Sybase driver is utterly broken, and has been for over a year! It contains a CharsetProvider, that returns a null iterator causing Charset.availableCharsets() to throw a nullpointer exception. A lot of frameworks such as Spring calls Charset.availableCharsets().

    I am not sure how to report this bug to Sybase/SAP though...

提交回复
热议问题