Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-940

NPE during submit of VSP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Amsterdam Release
    • None
    • None

      After importing the attached package, I click 'checkin' and then 'submit'.

      The 'submit' operation fails and the following is found in the log:

       

      2018-01-17T10:22:38.986Z        [qtp2106620844-345222]  ERROR   o.o.s.errors.DefaultExceptionMapper     InstanceUUID=N/A        Re

      moteHost=10.244.3.3   RequestId=e434fdcb-a1b3-4d7e-ae5e-d9f416275130  ServiceInstanceId=N/A   ServiceName=Submit VSP  ServerIPAddr

      ess=10.244.1.3      PartnerName=cs0008      ServerFQDN=sdc-be-193689956-zgqc4       An error has occurred: null

      java.lang.NullPointerException: null

              at java.util.HashMap.merge(HashMap.java:1224) ~[na:1.8.0_141]

              at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320) ~[na:1.8.0_141]

              at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169) ~[na:1.8.0_141]

              at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[na:1.8.0_141]

              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_141]

              at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[na:1.8.0_141]

              at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[na:1.8.0_141]

              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_141]

              at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[na:1.8.0_141]

              at org.openecomp.sdc.model.impl.zusammen.ServiceModelDaoZusammenImpl.getTemplates(ServiceModelDaoZusammenImpl.java:92) ~[o

      penecomp-sdc-model-impl-1.1.0-SNAPSHOT.jar:na]

              at org.openecomp.sdc.model.impl.zusammen.ServiceModelDaoZusammenImpl.getServiceModel(ServiceModelDaoZusammenImpl.java:66)

      ~[openecomp-sdc-model-impl-1.1.0-SNAPSHOT.jar:na]

              at org.openecomp.sdc.model.impl.zusammen.ServiceModelDaoZusammenImpl.getServiceModel(ServiceModelDaoZusammenImpl.java:34)

      ~[openecomp-sdc-model-impl-1.1.0-SNAPSHOT.jar:na]

              at org.openecomp.sdc.vendorsoftwareproduct.impl.VendorSoftwareProductManagerImpl.submit(VendorSoftwareProductManagerImpl.j

      ava:305) ~[openecomp-sdc-vendor-software-product-manager-1.1.0-SNAPSHOT.jar:na]

              at org.openecomp.sdcrests.vsp.rest.services.VendorSoftwareProductsImpl.actOnVendorSoftwareProduct(VendorSoftwareProductsIm

      pl.java:227) ~[vendor-software-products-rest-services-1.1.0-SNAPSHOT.jar:na]

              at sun.reflect.GeneratedMethodAccessor672.invoke(Unknown Source) ~[na:na]

            ml636r ml636r
            moshe_hoadley moshe_hoadley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: