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

Listing archived catalog resources fails randomly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • New Delhi Release
    • SDC
    • None

      When there are no properties in the vertex of catalog resource, the catalog request fails with 500 and following exception is thrown.

       

       

      "2024-04-11 05:17:39,575 [qtp1791045777-763] ERROR org.openecomp.sdc.be.servlets.exception.DefaultExceptionMapper - An unhandled error has occurred
      "java.lang.IllegalStateException: The property does not exist as it has no key, value, or associated element
              at org.apache.tinkerpop.gremlin.structure.Property$Exceptions.propertyDoesNotExist(Property.java:151)
              at org.apache.tinkerpop.gremlin.structure.util.empty.EmptyVertexProperty.value(EmptyVertexProperty.java:74)
              at org.openecomp.sdc.be.model.jsonjanusgraph.operations.ToscaElementOperation.handleCatalogComponent(ToscaElementOperation.java:1360)
              at org.openecomp.sdc.be.model.jsonjanusgraph.operations.ToscaElementOperation.getElementCatalogData(ToscaElementOperation.java:1350)
              at org.openecomp.sdc.be.model.jsonjanusgraph.operations.ToscaOperationFacade.getCatalogOrArchiveComponents(ToscaOperationFacade.java:930)
              at org.openecomp.sdc.be.components.impl.ArchiveBusinessLogic.getArchiveComponents(ArchiveBusinessLogic.java:140)
              at org.openecomp.sdc.be.servlets.ArchiveEndpoint.getArchivedComponents_aroundBody8(ArchiveEndpoint.java:147)
              at org.openecomp.sdc.be.servlets.ArchiveEndpoint$AjcClosure9.run(ArchiveEndpoint.java:1)
              at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:179)
              at com.jcabi.aspects.aj.MethodLogger.wrap(MethodLogger.java:207)
              at com.jcabi.aspects.aj.MethodLogger.ajc$inlineAccessMethod$com_jcabi_aspects_aj_MethodLogger$com_jcabi_aspects_aj_MethodLogger$wrap(MethodLogger.java:1)
              at com.jcabi.aspects.aj.MethodLogger.wrapClass(MethodLogger.java:136)
              at org.openecomp.sdc.be.servlets.ArchiveEndpoint.getArchivedComponents(ArchiveEndpoint.java:147)
              at jdk.internal.reflect.GeneratedMethodAccessor705.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.base/java.lang.reflect.Method.invoke(Unknown Source)
              at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
              at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
              at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167) 

            fostkamp Fiete Ostkamp
            fostkamp Fiete Ostkamp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: