Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-755

NPE when searching for pom.xml

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.0
    • 6.0.0
    • BRE
    • None
    • BPMS 6.0.0.ER5

      Description of problem:

      I have an own spring application war and during deployment the kie search for a pom.properties. Though the pom.properties is there, it cannot find it (I'll file another BZ for that), so it tries to generate one from pom.xml but it will never happen due to a NPE.

      I get NPE on the line https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/ClasspathKieProject.java#L228

      it's the line (for ( File folder = new File( rootPath ); folder != null; folder = new File( folder.getParent() ) ) {)

      How reproducible:

      Steps to Reproduce:
      1. Unzip the attached springframework.zip into bpms6er5/modules/system/layers/base/org
      2. Deploy the attached springapp.war
      3. See NPE during the deployment

        1. server log.log
          9 kB
          Ivo Bek
        2. springapp.war.war
          4.53 MB
          Ivo Bek

            mfusco@redhat.com Mario Fusco
            ibek1@redhat.com Ivo Bek
            Archiver:
            rhn-support-ceverson Clark Everson
            Radovan Synek Radovan Synek
            Radovan Synek Radovan Synek
            etirelli, Ivo Bek, Pedro Zapata Fernandez

              Created:
              Updated:
              Resolved:
              Archived: