- 浏览: 1228762 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (718)
- HTML (13)
- JS基础 (23)
- JS应用 (40)
- AJAX (6)
- JSP相关 (12)
- JAVA基础 (52)
- JAVA应用 (74)
- APPLET (11)
- SWING\RCP (2)
- JAVA反射 (6)
- 设计模式 (26)
- 数据库设计 (20)
- Struts (35)
- Struts2 (12)
- Spring (22)
- Hibernate (45)
- Ibatis (18)
- mybatis (3)
- SSH (8)
- UML (5)
- WebService (3)
- XML (16)
- Log4j (7)
- WEB容器 (26)
- 数据结构 (36)
- Linux (34)
- Ruby on Rails (1)
- 其它技术 (27)
- IDE配置 (15)
- 项目实战 (2)
- Oracle (69)
- JAVA报表 (7)
- Android学习 (2)
- 博客链接 (1)
- 网络基础 (1)
- WEB集群 (1)
- .Net开发 (11)
- PB (4)
- 系统构建 (15)
最新评论
-
jnjeC:
牛逼啊哥们,讲得太好了
Maven仓库理解、如何引入本地包、Maven多种方式打可执行jar包 -
九尾狐的yi巴:
很好 感谢!
Itext中文处理(更新版) -
luweifeng1983:
有用的,重启一下嘛。
设置eclipse外部修改文件后自动刷新 -
Master-Gao:
设置了也不管用,怎么破呢?
设置eclipse外部修改文件后自动刷新 -
aigo_h:
锋子还有时间写博客,还是很闲哈!
Add directory entries问题
http://confluence.atlassian.com/display/JIRAKB/CSV+Import+fails+with+sun.io.MalformedInputException
Symptoms
When trying to import issues via CSV the following error is thrown and the import fails:
Only new Users will be imported FAILED: Unexpected failure occurred. Importer will stop immediately. Data maybe in an unstable state com.atlassian.jira.exception.DataAccessException: com.atlassian.jira.imports.csv.ImportException: sun.io.MalformedInputException
at com.atlassian.jira.imports.csv.CsvDataBean.populateCache(CsvDataBean.java:201)
at com.atlassian.jira.imports.csv.CsvDataBean.refreshCache(CsvDataBean.java:105)
at com.atlassian.jira.imports.csv.CsvDataBean.getUsers(CsvDataBean.java:251)
at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importUsers(DefaultJiraDataImporter.java:223)
at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:94)
at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)
Caused by: com.atlassian.jira.imports.csv.ImportException: sun.io.MalformedInputException
at com.atlassian.jira.imports.csv.MindProdCsvProvider.getNextLine(MindProdCsvProvider.java:102)
at com.atlassian.jira.imports.csv.CsvDataBean.populateCache(CsvDataBean.java:125)
... 5 more
Caused by: sun.io.MalformedInputException
at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:149)
at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:247)
at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at com.mindprod.csv.CSVReader.getLineIfNeeded(CSVReader.java:690)
at com.mindprod.csv.CSVReader.get(CSVReader.java:343)
at com.mindprod.csv.CSVReader.getAllFieldsInLine(CSVReader.java:305)
at com.atlassian.jira.imports.csv.MindProdCsvProvider.getNextLine(MindProdCsvProvider.java:87)
Cause
This error is thrown when the system encoding is in UTF-8 but the CSV file is in a different character encoding.
Resolution
On Unix/Linux you can check the encoding of the CSV using the file command:
[amyers@erdinger:~]$ file mycsvfile.csv
mycsvfile.csv: ISO-8859 English text, with very long lines, with CRLF, LF line terminators
Once you have determind the encoding of the file, you can use the inconv command to change the encoding:
[amyers@erdinger:~]$ iconv -f ISO-8859-1 -t UTF-8 mycsvfile.csv > myutf8csvfile.csv
发表评论
-
JAVA短信发送及JAVA发送http请求与处理
2016-06-22 14:34 604JAVA发送HTTP请求与处理参考: http://ww ... -
Java Zip应用
2016-06-22 14:30 641应用系统中使用jdk原生 ... -
模拟tomcat进行http请求及响应处理:BufferedReader类的readLine在socket网络编程应用时发生阻塞
2016-05-11 15:04 1761最近写一个简单的程序模拟tomcat进行http请求及响应 ... -
Castor-xml映射出现节点重复问题解决
2015-08-13 16:24 1209最近在使用Castor-xml生成XML时发现生成的格式不 ... -
Add directory entries问题
2014-08-05 10:24 1895用spring注解的项目,eclipse可以运行,打成jar ... -
BeanUtils.copyProperties与PropertyUtils.copyProperties用法及区别
2013-01-25 16:21 884http://www.cnblogs.com/fayf/ar ... -
java.net.BindException: Cannot assign requested address
2012-06-13 14:10 892转:http://wgkgood.blog.51cto ... -
Duplicate name in Manifest: Depends-On
2012-06-13 13:13 1643解决方法:http://ww2.sjc.edu/faculty ... -
java tree
2011-11-16 02:01 1292import java.util.ArrayList; im ... -
jacob操作word和excel
2011-07-28 17:00 905http://danadler.com/jacob/ -
获得PrepareStatement 的最终执行语句
2011-07-04 10:07 1015方法一:http://www.blogjava.net/ ... -
Non-terminating decimal expansion; no exact representable decimal result
2011-06-24 16:03 2610由于需要处理精度比较高的浮点数,所以弃用double类型,改用 ... -
JXLS应用示例
2011-06-03 01:41 3495JXLS在循环的记录前加序号: <jx:f ... -
月份加减方法处理
2011-06-03 00:52 919private static String monthAdd ... -
JAVA 5.0 后 自带监控工具 jps、jinfo、jstat、jma
2011-05-12 16:25 1241最近有个客户要进行WebLogic性能调优,但因为他们没有性能 ... -
定时器的实现、java定时器介绍与Spring中定时器的配置
2011-04-28 15:05 25421定时器的作用 在实际的开发中,如果项目中需要定时执行或者需 ... -
ClientAbortException,Connection reset by peer: socket write error
2011-03-07 11:24 6103extremetable导出excel,弹出一个下载窗口,这 ... -
java 调ireport (javaBean数据源)保存服务器 生成word
2011-02-24 14:40 1560package com.ztesoft.bidding.con ... -
JAVA包生成EXE应用实例
2011-01-06 15:35 1034相关文章:http://blog.csdn.net/fresh ... -
RMI客户端调用远程服务器方法-远程方法调用
2010-12-27 16:45 2749RMI软件下载:http://www.genady.net/r ...
相关推荐
请执行以下命令: # Checkout the repositorygit clone https://github.com/Koenkk/zigbee2mqtt.io.gitcd zigbee2mqtt.io/docs# Make sure that you have atleast Ruby 2.1.0 installed, if this fails, install ...
它动态地修改了后端服务器的属性(weight,max_fails等),而无需重新加载NGINX。 修改配置文件并重新启动NGINX可能并不总是很方便。 例如,如果您遇到大量的流量和高负载,则在那时重启NGINX并重新加载配置会...
状态 缓存网址监控器 用于监控网址的Python插件,用于验证其响应状态和延迟。 URL的测试频率以及应用于请求响应的断言是可配置的。 该项目可从PyPI获得: ://pypi.python.... allowed_fails : 0 component_id : 1 me
/ grant necessary database privileges to tfmadmin tfmAdmin_privs_and_syns.sql grant necessary java privileges to tfmadmin tfmAdmin_java_privs.sql if this fails with any spurious dbms_java errors then...
// throws if any get operation fails indepth . get ( object , [ 'string key' , 1 , 'another' , 3 ] , 'failed' ) ; // returns 'failed' if any get operation fails indepth . set ( object , [ 'string key'...
* @throws org.dom4j.DocumentException occurs whenever the build process fails. */ public void parseWithSAX(File aFile) throws DocumentException { SAXReader xmlReader = new SAXReader(); this.doc =...
测试结果这些是从库中选择的测试的结果。 要浏览特定的测试结果,请访问以下网站: ... 例如, 要添加新的测试结果: 使用 (或本地副本)生成一组JSON测试结果文件将结果推送到此存储库中的正确目录中(使用与WPT中的...
《CMOS Electronics How It Works How It Fails》这本书深入剖析了这些内容,为读者提供了从基础理论到实际应用的全面知识。通过学习,读者不仅可以理解CMOS电子如何在无线通信中发挥作用,还能掌握如何预防和解决...
partition with an error, to recover the FAT16/FAT32/NTFS/NTFS5/EXT2/EXT3/SWAP partition on IDE/ATA/SATA/SCSI harddisk drives. It can create an emergency floppy disk or a bootable CD to recover the bad...
Fixed an infinite loop (eventually leading to OOME) if Subversion client SSL certificate authentication fails. (report) NPE from artifact archiver when a slave is down. (issue 3330) Hudson now ...
Run CORE10k.EXE to verify this release, if CRC-check fails or even CORE10k.EXE is missing - you are probably using webshit! else Вл Thanks for choosing (C)hallenge (O)f (R)everse (E)ngineering! ....
开源项目-rms1000watt-hello-world-quic.zip,rms1000watt/hello-world-quic (Hello World QUIC in Go) (Client & Server work.. but Fails on Chrome.. plz help?)
喜欢钢铁侠的朋友可以支持一下,免费
Concurrent Manager Fails to Start With Error Could not initialize the Service Manager FNDSM_{HOSTNAME}_{SID}(Doc ID 735148.1)
Foreign Key Constraint Fails(亲测可用).md
在SQLyog中Import Data或Empty Table (Shitf + D)时,出现 Error No. 1451 Cannot delete or update a parent row: a foreign key constraint fails (...) 这可能是MySQL在InnoDB中设置了foreign key关联,造成无法...
执行重试 child_process.exec具有使用的重试功能。 特征 重试命令,直到成功 设置重试选项(请参阅) 它甚至会返回流,就像node的exec ,哇! 使用记录有用的信息 安装 $ npm install exec-retry --... // fails af
1.2.3.4.2 MBMS operation with a SFN.................................................24 1.2.3.4.3 SFN for point to point services..............................................25 1.2.3.5 The Frequency ...
1.2.3.4.2 MBMS operation with a SFN.................................................24 1.2.3.4.3 SFN for point to point services..............................................25 1.2.3.5 The Frequency ...