Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-1916

CIM Harvest is throwing a NPE harvesting responsible party.

XMLWordPrintable

      Gerry Devine has provided new XML documents in the atom feed (http://q.cmip5.ceda.ac.uk/feeds/cmip5/test/) and 2 of these are failing.
      component_7df1019e-ecd5-11df-a388-001de019e26d_v2.xml
      Caused by: java.lang.NullPointerException
      at sgf.gateway.metafor.CimHarvest.dealWithComponent(CimHarvest.java:346)
      at sgf.gateway.metafor.CimHarvest.dealWithModelComponentTree(CimHarvest.java:177)
      at sgf.gateway.metafor.CimHarvest.findTopLevelModelComponents(CimHarvest.java:122)
      at sgf.gateway.metafor.CimHarvest.harvest(CimHarvest.java:105)
      at sgf.gateway.cim.harvest.service.impl.CIMHarvestServiceImpl.harvest(CIMHarvestServiceImpl.java:32)
      at sgf.gateway.cim.harvest.HarvestNewCIMDocumentEventHandler.onApplicationEvent(HarvestNewCIMDocumentEventHandler.java:28)
      at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
      at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
      at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
      at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
      at sgf.gateway.cim.harvest.feed.impl.FeedEntryHandlerImpl.processDocument(FeedEntryHandlerImpl.java:51)
      at sgf.gateway.cim.harvest.feed.impl.FeedEntryHandlerImpl.handleDocumentEntry(FeedEntryHandlerImpl.java:36)
      at sgf.gateway.cim.harvest.feed.impl.FeedReaderImpl.handleFeedEntries(FeedReaderImpl.java:86)
      at sgf.gateway.cim.harvest.feed.impl.FeedReaderImpl.process(FeedReaderImpl.java:48)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
      at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
      ... 3 more


      simulation_819801cf-ed9f-11df-8590-001de019e26d_v1.xml
      Caused by: java.lang.NullPointerException
      at sgf.gateway.metafor.CimHarvest.dealWithComponent(CimHarvest.java:346)
      at sgf.gateway.metafor.CimHarvest.dealWithModelComponentTree(CimHarvest.java:177)
      at sgf.gateway.metafor.CimHarvest.findTopLevelModelComponents(CimHarvest.java:122)
      at sgf.gateway.metafor.CimHarvest.findTopLevelModelComponents(CimHarvest.java:124)
      at sgf.gateway.metafor.CimHarvest.findTopLevelModelComponents(CimHarvest.java:124)
      at sgf.gateway.metafor.CimHarvest.harvest(CimHarvest.java:105)
      at sgf.gateway.metafor.CimHarvestDriver.harvest(CimHarvestDriver.java:51)
      at sgf.gateway.trackback.JunkController.handler(JunkController.java:48)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421)
      at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136)
      at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:326)
      at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:313)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      ... 81 more

              hannah Hannah Wilcox (Inactive)
              hannah Hannah Wilcox (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: