Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

idea 12 parse some chinese character error

$
0
0

hi,all:

     Today, I download idea 12,then I install and run it. When i run junit test on my existent project, i got below error:

Caused by: org.dom4j.DocumentException: Invalid byte 1 of 1-byte UTF-8 sequence. Nested exception: Invalid byte 1 of 1-byte UTF-8 sequence.

at org.dom4j.io.SAXReader.read(SAXReader.java:484)

at org.dom4j.io.SAXReader.read(SAXReader.java:343)

at com.taobao.ad.enginenotify.NotifyFacadeImpl.loadNotifyConfig(NotifyFacadeImpl.java:101)

at com.taobao.ad.enginenotify.NotifyFacadeImpl.afterPropertiesSet(NotifyFacadeImpl.java:37)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)

... 95 more

Some exception stack infomation is ignored. These exceptions make me puzzled, because I don't change any code,and that code run correctly before. So I run idea 11, and run the same test case, it pass.....
  After some time debug, I find  the chinese charactor "牌"--- utf-8 code is "E7 89 8C" make this exception.
Can somebody fix it? Thank you, forgive my poor english.:)

Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>