1 Reply Latest reply on Mar 16, 2004 2:53 PM by Adrian Brock

    Abstract Method Error,  compile error

    dartanghan Newbie

      hi all again!

      I got AbstractMethodError (running and compiling) but i don't know the problem.
      My sdk looks fine,
      but when I start jboss a deployment error occurs at jboss-service.xml
      same error occur when I'm trying to compile the Jboss

      I'm going to compile here:
      jboss-source-folder/build/build.sh (am i right?)


      i hope u can help me
      (ps: sorry my bad english =])
      (ps2: it is a pretty large log)


      my system
      Linux Debian running under SPARC STATION 4 and SPARC STATION 5
      JSDK 1.3.1 blackdown
      JBOSS 3.0.8 Source



      ====================here is the logFile==================

      britten:/usr/local/jboss-3.0.8-src/build# ./build.sh
      Searching for build.xml ...
      Buildfile: /usr/local/jboss-3.0.8-src/build/build.xml
      Trying to override old definition of task property

      _buildmagic:init:

      _buildmagic:init:local-properties:
      [copy] Copying 1 file to /usr/local/jboss-3.0.8-src/build

      _buildmagic:init:buildlog:

      configure:
      [echo] groups: default
      [echo] modules: jmx,common,system,j2ee,naming,management,server,security,messaging,connector,cluster,jetty,varia,jboss.net,iiop,tomcat41

      init:

      _buildmagic:modules:most:
      [execmodules]
      [execmodules] ======================================================================
      [execmodules] == Executing 'most' in module 'jmx'...
      [execmodules] ==

      _buildmagic:init:

      configure:

      init:

      compile-mbean-sources:
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/jmx/output/gen-src

      compile-classes:
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/jmx/output/classes
      [javac] Compiling 455 source files to /usr/local/jboss-3.0.8-src/jmx/output/classes
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:58: warning: getPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return category.getPriority().toInt();
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:64: warning: setPriority(org.apache.log4j.Priority) in org.apache.log4j.Category has been deprecated
      [execmodules] category.setPriority(Priority.toPriority(level));
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:82: warning: getChainedPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return p.isGreaterOrEqual(category.getChainedPriority());
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:100: warning: getChainedPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return p.isGreaterOrEqual(category.getChainedPriority());
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:118: warning: getChainedPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return p.isGreaterOrEqual(category.getChainedPriority());
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:136: warning: getChainedPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return p.isGreaterOrEqual(category.getChainedPriority());
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:154: warning: getChainedPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return p.isGreaterOrEqual(category.getChainedPriority());
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:172: warning: getChainedPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return p.isGreaterOrEqual(category.getChainedPriority());
      [execmodules] ^
      [execmodules] /usr/local/jboss-3.0.8-src/jmx/src/main/org/jboss/mx/logging/log4j/Log4jAdapter.java:190: warning: getChainedPriority() in org.apache.log4j.Category has been deprecated
      [execmodules] return p.isGreaterOrEqual(category.getChainedPriority());
      [execmodules] ^
      [execmodules] 9 warnings

      compile:

      jars:
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/jmx/output/lib
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/lib/jboss-jmx.jar
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/lib/jboss-jmx-core.jar
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/lib/jboss-jmx-services.jar
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/lib/jboss-jmx-testsuite.jar
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/jmx/output/etc/test/compliance/loading
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/jmx/output/etc/test/compliance/server
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/etc/test/compliance/loading/MyMBeans.jar
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/etc/test/compliance/loading/MoreMBeans.jar
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/etc/test/compliance/server/Test.jar
      [copy] Copying 9 files to /usr/local/jboss-3.0.8-src/jmx/output/etc
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/etc/test/implementation/loading/Start.jar
      [jar] Building jar: /usr/local/jboss-3.0.8-src/jmx/output/etc/test/implementation/loading/Target.jar

      most:
      [execmodules]
      [execmodules] ==
      [execmodules] == Finished with 'most' in module 'jmx'.
      [execmodules] ======================================================================
      [execmodules]

      _module-jmx-most:
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/build/output/jboss-3.0.8/lib
      [copy] Copying 1 file to /usr/local/jboss-3.0.8-src/build/output/jboss-3.0.8/lib
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/build/output/jboss-3.0.8/docs/dtd
      [copy] Copying 1 file to /usr/local/jboss-3.0.8-src/build/output/jboss-3.0.8/docs/dtd
      [execmodules]
      [execmodules] ======================================================================
      [execmodules] == Executing 'most' in module 'common'...
      [execmodules] ==

      _buildmagic:init:

      configure:

      init:

      compile-mbean-sources:
      [mkdir] Created dir: /usr/local/jboss-3.0.8-src/common/output/gen-src
      8 [main] INFO XDocletMain.start - Running
      73494 [main] INFO TemplateSubTask.engineStarted - Generating output for 'org.jboss.util.property.jmx.SystemPropertyClassValue' using template file 'jar:file:/usr/local/jboss-3.0.8-src/thirdparty/xdoclet/xdoclet/lib/xdoclet-jmx-module-jb3.jar!/xdoclet/modules/jmx/resources/mbean.xdt'.
      75308 [main] ERROR TemplateEngine.invokeMethod - Invoking method failed: xdoclet.tagshandler.ClassTagsHandler.ifHasClassTag, line=9 of template file: jar:file:/usr/local/jboss-3.0.8-src/thirdparty/xdoclet/xdoclet/lib/xdoclet-jmx-module-jb3.jar!/xdoclet/modules/jmx/resources/mbean.xdt
      java.lang.AbstractMethodError: xjavadoc/AbstractProgramElement.getName
      at xjavadoc.XDoc.getSuperDoc(XDoc.java, Compiled Code)
      at xjavadoc.XDoc.getTags(XDoc.java, Compiled Code)
      at xjavadoc.XDoc.getTag(XDoc.java, Compiled Code)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java, Compiled Code)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java, Compiled Code)
      at xdoclet.XDocletTagSupport.getTagValue(XDocletTagSupport.java, Compiled Code)
      at xdoclet.XDocletTagSupport.hasTag(XDocletTagSupport.java, Compiled Code)
      at xdoclet.tagshandler.ClassTagsHandler.ifHasClassTag(ClassTagsHandler.java, Compiled Code)
      at java.lang.reflect.Method.invoke(Native Method)
      at xdoclet.template.TemplateEngine.invoke(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.generate(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.start(TemplateEngine.java, Compiled Code)
      at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.execute(TemplateSubTask.java, Compiled Code)
      at xdoclet.XDocletMain.start(XDocletMain.java, Compiled Code)
      at xdoclet.DocletTask.start(DocletTask.java, Compiled Code)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java, Compiled Code)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code)
      at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.main(Main.java, Compiled Code)
      77085 [main] ERROR XDocletMain.start - Running XDoclet failed.
      77100 [main] ERROR XDocletMain.start - <<Running XDoclet failed.>>
      xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.ClassTagsHandler failed: ifHasClassTag, line=9 of template file: jar:file:/usr/local/jboss-3.0.8-src/thirdparty/xdoclet/xdoclet/lib/xdoclet-jmx-module-jb3.jar!/xdoclet/modules/jmx/resources/mbean.xdt, exception: null
      at xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.invokeBlockMethod(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.handleBlockTag(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.handleTag(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.generate(TemplateEngine.java, Compiled Code)
      at xdoclet.template.TemplateEngine.start(TemplateEngine.java, Compiled Code)
      at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.execute(TemplateSubTask.java, Compiled Code)
      at xdoclet.XDocletMain.start(XDocletMain.java, Compiled Code)
      at xdoclet.DocletTask.start(DocletTask.java, Compiled Code)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java, Compiled Code)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code)
      at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.main(Main.java, Compiled Code)
      file:/usr/local/jboss-3.0.8-src/common/build.xml:240: XDoclet failed.
      at xdoclet.DocletTask.start(DocletTask.java, Compiled Code)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java, Compiled Code)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code)
      at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.main(Main.java, Compiled Code)
      --- Nested Exception ---
      xdoclet.XDocletException: Running XDoclet failed.
      at xdoclet.TemplateSubTask.generateForClass(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.startProcessPerClass(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java, Compiled Code)
      at xdoclet.TemplateSubTask.execute(TemplateSubTask.java, Compiled Code)
      at xdoclet.XDocletMain.start(XDocletMain.java, Compiled Code)
      at xdoclet.DocletTask.start(DocletTask.java, Compiled Code)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java, Compiled Code)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java, Compiled Code)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java, Compiled Code)
      at org.apache.tools.ant.Task.perform(Task.java, Compiled Code)
      at org.apache.tools.ant.Target.execute(Target.java, Compiled Code)
      at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Code)
      at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Code)
      at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.start(Main.java, Compiled Code)
      at org.apache.tools.ant.Main.main(Main.java, Compiled Code)
      INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
      (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
      The referring classes do not import any fully qualified classes matching these classes.
      However, since no packages are imported, xjavadoc has assumed that the referred classes
      belong to the same package as the referring class. The classes are:
      /usr/local/jboss-3.0.8-src/common/src/main/org/jboss/util/property/jmx/SystemPropertyClassValue.java --> SystemPropertyClassValueMBean qualified to org.jboss.util.property.jmx.SystemPropertyClassValueMBean

      BUILD FAILED
      file:/usr/local/jboss-3.0.8-src/common/build.xml:240: Unexpected error