[Pdl] java exceptions from ProductClient.jar

Peter Lombard lombard at seismo.berkeley.edu
Tue Apr 17 20:06:32 UTC 2012


Hi,

I'm running ProductClient.jar 1.7.3 in "eidsoutputwedge" mode as described on
http://ehppdl1.cr.usgs.gov/userguide/eidsoutputwedge.html. I have outputFormat
set to cube.txt, and I am getting files in the outputdir. However, the log
file is reporting lots of Null Pointer exceptions, less that 1 every 10
cube.txt files.

Is this a known issue?

Here is the top of my log file:

Opened log file at Tue Apr 17 10:54:13 PDT 2012


###
Tue Apr 17 10:54:13 PDT 2012
CONFIG  thread=10       Disabled tracker updates
CONFIG  thread=10       Loading main class gov.usgs.earthquake.distribution.ProductClient
CONFIG  thread=10       Loading listener 'eidsoutputwedge'
CONFIG  thread=10       [null] maxTries = 1
CONFIG  thread=10       [null] maxTries = 1
CONFIG  thread=10       [null] timeout = 0ms
CONFIG  thread=10       Loading receiver 'receiver_pdl'
CONFIG  thread=10       [null] using notification index 'data/receiver_index.db'CONFIG  thread=10       [null] using storage directory 'data/receiver_storage'
CONFIG  thread=10       [null] storage max age 900000 ms
CONFIG  thread=10       [null] receiver cleanup interval 900000 ms
CONFIG  thread=10       [null] receiver connect timeout 15000 ms
CONFIG  thread=10       [null] receiver read timeout 15000 ms
CONFIG  thread=10       [null] EIDS server host is 'ehppdl1.cr.usgs.gov'
CONFIG  thread=10       [null] EIDS server port is '39977'
CONFIG  thread=10       [null] EIDS alternate servers 'ehppdl2.wr.usgs.gov'
CONFIG  thread=10       [null] EIDS tracking file is 'data/receiver_pdl_tracking.dat'
CONFIG  thread=10       Configuration loaded
CONFIG  thread=10       Bootstrap complete, running main class

INFO    thread=10       Starting
INFO    thread=11       [eidsoutputwedge] running listener cleanup
Tue Apr 17 10:54:14 PDT 2012
CONFIG  thread=10       The system property sun.awt.backingStore is not set, by default backingStore=NotUseful
INFO    thread=10       Started
Tue Apr 17 11:39:11 PDT 2012
WARNING thread=12       [receiver_pdl] listener (eidsoutputwedge) threw exception
java.lang.NullPointerException
        at gov.usgs.earthquake.event.Converter.getString(Converter.java:140)
        at gov.usgs.earthquake.eids.EIDSOutputWedge.eqxmlConvert(EIDSOutputWedge.java:157)
        at gov.usgs.earthquake.eids.EIDSOutputWedge.convert(EIDSOutputWedge.java:128)
        at gov.usgs.earthquake.eids.EIDSOutputWedge.onProduct(EIDSOutputWedge.java:78)
        at gov.usgs.earthquake.distribution.DefaultNotificationListener.onNotification(DefaultNotificationListener.java:98)
        at gov.usgs.earthquake.distribution.ExecutorListenerNotifier$1.call(ExecutorListenerNotifier.java:158)
        at gov.usgs.earthquake.distribution.ExecutorListenerNotifier$1.call(ExecutorListenerNotifier.java:155)
        at gov.usgs.util.ExecutorTask.run(ExecutorTask.java:144)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        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)
INFO    thread=12       Exception executing task
java.lang.NullPointerException
        at gov.usgs.earthquake.event.Converter.getString(Converter.java:140)
        at gov.usgs.earthquake.eids.EIDSOutputWedge.eqxmlConvert(EIDSOutputWedge.java:157)
        at gov.usgs.earthquake.eids.EIDSOutputWedge.convert(EIDSOutputWedge.java:128)
        at gov.usgs.earthquake.eids.EIDSOutputWedge.onProduct(EIDSOutputWedge.java:78)
        at gov.usgs.earthquake.distribution.DefaultNotificationListener.onNotification(DefaultNotificationListener.java:98)
        at gov.usgs.earthquake.distribution.ExecutorListenerNotifier$1.call(ExecutorListenerNotifier.java:158)
        at gov.usgs.earthquake.distribution.ExecutorListenerNotifier$1.call(ExecutorListenerNotifier.java:155)
        at gov.usgs.util.ExecutorTask.run(ExecutorTask.java:144)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        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)
Tue Apr 17 11:39:27 PDT 2012
WARNING thread=12       [receiver_pdl] listener (eidsoutputwedge) threw exception
...


Pete


More information about the PDL mailing list