読者です 読者をやめる 読者になる 読者になる

09

com.caucho.java.CompileClassNotFound: illegal utf8 encoding at (140)

intra-mart e-Builder 7.x intra-mart Web Platform 解決

e-Builder 7.2.x でデバッグサーバを起動しようとして以下のような例外で止まる。 昨日までは動いてたのにな?

警告: com.caucho.java.CompileClassNotFound: illegal utf8 encoding at (140)
com.caucho.java.CompileClassNotFound: illegal utf8 encoding at (140)
    at com.caucho.loader.CompilingLoader.compileBatch(CompilingLoader.java:749)
    at com.caucho.loader.CompilingLoader.make(CompilingLoader.java:353)
    at com.caucho.make.MakeContainer.make(MakeContainer.java:70)
    at com.caucho.loader.DynamicClassLoader.make(DynamicClassLoader.java:1134)
    at com.caucho.loader.EnvironmentClassLoader.scan(EnvironmentClassLoader.java:526)
    at com.caucho.loader.DynamicClassLoader.sendAddLoaderEvent(DynamicClassLoader.java:746)
    at com.caucho.loader.DynamicClassLoader.init(DynamicClassLoader.java:1163)
    at com.caucho.loader.EnvironmentClassLoader.init(EnvironmentClassLoader.java:186)
    at com.caucho.loader.ClassLoaderConfig.init(ClassLoaderConfig.java:156)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.caucho.config.j2ee.PostConstructProgram.inject(PostConstructProgram.java:60)
    at com.caucho.config.type.BeanType.init(BeanType.java:226)
    at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:522)
    at com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:327)
    at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:56)
    at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:80)
    at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:61)
    at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:364)
    at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:55)
    at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:665)
    at com.caucho.server.deploy.StartAutoRedeployManualStrategy.startOnInit(StartAutoRedeployManualStrategy.java:74)
    at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
    at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
    at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
    at com.caucho.server.host.Host.start(Host.java:450)
    at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
    at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
    at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
    at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
    at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
    at com.caucho.server.cluster.Server.start(Server.java:1319)
    at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
    at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
    at com.caucho.server.resin.Resin.start(Resin.java:703)
    at com.caucho.server.resin.Resin.initMain(Resin.java:1162)
    at com.caucho.server.resin.Resin.main(Resin.java:1365)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at jp.co.intra_mart.bin.server.core.WebApplicationServer.run(WebApplicationServer.java:259)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.CharConversionException: illegal utf8 encoding at (140)
    at com.caucho.vfs.i18n.UTF8Reader.read(UTF8Reader.java:158)
    at com.caucho.vfs.i18n.UTF8Reader.read(UTF8Reader.java:184)
    at com.caucho.vfs.AbstractByteToChar.readChar(AbstractByteToChar.java:153)
    at com.caucho.vfs.AbstractByteToChar.addChar(AbstractByteToChar.java:125)
    at com.caucho.java.JavacErrorParser.parseErrors(JavacErrorParser.java:74)
    at com.caucho.java.ExternalCompiler.compileInt(ExternalCompiler.java:218)
    at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:102)
    ... 1 more 

デバッグサーバを再構築したりワークスペースを切り替えたりしたけどダメで結局e Builder再インストールしたら直った。