0 Replies Latest reply on Jun 13, 2007 7:42 AM by padmanabh

    XDoclet error (NullPointerException)

    padmanabh

      I was trying to build a sample application using JBoss Eclipse IDE. I followed the steps mentioned in the IDE tutorial to configure XDoclet. But I can't seem to get it to generate the EJB descriptors and interfaces correctly.

      I Keep getting this error on the console:

      Buildfile: D:\Eclipse_Workspace1\HelloWorld\xdoclet-build.xml
      N65540:
      [ejbdoclet] (XDocletMain.start 47 ) Running <deploymentdescriptor/>
      [ejbdoclet] java.lang.NullPointerException
      [ejbdoclet] at java.util.StringTokenizer.<init>(Unknown Source)
      [ejbdoclet] at xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:69)
      [ejbdoclet] at xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:37)
      [ejbdoclet] at xdoclet.tagshandler.PackageTagsHandler.packageNameAsPathFor(PackageTagsHandler.java:134)
      [ejbdoclet] at xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:345)
      


      Can anyone tell me what am i missing in the XDoclet config file? I followed the steps in the tutorial exactly...:(