Uploaded image for project: 'ONE'
  1. ONE
  2. ONE-11865

Error while importing data from file

    XMLWordPrintable

    Details

    • Team:
      Agile
    • Product:
      BigPicture
    • External platform:
      JIRA server
    • SoftwarePlant People involved:
      jacek.ejsmont Jacek Ejsmont , michal.niwinski Michal Niwinski , mateusz.kielbowicz Mateusz Kielbowicz , kamil.wasikowski Kamil Wasikowski , system.gerrit Gerrit , marcin.hareza Marcin Hareza , tom.kucharski Tom Kucharski , dastin.kuwalek Dastin Kuwalek
    • Customer Rank:
      5

      Description

      .asOn Jira Data Center 8.0.2 hosted on MySQL with 2 nodes and BigPicture 7.1.13-jira7 While importing a file with 1000 rows, during the import the process fails and results in error visible in Jira logs

       

      2019-05-13 15:15:32,256 SP-bigpicture-LegacyBoardStructureTaskChangedObserverJobExecutor ERROR user 883x34654x1 1c4pic0 10.186.116.73:38213,10.196.198.232 /rest/softwareplant-bigpicture/1.0/ppm/program/creation/import/ [c.a.j.c.distribution.localq.LocalQCacheManager] Critical state of local cache replication queue - cannot add: LocalQCacheOp{cacheName='1c78c8a7.0000000.bigpicture.RoadmapEventQueueCache', action=PUT, key=110, value=[B@5c5b2c80, creationTimeInMillis=1557760532248} to queue: [queueId=queue_node1_8_164546f60261c7e4be0c5f5f9aaeec86, queuePath=/data/app/application-data/jira/localq/queue_node1_8_164546f60261c7e4be0c5f5f9aaeec86], error: Failed to add entry.com.squareup.tape.FileException: Failed to add entry. at com.squareup.tape.FileObjectQueue.add(FileObjectQueue.java:49) at com.atlassian.jira.cluster.distribution.localq.tape.TapeLocalQCacheOpQueue.add(TapeLocalQCacheOpQueue.java:151) at com.atlassian.jira.cluster.distribution.localq.LocalQCacheOpQueueWithStats.add(LocalQCacheOpQueueWithStats.java:115) at com.atlassian.jira.cluster.distribution.localq.LocalQCacheManager.addToQueue(LocalQCacheManager.java:372) at com.atlassian.jira.cluster.distribution.localq.LocalQCacheManager.addToAllQueues(LocalQCacheManager.java:356) at com.atlassian.jira.cluster.distribution.localq.LocalQCacheReplicator.replicateToQueue(LocalQCacheReplicator.java:85) at com.atlassian.jira.cluster.distribution.localq.LocalQCacheReplicator.replicatePutNotification(LocalQCacheReplicator.java:65) at com.atlassian.jira.cluster.cache.ehcache.AbstractJiraCacheReplicator.notifyElementUpdated(AbstractJiraCacheReplicator.java:123) at net.sf.ehcache.event.RegisteredEventListeners.internalNotifyElementUpdated(RegisteredEventListeners.java:228) at net.sf.ehcache.event.RegisteredEventListeners.notifyElementUpdated(RegisteredEventListeners.java:206) at net.sf.ehcache.Cache.notifyPutInternalListeners(Cache.java:1646) at net.sf.ehcache.Cache.putInternal(Cache.java:1618) at net.sf.ehcache.Cache.put(Cache.java:1543) at net.sf.ehcache.Cache.put(Cache.java:1508) at com.atlassian.cache.ehcache.DelegatingCache.put(DelegatingCache.java:93) at com.atlassian.jira.cache.DeferredReplicationCache.lambda$put$0(DeferredReplicationCache.java:60) at com.atlassian.jira.cluster.cache.ehcache.BlockingParallelCacheReplicator.runDeferred(BlockingParallelCacheReplicator.java:172) at com.atlassian.jira.cache.DeferredReplicationCache.put(DeferredReplicationCache.java:59) at com.softwareplant.util.cacheint.provider.jiraserver.JiraCache.put(JiraCache.java:72) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.softwareplant.util.monitoring.MonitoringImpl.lambda$null$1(MonitoringImpl.java:39) at com.codahale.metrics.Timer.time(Timer.java:104) at com.softwareplant.util.monitoring.DropwizardMetrics.measureCheckedException(DropwizardMetrics.java:43) at com.softwareplant.util.monitoring.DropwizardMetrics.measure(DropwizardMetrics.java:32) at com.softwareplant.util.monitoring.MonitoringImpl.lambda$monitoringInvocationHandler$2(MonitoringImpl.java:39) at com.sun.proxy.$Proxy4034.put(Unknown Source) at com.softwareplant.util.cacheext.serialized.SerializedCache.put(SerializedCache.java:27) at com.softwareplant.util.cacheext.near.NearCache.put(NearCache.java:60) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.softwareplant.util.monitoring.MonitoringImpl.lambda$null$1(MonitoringImpl.java:39) at com.codahale.metrics.Timer.time(Timer.java:104) at com.softwareplant.util.monitoring.DropwizardMetrics.measureCheckedException(DropwizardMetrics.java:43) at com.softwareplant.util.monitoring.DropwizardMetrics.measure(DropwizardMetrics.java:32) at com.softwareplant.util.monitoring.MonitoringImpl.lambda$monitoringInvocationHandler$2(MonitoringImpl.java:39) at com.sun.proxy.$Proxy4034.put(Unknown Source) at com.softwareplant.util.cacheext.CacheDelegate.put(CacheDelegate.java:72) at com.softwareplant.util.cacheext.ContextualCache.put(ContextualCache.java:7) at com.softwareplant.roadmap.domain.livesync.RoadmapEventQueue.lambda$postEvent$7(RoadmapEventQueue.java:47) at com.softwareplant.util.concurrent.lock.MonitoredLock.lambda$executeWithin$9(MonitoredLock.java:38) at com.softwareplant.util.concurrent.lock.MonitoredLock.lambda$executeWithin$10(MonitoredLock.java:49) at com.codahale.metrics.Timer.time(Timer.java:104) at com.softwareplant.util.monitoring.DropwizardMetrics.measureCheckedException(DropwizardMetrics.java:43) at com.softwareplant.util.monitoring.MonitoringImpl.monitore(MonitoringImpl.java:32) at com.softwareplant.util.concurrent.lock.MonitoredLock.executeWithin(MonitoredLock.java:47) at com.softwareplant.util.concurrent.lock.MonitoredLock.executeWithin(MonitoredLock.java:37) at com.softwareplant.roadmap.domain.livesync.RoadmapEventQueue.postEvent(RoadmapEventQueue.java:44) at com.softwareplant.roadmap.domain.livesync.RoadmapEventQueue.onTaskAddedToBacklogEvent(RoadmapEventQueue.java:116) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.softwareplant.util.lang.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:24) at com.softwareplant.util.lang.eventbus.EventBus.post(EventBus.java:24) at com.softwareplant.roadmap.domain.Roadmap.taskChanged(Roadmap.java:138) at com.softwareplant.roadmap.infrastructure.task.RoadmapStructureTaskChangedObserver$UpdatingTaskInRoadmapJob.call(RoadmapStructureTaskChangedObserver.java:145) at com.softwareplant.roadmap.infrastructure.task.RoadmapStructureTaskChangedObserver$UpdatingTaskInRoadmapJob.call(RoadmapStructureTaskChangedObserver.java:125) at com.softwareplant.system.core.concurrent.job.UserAwareSystemEndPointJobContext$1.call(UserAwareSystemEndPointJobContext.java:31) at com.softwareplant.util.concurrent.job.JobContextImpl.call(JobContextImpl.java:8) at com.softwareplant.system.core.concurrent.job.SystemEndPointJobContext.jobContextCall(SystemEndPointJobContext.java:56) at com.softwareplant.system.core.concurrent.job.UserAwareSystemEndPointJobContext.jobContextCall(UserAwareSystemEndPointJobContext.java:20) at com.softwareplant.system.core.concurrent.job.SystemEndPointJobContext$1.invoke(SystemEndPointJobContext.java:42) at com.softwareplant.system.core.endpoint.SystemEndPointChain.processRequest(SystemEndPointChain.java:15) at com.softwareplant.system.core.transaction.TransactionManager.invoke(TransactionManager.java:23) at com.softwareplant.system.core.endpoint.SystemEndPointChain.processRequest(SystemEndPointChain.java:19) at com.softwareplant.system.core.endpoint.interceptors.SessionContextSystemEndPointInterceptor.invoke(SessionContextSystemEndPointInterceptor.java:25) at com.softwareplant.system.core.endpoint.SystemEndPointChain.processRequest(SystemEndPointChain.java:19) at com.softwareplant.system.core.cache.TenantCacheSystemEndPointInterceptor.invoke(TenantCacheSystemEndPointInterceptor.java:31) at com.softwareplant.system.core.endpoint.SystemEndPointChain.processRequest(SystemEndPointChain.java:19) at com.softwareplant.system.core.endpoint.interceptors.MonitoringSystemEndPointInterceptor.lambda$invoke$4(MonitoringSystemEndPointInterceptor.java:40) at com.codahale.metrics.Timer.time(Timer.java:104) at com.softwareplant.util.monitoring.DropwizardMetrics.measureCheckedException(DropwizardMetrics.java:43) at com.softwareplant.util.monitoring.MonitoringImpl.monitore(MonitoringImpl.java:32) at com.softwareplant.system.core.endpoint.interceptors.MonitoringSystemEndPointInterceptor.invoke(MonitoringSystemEndPointInterceptor.java:40) at com.softwareplant.system.core.endpoint.SystemEndPointChain.processRequest(SystemEndPointChain.java:19) at com.softwareplant.system.core.endpoint.SystemEndPointInterceptors.run(SystemEndPointInterceptors.java:24) at com.softwareplant.system.core.SimpleSystem.invoke(SimpleSystem.java:96) at com.softwareplant.system.core.concurrent.job.SystemEndPointJobContext.call(SystemEndPointJobContext.java:33) at com.softwareplant.system.manager.jiraserver.environment.JiraJobContextProxyFactory.lambda$createProxy$fe459f1a$1(JiraJobContextProxyFactory.java:30) at com.softwareplant.util.concurrent.job.SingleJobExecutorImpl.lambda$execute$5(SingleJobExecutorImpl.java:26) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:652) at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:649) at java.security.AccessController.doPrivileged(Native Method) at java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:649) at java.lang.Thread.run(Thread.java:748)Caused by: java.io.IOException: Invalid argument at java.io.RandomAccessFile.setLength(Native Method) at com.squareup.tape.QueueFile.setLength(QueueFile.java:406) at com.squareup.tape.QueueFile.expandIfNecessary(QueueFile.java:375) at com.squareup.tape.QueueFile.add(QueueFile.java:305) at com.squareup.tape.FileObjectQueue.add(FileObjectQueue.java:46)

        Attachments

          Activity

              People

              Assignee:
              marcin.hareza Marcin Hareza
              Reporter:
              dastin.kuwalek Dastin Kuwalek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: