Writing /volume1/Web/Public/dokuwiki/data/log/deprecated/2024-11-14.log failed
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
study:java:xdoclet [2008/02/15 09:05] – created banana | study:java:xdoclet [2008/04/16 00:27] (現在) – minor update banana | ||
---|---|---|---|
行 1: | 行 1: | ||
====== XDoclet Parsing Error ====== | ====== XDoclet Parsing Error ====== | ||
+ | |||
+ | ===== 現象 ===== | ||
+ | |||
<code java> | <code java> | ||
(TemplateEngine.invokeMethod | (TemplateEngine.invokeMethod | ||
行 6: | 行 9: | ||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||
+ | 以下 政略 | ||
+ | </ | ||
+ | {{keywords> | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | + | ===== 環境 ===== |
+ | Ant 1.6.5\\ | ||
+ | Netbeans 5.0\\ | ||
+ | JDK 1.4\\ | ||
+ | xDoclet 1.2.3\\ | ||
- | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | ||
- | at java.lang.reflect.Method.invoke(Method.java:324) | + | ===== build.xml ===== |
+ | 次はclasspathの設定部分です。 | ||
+ | <code xml> | ||
+ | < | ||
+ | <path id=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | 次はweb.xml, | ||
+ | <code xml> | ||
+ | <target name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <include name=" | ||
+ | </ | ||
+ | </ | ||
+ | <taskdef name=" | ||
- | at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java:641) | + | < |
+ | mergeDir=" | ||
+ | excludedTags=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | destdir=" | ||
+ | sessiontimeout=" | ||
+ | |||
+ | </ | ||
+ | < | ||
+ | version=" | ||
+ | destdir=" | ||
+ | mergedir=" | ||
+ | destinationFile=" | ||
+ | /> | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
- | at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java: | ||
- | at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java: | ||
- | at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java: | ||
- | at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java: | ||
- | at xdoclet.template.TemplateEngine.generate(TemplateEngine.java: | ||
- | at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java:742) | + | ===== 原因及び解決方法 ===== |
+ | ライブラリーの中のxjavadoc-1.5-snapshot050611.jarファイルが原因。\\ | ||
+ | もともと、xDoclet1.2.3release版にはxjavadoc-1.1.jarが含まれているが、xDocletパーサーが特殊文字をparsingする際、起こるバグを解決するためにそのjarファイルだけ入れ替えたのが禍根。\\ | ||
+ | 再び、元の状態で戻せば解決されるが特殊文字の対応はどうするかと言うのはまたの機会で:-/ | ||
- | at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java: | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | + | ====== fileset pattern ====== |
+ | [[http:// | ||
- | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | + | ~~DISCUSSION~~ |
- | + | ||
- | at java.lang.reflect.Method.invoke(Method.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.generate(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.start(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.XmlSubTask.startProcess(XmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.XDocletMain.start(XDocletMain.java: | + | |
- | + | ||
- | at xdoclet.DocletTask.start(DocletTask.java: | + | |
- | + | ||
- | at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTarget(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: | + | |
- | + | ||
- | at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: | + | |
- | + | ||
- | Caused by: java.lang.NoClassDefFoundError: | + | |
- | + | ||
- | at xjavadoc.filesystem.FileSourceSet.getRelativeFileName(FileSourceSet.java: | + | |
- | + | ||
- | at xjavadoc.filesystem.FileSourceSet.getSourceFile(FileSourceSet.java: | + | |
- | + | ||
- | at xjavadoc.XJavaDoc.getSourceFile(XJavaDoc.java: | + | |
- | + | ||
- | at xjavadoc.XJavaDoc.sourceExists(XJavaDoc.java: | + | |
- | + | ||
- | at xjavadoc.XJavaDoc.getXClass(XJavaDoc.java: | + | |
- | + | ||
- | at xjavadoc.XJavaDoc.getOuterSourceClasses(XJavaDoc.java: | + | |
- | + | ||
- | at xjavadoc.XJavaDoc.getSourceClasses(XJavaDoc.java: | + | |
- | + | ||
- | at xdoclet.tagshandler.AbstractProgramElementTagsHandler.getAllClasses(AbstractProgramElementTagsHandler.java: | + | |
- | + | ||
- | at xdoclet.tagshandler.ClassTagsHandler.forAllClasses(ClassTagsHandler.java: | + | |
- | + | ||
- | ... 51 more | + | |
- | + | ||
- | (XDocletMain.start | + | |
- | + | ||
- | (XDocletMain.start | + | |
- | + | ||
- | xdoclet.template.TemplateException: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.generate(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java: | + | |
- | + | ||
- | at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java: | + | |
- | + | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | + | |
- | + | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | + | |
- | + | ||
- | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | + | |
- | + | ||
- | at java.lang.reflect.Method.invoke(Method.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.generate(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.start(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.XmlSubTask.startProcess(XmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.XDocletMain.start(XDocletMain.java: | + | |
- | + | ||
- | at xdoclet.DocletTask.start(DocletTask.java: | + | |
- | + | ||
- | at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTarget(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: | + | |
- | + | ||
- | at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: | + | |
- | + | ||
- | D: | + | |
- | + | ||
- | at xdoclet.DocletTask.start(DocletTask.java: | + | |
- | + | ||
- | at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTarget(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: | + | |
- | + | ||
- | at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: | + | |
- | + | ||
- | Caused by: xdoclet.XDocletException: | + | |
- | + | ||
- | at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java: | + | |
- | + | ||
- | at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java: | + | |
- | + | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | + | |
- | + | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | + | |
- | + | ||
- | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | + | |
- | + | ||
- | at java.lang.reflect.Method.invoke(Method.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.generate(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.start(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.XmlSubTask.startProcess(XmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.XDocletMain.start(XDocletMain.java: | + | |
- | + | ||
- | at xdoclet.DocletTask.start(DocletTask.java: | + | |
- | + | ||
- | ... 21 more | + | |
- | + | ||
- | --- Nested Exception --- | + | |
- | + | ||
- | xdoclet.XDocletException: | + | |
- | + | ||
- | at xdoclet.XDocletTagSupport.generate(XDocletTagSupport.java: | + | |
- | + | ||
- | at xdoclet.tagshandler.ConfigTagsHandler.ifConfigParamGreaterOrEquals(ConfigTagsHandler.java: | + | |
- | + | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | + | |
- | + | ||
- | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | + | |
- | + | ||
- | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | + | |
- | + | ||
- | at java.lang.reflect.Method.invoke(Method.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.generate(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.template.TemplateEngine.start(TemplateEngine.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java: | + | |
- | + | ||
- | at xdoclet.XmlSubTask.startProcess(XmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.modules.web.WebXmlSubTask.execute(WebXmlSubTask.java: | + | |
- | + | ||
- | at xdoclet.XDocletMain.start(XDocletMain.java: | + | |
- | + | ||
- | at xdoclet.DocletTask.start(DocletTask.java: | + | |
- | + | ||
- | at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java: | + | |
- | + | ||
- | at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java: | + | |
- | + | ||
- | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Task.perform(Task.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.execute(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Target.performTasks(Target.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeSortedTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTarget(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: | + | |
- | + | ||
- | at org.apache.tools.ant.Project.executeTargets(Project.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java: | + | |
- | + | ||
- | at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java: | + | |
- | + | ||
- | at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java: | + | |
- | + | ||
- | </ | + |