Uploaded image for project: 'SMB - Optus'
  1. SMB - Optus
  2. OPTUS-83

OPTUS_CallDataFeed: Throwing Null pointer exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not a Bug
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: Other / Misc.
    • Labels:
      None
    • Environment:

      QA Environment

      tsa-build-bidmgr-2012-10-31-p695-r476603ab1c627403dd8e2f377bd13e81b78cc750

      Description

      Throwing Null pointer exception while executing the calldata srcipt.

      Steps to reproduce:

      1.Run the calldata script.

      [tsaapp@optus-qa-agency1 bidmgr]$ ./calldata.sh /var/local/tsa/config/com.thesearchagency.datafeeds.calldata.properties
      2012-11-03 00:33:31.991 (3) [main]: Debug Level set to 3
      2012-11-03 00:33:32.002 (3) [main]: Configuration file: /var/local/tsa/config/com.thesearchagency.datafeeds.calldata.properties
      2012-11-03 00:33:32.002 (3) [main]: Observing directory: /var/local/tsa/calldata/
      2012-11-03 00:33:32.012 (3) [main]: Using filter: AndFileFilter(FileFileFilter,SuffixFileFilter(.csv),PrefixFileFilter(ODA_))

      2.Place the csv calldatafeed to ' /var/local/tsa/calldata'

      2012-11-03 00:33:59.133 (3) [Thread-1]: Processing [/var/local/tsa/calldata/ODA_20120224_1323433665.csv]
      2012-11-03 00:33:59.135 (3) [pool-1-thread-1]: Waiting for done file [/var/local/tsa/calldata/ODA_20120224_1323433665.csv.done]

      3.Update the file "ODA_20120224_1323433665.csv" with extension 'done'

      [tsaapp@optus-qa-agency1 done]$ touch /var/local/tsa/calldata/ODA_20120224_1323433665.csv.done

      2012-11-03 00:34:09.156 (3) [pool-1-thread-1]: ======== Starting Call Data Load ========
      2012-11-03 00:34:09.156 (3) [pool-1-thread-1]: Loading filename: /var/local/tsa/calldata/ODA_20120224_1323433665.csv
      2012-11-03 00:34:09.170 (3) [pool-1-thread-1]: DatabasePool with a limit of 80 created
      2012-11-03 00:34:09.416 (1) [pool-1-thread-1]: Exception [exception in DataLoader]:java.lang.NullPointerException
      at com.thesearchagency.datafeeds.calldata.DataLoader.parseFile(DataLoader.java:172)
      at com.thesearchagency.datafeeds.calldata.DataLoader.run(DataLoader.java:88)
      at com.thesearchagency.datafeeds.calldata.FileMonitor$DataFeedWorker.run(FileMonitor.java:207)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      2012-11-03 00:34:09.422 (3) [pool-1-thread-1]: Lines processed: 0
      2012-11-03 00:34:09.422 (3) [pool-1-thread-1]: Invalid lines: 0
      2012-11-03 00:34:09.422 (3) [pool-1-thread-1]: ======== Finished Call Data Load (FAILED) ========
      2012-11-03 00:34:09.423 (1) [pool-1-thread-1]: Invalid status for datafeed [FAILED], manual intervention requred
      2012-11-03 00:38:32.899 (3) [Thread-0]: Shutting down call data monitor
      2012-11-03 00:38:33.230 (3) [Thread-0]: Finished shutdown

      Please find the configuration and calldatafeed file are attached.

        Attachments

        1. call_data_2012-12-01.csv.gz
          0.6 kB
          Atul Sanagar
        2. com.thesearchagency.datafeeds.calldata.properties
          2 kB
          Atul Sanagar
        3. ODA_20121024_1323433665.csv
          0.0 kB
          Atul Sanagar
        4. optus-calldata-prod.properties
          2 kB
          Atul Sanagar

          Activity

            People

            • Assignee:
              therouxj Jeff Theroux
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: