Skip to content

Instantly share code, notes, and snippets.

@yoshikazuendo
Last active February 22, 2018 02:33
Show Gist options
  • Save yoshikazuendo/89ce56b661ad14bfde6e5f8c14704c3d to your computer and use it in GitHub Desktop.
Save yoshikazuendo/89ce56b661ad14bfde6e5f8c14704c3d to your computer and use it in GitHub Desktop.
設定ファイル(例えばweb.xml)などに日本語(2バイト文字)が含まれていると発生するエラーの模様。 コメントタグ内に日本語でもエラーになるので、明記を削除すると解消される。
Unable to stage:
com.google.apphosting.utils.config.AppEngineConfigException: Received IOException parsing the input stream.
at com.google.apphosting.utils.config.XmlUtils.parseXml(XmlUtils.java:52)
at com.google.apphosting.utils.config.XmlUtils.parseXml(XmlUtils.java:40)
at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:119)
at com.google.apphosting.utils.config.WebXmlReader.processXml(WebXmlReader.java:20)
at com.google.apphosting.utils.config.AbstractConfigXmlReader.readConfigXml(AbstractConfigXmlReader.java:89)
at com.google.apphosting.utils.config.WebXmlReader.readWebXml(WebXmlReader.java:96)
at com.google.appengine.tools.admin.Application.compileJsps(Application.java:1268)
at com.google.appengine.tools.admin.Application.populateStagingDirectory(Application.java:975)
at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:872)
at com.google.appengine.tools.admin.AppAdminImpl.stageApplication(AppAdminImpl.java:539)
at com.google.appengine.tools.admin.AppAdminImpl.stageApplicationWithDefaultResourceLimits(AppAdminImpl.java:492)
at com.google.appengine.tools.admin.AppCfg$StagingAction.execute(AppCfg.java:2529)
at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:390)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:213)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:119)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:115)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 3バイトのUTF-8シーケンスのバイト3が無効です。
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:687)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:435)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1735)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(XMLEntityScanner.java:1234)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanComment(XMLScanner.java:778)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanComment(XMLDocumentFragmentScannerImpl.java:1038)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2988)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:347)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
at com.google.apphosting.utils.config.XmlUtils.parseXml(XmlUtils.java:47)
... 15 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment