Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-1861

Could not restart TEST6 with fake data

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • I47
    • None
    • Test
    • None

    Description

      When restarting TEST6 at step 10, the following errors are generated:
      Could not start class dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer

      java.lang.reflect.InvocationTargetException
      	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 dk.netarkivet.common.utils.ApplicationUtils.startApp(ApplicationUtils.java:170)
      	at dk.netarkivet.harvester.harvesting.HarvestControllerApplication.main(HarvestControllerApplication.java:43)
      Caused by: dk.netarkivet.common.exceptions.IOFailure: Invalid data found in harvestInfoFile '/home/netarkiv/TESTCSR/harvester_high/23-fakejobdir/harvestInfo.xml': <?xml version="1.0" encoding="UTF-8"?>
      
      <harvestInfo>
        <maxObjectsPerDomain>-1</maxObjectsPerDomain>
        <harvestNum>0</harvestNum>
        <orderXMLName>default_orderxml</orderXMLName>
        <maxBytesPerDomain>500000000</maxBytesPerDomain>
        <version>0.2</version>
        <jobId>23</jobId>
        <origHarvestDefinitionID>1</origHarvestDefinitionID>
        <priority>HIGHPRIORITY</priority>
      </harvestInfo>
      
      	at dk.netarkivet.harvester.harvesting.distribute.PersistentJobData.read(PersistentJobData.java:219)
      	at dk.netarkivet.harvester.harvesting.distribute.PersistentJobData.getJobID(PersistentJobData.java:386)
      	at dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer.processHarvestInfoFile(HarvestControllerServer.java:621)
      	at dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer.processOldJobs(HarvestControllerServer.java:352)
      	at dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer.<init>(HarvestControllerServer.java:264)
      	at dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer.getInstance(HarvestControllerServer.java:290)
      	... 6 more
      Apr 28, 2011 1:52:52 PM dk.netarkivet.common.utils.ApplicationUtils logExceptionAndPrint
      SEVERE: Could not start class dk.netarkivet.harvester.harvesting.distribute.HarvestControllerServer
      java.lang.reflect.InvocationTargetException
      	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 dk.netarkivet.common.utils.ApplicationUtils.startApp(ApplicationUtils.java:170)
      	at dk.netarkivet.harvester.harvesting.HarvestControllerApplication.main(HarvestControllerApplication.java:43)
      Caused by: dk.netarkivet.common.exceptions.IOFailure: Invalid data found in harvestInfoFile '/home/netarkiv/TESTCSR/harvester_high/23-fakejobdir/harvestInfo.xml': <?xml version="1.0" encoding="UTF-8"?>
      
      <harvestInfo>
        <maxObjectsPerDomain>-1</maxObjectsPerDomain>
        <harvestNum>0</harvestNum>
        <orderXMLName>default_orderxml</orderXMLName>
        <maxBytesPerDomain>500000000</maxBytesPerDomain>
        <version>0.2</version>
        <jobId>23</jobId>
        <origHarvestDefinitionID>1</origHarvestDefinitionID>
        <priority>HIGHPRIORITY</priority>
      </harvestInfo>
      
      

      Attachments

        Activity

          People

            csr Colin Rosenthal
            csr Colin Rosenthal
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified