Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-21636

NPE during migration of artifacts with no extension

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.4.0
    • Component/s: None
    • Labels:
      None

      Description

      2020-03-26T02:40:23.448Z [jfrt ] [ERROR] [42f088ef414c1149] [.w.EventOperatorDispatcher:272] [n-event-dispatcher-0] - Caught exception while creating the prioritized event list.
      java.lang.NullPointerException: null
      at java.base/java.util.ImmutableCollections$Set12.contains(ImmutableCollections.java:515)
      at org.artifactory.metadata.service.provider.AbstractMetadataProvider.isLeadArtifact(AbstractMetadataProvider.java:84)
      at org.artifactory.metadata.service.MetadataEntityFacade.lambda$isLeadArtifact$5(MetadataEntityFacade.java:104)
      at java.base/java.util.Optional.map(Optional.java:265)
      at org.artifactory.metadata.service.MetadataEntityFacade.isLeadArtifact(MetadataEntityFacade.java:104)
      at org.artifactory.metadata.service.MetadataEventServiceImpl.meetsExecutionCriteria(MetadataEventServiceImpl.java:229)
      at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:176)
      at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
      at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
      at org.artifactory.event.priority.service.strategy.ExecutionPredicatePriorityChartStrategy.apply(ExecutionPredicatePriorityChartStrategy.java:27)
      at org.artifactory.event.priority.service.NodeEventPriorityServiceImpl.applyPriorityStrategies(NodeEventPriorityServiceImpl.java:95)
      at org.artifactory.event.priority.service.NodeEventPriorityServiceImpl.createAndSaveEventPrioritiesIfNeeded(NodeEventPriorityServiceImpl.java:53)
      at org.artifactory.event.work.EventOperatorDispatcher.doCreatePriorities(EventOperatorDispatcher.java:279)
      at org.artifactory.event.work.EventOperatorDispatcher.lambda$createPrioritiesIfNeeded$0(EventOperatorDispatcher.java:269)
      at org.artifactory.event.work.EventOperatorDispatcher.runExclusive(EventOperatorDispatcher.java:109)
      at org.artifactory.event.work.EventOperatorDispatcher.createPrioritiesIfNeeded(EventOperatorDispatcher.java:268)
      at org.artifactory.event.work.EventOperatorDispatcher.work(EventOperatorDispatcher.java:185)
      at org.artifactory.event.work.EventOperatorDispatcher.dispatchLoop(EventOperatorDispatcher.java:166)
      at org.artifactory.event.work.EventOperatorDispatcher.run(EventOperatorDispatcher.java:82)
      at org.artifactory.opentracing.TraceableRunnableDecorator.run(TraceableRunnableDecorator.java:30)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:834)

        Attachments

          Activity

              People

              Assignee:
              uriahl Uriah Levy [X] (Inactive)
              Reporter:
              uriahl Uriah Levy [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: