提示:这里描述项目中遇到的问题: 大致说和:Invalid byte 2 of 2-byte UTF-8 sequence.有关,详细见报错信息
2021/09/09 08:48:15 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : 当读共享文件时发生错误(继续加载): org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:15 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - Error reading information from input stream 2021/09/09 08:48:15 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:15 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - Error reading information from input stream 2021/09/09 08:48:15 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:185) 2021/09/09 08:48:15 - General - at org.pentaho.di.base.AbstractMeta.readSharedObjects(AbstractMeta.java:1602) 2021/09/09 08:48:15 - General - at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2947) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:61) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4597) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4304) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4241) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021/09/09 08:48:15 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021/09/09 08:48:15 - General - at java.lang.reflect.Method.invoke(Method.java:498) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1366) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7984) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9245) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021/09/09 08:48:15 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021/09/09 08:48:15 - General - at java.lang.reflect.Method.invoke(Method.java:498) 2021/09/09 08:48:15 - General - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2021/09/09 08:48:15 - General - Caused by: org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:15 - General - Error reading information from input stream 2021/09/09 08:48:15 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:635) 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559) 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:540) 2021/09/09 08:48:15 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:111) 2021/09/09 08:48:15 - General - ... 33 more 2021/09/09 08:48:15 - General - Caused by: org.xml.sax.SAXParseException; lineNumber: 111; columnNumber: 17; Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 2021/09/09 08:48:15 - General - at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:612) 2021/09/09 08:48:15 - General - ... 36 more 2021/09/09 08:48:15 - General - Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2021/09/09 08:48:15 - General - ... 40 more 2021/09/09 08:48:39 - Spoon - Using legacy execution engine 2021/09/09 08:48:39 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : 当读共享文件时发生错误(继续加载): org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:39 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - Error reading information from input stream 2021/09/09 08:48:39 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:39 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - Error reading information from input stream 2021/09/09 08:48:39 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:185) 2021/09/09 08:48:39 - General - at org.pentaho.di.base.AbstractMeta.readSharedObjects(AbstractMeta.java:1602) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2947) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2749) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2701) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2678) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2658) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2623) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.Trans.<init>(Trans.java:595) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.trans.TransGraph.createLegacyTrans(TransGraph.java:5012) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransSupplier.get(TransSupplier.java:64) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.trans.TransGraph.start(TransGraph.java:3802) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:903) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon$30$1.run(Spoon.java:8465) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1366) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7984) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9245) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692) 2021/09/09 08:48:39 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021/09/09 08:48:39 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021/09/09 08:48:39 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021/09/09 08:48:39 - General - at java.lang.reflect.Method.invoke(Method.java:498) 2021/09/09 08:48:39 - General - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2021/09/09 08:48:39 - General - Caused by: org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:39 - General - Error reading information from input stream 2021/09/09 08:48:39 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:635) 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559) 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:540) 2021/09/09 08:48:39 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:111) 2021/09/09 08:48:39 - General - ... 26 more 2021/09/09 08:48:39 - General - Caused by: org.xml.sax.SAXParseException; lineNumber: 111; columnNumber: 17; Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 2021/09/09 08:48:39 - General - at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:612) 2021/09/09 08:48:39 - General - ... 29 more 2021/09/09 08:48:39 - General - Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2021/09/09 08:48:39 - General - ... 33 more 原因分析: 提示:这里填写问题的分析: 可能是字符编码格式不对, 解决方案: 提示:这里填写该问题的具体解决方案: 不需要解决,后来发现kettle导入的数据没有少,也就没有管 kettle7.1 执行job或trans时出现的错误“Invalid byte 2 of 2-byte UTF-8 sequence在测试资源库的时候: 根据资源库的建立方式 1 运行spoon.bat 2 点击右上角Connect 3 点击Other Repository 4 点击Database Repository或者file Reposit kettle在将job发布的远程服务器的时候,会根据当前的java的默认编码生成压缩文件,然后传输到远程服务器执行。 出现这种报错的原因是,你本地的java默认编码是gbk,所以发送到远程服务器的job就是gbk编码的,而远程服务器的java编码是utf-8,所以在执行job的时候会抛出异常。 保证本地的java编码和远程服务器的java编码一致即可。方式很多,改服务器改本地... kettle新建转换 时,“读取共享对象时发生一个严重错误” “Unexpected problem reading shared objects from XML file : null” 保存ktr... Spoon - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType. 错误描述为: 2021/07/07 23:58:17 - Spoon - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : 一个未预期的错误发生在Spoon: probable cause:在停止Spoon前,请先关闭其它spoon窗口! 去网上找了一些解决闪 欢迎使用Markdown编辑器 你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。 用的是myeclipse10,最近在学习ERP项目时,在修改web.xml后和导入struts.xml后myeclipse都出现 Invalid byte 2 of 2-byte UTF-8 sequence
2021/09/09 08:48:15 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : 当读共享文件时发生错误(继续加载): org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:15 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - Error reading information from input stream 2021/09/09 08:48:15 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:15 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - Error reading information from input stream 2021/09/09 08:48:15 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:185) 2021/09/09 08:48:15 - General - at org.pentaho.di.base.AbstractMeta.readSharedObjects(AbstractMeta.java:1602) 2021/09/09 08:48:15 - General - at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2947) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:61) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4597) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4304) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4241) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021/09/09 08:48:15 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021/09/09 08:48:15 - General - at java.lang.reflect.Method.invoke(Method.java:498) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43) 2021/09/09 08:48:15 - General - at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490) 2021/09/09 08:48:15 - General - at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) 2021/09/09 08:48:15 - General - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1366) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7984) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9245) 2021/09/09 08:48:15 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021/09/09 08:48:15 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021/09/09 08:48:15 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021/09/09 08:48:15 - General - at java.lang.reflect.Method.invoke(Method.java:498) 2021/09/09 08:48:15 - General - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2021/09/09 08:48:15 - General - Caused by: org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:15 - General - Error reading information from input stream 2021/09/09 08:48:15 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:635) 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559) 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:540) 2021/09/09 08:48:15 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:111) 2021/09/09 08:48:15 - General - ... 33 more 2021/09/09 08:48:15 - General - Caused by: org.xml.sax.SAXParseException; lineNumber: 111; columnNumber: 17; Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 2021/09/09 08:48:15 - General - at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) 2021/09/09 08:48:15 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:612) 2021/09/09 08:48:15 - General - ... 36 more 2021/09/09 08:48:15 - General - Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:15 - General - at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2021/09/09 08:48:15 - General - ... 40 more 2021/09/09 08:48:39 - Spoon - Using legacy execution engine 2021/09/09 08:48:39 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : 当读共享文件时发生错误(继续加载): org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:39 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - Error reading information from input stream 2021/09/09 08:48:39 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - ERROR (version 8.0.0.0-28, build 8.0.0.0-28 from 2017-11-05 07.27.50 by buildguy) : org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:39 - General - Unexpected problem reading shared objects from XML file : null 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - Error reading information from input stream 2021/09/09 08:48:39 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:185) 2021/09/09 08:48:39 - General - at org.pentaho.di.base.AbstractMeta.readSharedObjects(AbstractMeta.java:1602) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.loadXML(TransMeta.java:2947) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2749) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2701) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2678) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2658) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2623) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.Trans.<init>(Trans.java:595) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.trans.TransGraph.createLegacyTrans(TransGraph.java:5012) 2021/09/09 08:48:39 - General - at org.pentaho.di.trans.TransSupplier.get(TransSupplier.java:64) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.trans.TransGraph.start(TransGraph.java:3802) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:903) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon$30$1.run(Spoon.java:8465) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) 2021/09/09 08:48:39 - General - at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1366) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7984) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9245) 2021/09/09 08:48:39 - General - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:692) 2021/09/09 08:48:39 - General - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2021/09/09 08:48:39 - General - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2021/09/09 08:48:39 - General - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2021/09/09 08:48:39 - General - at java.lang.reflect.Method.invoke(Method.java:498) 2021/09/09 08:48:39 - General - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2021/09/09 08:48:39 - General - Caused by: org.pentaho.di.core.exception.KettleXMLException: 2021/09/09 08:48:39 - General - Error reading information from input stream 2021/09/09 08:48:39 - General - Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:635) 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:559) 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:540) 2021/09/09 08:48:39 - General - at org.pentaho.di.shared.SharedObjects.<init>(SharedObjects.java:111) 2021/09/09 08:48:39 - General - ... 26 more 2021/09/09 08:48:39 - General - Caused by: org.xml.sax.SAXParseException; lineNumber: 111; columnNumber: 17; Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) 2021/09/09 08:48:39 - General - at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) 2021/09/09 08:48:39 - General - at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:612) 2021/09/09 08:48:39 - General - ... 29 more 2021/09/09 08:48:39 - General - Caused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence. 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2021/09/09 08:48:39 - General - at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2021/09/09 08:48:39 - General - ... 33 more
原因分析: 提示:这里填写问题的分析: 可能是字符编码格式不对, 解决方案: 提示:这里填写该问题的具体解决方案: 不需要解决,后来发现kettle导入的数据没有少,也就没有管 kettle7.1 执行job或trans时出现的错误“Invalid byte 2 of 2-byte UTF-8 sequence在测试资源库的时候: 根据资源库的建立方式 1 运行spoon.bat 2 点击右上角Connect 3 点击Other Repository 4 点击Database Repository或者file Reposit kettle在将job发布的远程服务器的时候,会根据当前的java的默认编码生成压缩文件,然后传输到远程服务器执行。 出现这种报错的原因是,你本地的java默认编码是gbk,所以发送到远程服务器的job就是gbk编码的,而远程服务器的java编码是utf-8,所以在执行job的时候会抛出异常。 保证本地的java编码和远程服务器的java编码一致即可。方式很多,改服务器改本地... kettle新建转换 时,“读取共享对象时发生一个严重错误” “Unexpected problem reading shared objects from XML file : null” 保存ktr... Spoon - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : java.lang.IllegalArgumentException: No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType. 错误描述为: 2021/07/07 23:58:17 - Spoon - ERROR (version 9.1.0.0-324, build 9.1.0.0-324 from 2020-09-07 05.09.05 by buildguy) : 一个未预期的错误发生在Spoon: probable cause:在停止Spoon前,请先关闭其它spoon窗口! 去网上找了一些解决闪 欢迎使用Markdown编辑器 你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。 用的是myeclipse10,最近在学习ERP项目时,在修改web.xml后和导入struts.xml后myeclipse都出现 Invalid byte 2 of 2-byte UTF-8 sequence
提示:这里填写问题的分析: 可能是字符编码格式不对,
提示:这里填写该问题的具体解决方案: 不需要解决,后来发现kettle导入的数据没有少,也就没有管