Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1149

Use of artifact:nuxeo-expand includeSystemScope="false" raises an NPE

    XMLWordPrintable

    Details

      Description

      Reported by Stéphane Lacoin in NXP-19894: nuxeo-expand in the assembly shoudn'nt include the system scope, but when I've tried to define it in the nuxeo-distribution-tomcat's assembly, the ant tools is throwing an NPE.

      nuxeo/nuxeo-distribution/nuxeo-distribution-tomcat/src/main/assemble/assembly.xml:16: The following error occurred while executing this line:
      nuxeo/nuxeo-distribution/nuxeo-distribution-tomcat/src/main/assemble/assembly.xml:22: java.lang.NullPointerException
              at org.nuxeo.build.maven.graph.FlatPrinterDependencyVisitor.toString(FlatPrinterDependencyVisitor.java:116)
              at org.nuxeo.build.maven.graph.FlatPrinterDependencyVisitor.print(FlatPrinterDependencyVisitor.java:93)
              at org.nuxeo.build.maven.graph.FlatPrinterDependencyVisitor.doVisit(FlatPrinterDependencyVisitor.java:65)
              at org.nuxeo.build.maven.graph.AbstractDependencyVisitor.visitEnter(AbstractDependencyVisitor.java:125)
              at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDependencyNode.java:334)
              at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDependencyNode.java:338)
              at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDependencyNode.java:338)
              at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDependencyNode.java:338)
              at org.eclipse.aether.graph.DefaultDependencyNode.accept(DefaultDependencyNode.java:338)
              at org.nuxeo.build.maven.graph.Node.accept(Node.java:266)
              at org.nuxeo.build.maven.graph.Node.accept(Node.java:266)
              at org.nuxeo.build.ant.artifact.PrintGraphTask.execute(PrintGraphTask.java:137)
              at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jcarsique Julien Carsique
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: