Can someone help me with this error, this is my first implmentation, I looked at the source code and it fails for a null pointer, I am thinking I have something setup incorrectly.....
XDoclet line of code failing; String service_urn = getCurrentClass().getDoc().getTag("axis:service").getValue(); Xdoclet snipit; * @ejb.bean name="PCIFacade" type="Stateless" view-type="local" * local-jndi-name="com.fsb.module.loanservices.predatorylending.ejb.PCIFacadeHome" * @ejb.interface local-class="com.fsb.module.loanservices.predatorylending.ejb.PCIFacade" * @ejb.home local-class="com.fsb.module.loanservices.predatorylending.ejb.PCIFacadeHome" * @ejb.transaction type="Required" * @weblogic.enable-call-by-reference True * @axis.service name="PCIFacade" provider="java:EJB" scope="Application" Ant build script: <target name="gen.ejb" description="Generates source using XDoclet"> <taskdef name="ejbdoclet" classname= "xdoclet.modules.ejb.EjbDocletTask" classpathref="master-classpath" /> <taskdef name="AxisDeploy" classname= "xdoclet.modules.apache.axis.ejb.AxisDeploySubTask" classpathref= "master-classpath" /> <ejbdoclet destdir="${gen.dir}" force="true" verbose="1"> <fileset dir="${java.dir}"> <include name="**/ejb/PCIFacadeBean.java" /> </fileset> <deploymentdescriptor destdir="${etc.dir}/ejb" /> <weblogic version="8.1" destDir="${etc.dir}/ejb" createtables= "Disabled" /> <localhomeinterface /> <localinterface /> <session /> <AxisDeploy templateFile= "${etc.dir}/axis/axis-deploy_wsdd.xdt" destdir="${gen.dir}" destinationFile="web-services.xml" /> </ejbdoclet> </target> Error msg: gen.ejb: [ejbdoclet] Generating EJB deployment descriptor (ejb-jar.xml). [ejbdoclet] Generating weblogic-ejb-jar.xml. [ejbdoclet] Generating Local Home interface for 'com.fsb.module.loanservices.predatorylending.ejb.PCIFacadeBean'. [ejbdoclet] Generating Local interface for 'com.fsb.module.loanservices.predatorylending.ejb.PCIFacadeBean'. [ejbdoclet] Generating Session class for 'com.fsb.module.loanservices.predatorylending.ejb.PCIFacadeBean'. [ejbdoclet] java.lang.NullPointerException [ejbdoclet] at xdoclet.modules.apache.axis.ejb.AxisDeploySubTask.engineStarted(AxisDeploySubTask.java:103) [ejbdoclet] at xdoclet.TemplateSubTask.startEngine(TemplateSubTask.java:556) [ejbdoclet] at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:617) [ejbdoclet] at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:598) [ejbdoclet] at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:201) [ejbdoclet] at xdoclet.TemplateSubTask.execute(TemplateSubTask.java:487) [ejbdoclet] at xdoclet.XDocletMain.start(XDocletMain.java:48) [ejbdoclet] at xdoclet.DocletTask.start(DocletTask.java:468) [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105) [ejbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:364) [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:341) [ejbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369) [ejbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) [ejbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1062) [ejbdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:673) [ejbdoclet] at org.apache.tools.ant.Main.startAnt(Main.java:188) [ejbdoclet] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) [ejbdoclet] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) BUILD FAILED C:\eclipse\workspace\Mortrac\build.xml:184: Unexpected error Michael Medwith Flagstar Bank Mortrac 4 - Development Team 248.312.5959 This e-mail may contain data that is confidential, proprietary or "non-public personal information," as that term is defined in the Gramm-Leach-Bliley Act (collectively, "Confidential Information"). The Confidential Information is disclosed conditioned upon your agreement that you will treat it confidentially and in accordance with applicable law, ensure that such data isn't used or disclosed except for the limited purpose for which it's being provided and will notify and cooperate with us regarding any requested or unauthorized disclosure or use of any Confidential Information. By accepting and reviewing the Confidential Information you agree to indemnify us against any losses or expenses, including attorney's fees that we may incur as a result of any unauthorized use or disclosure of this data due to your acts or omissions. If a party other than the intended recipient receives this e-mail, you are requested to instantly notify us of the erroneous delivery and return to us all data so delivered.