Lewis John McGibbney created OODT-755:
-----------------------------------------

             Summary: Deserialize opaque objects when logging error messages
                 Key: OODT-755
                 URL: https://issues.apache.org/jira/browse/OODT-755
             Project: OODT
          Issue Type: Bug
          Components: file manager
    Affects Versions: 0.7
            Reporter: Lewis John McGibbney
             Fix For: 0.8


Recently Valerie Mallder logged a rather annoying stack trace [0] which 
essentially logs an opaque Product. We should deserialize this object making 
the offending object explicit.

org.apache.xmlrpc.XmlRpcException: java.lang.Exception: 
org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException: Error 
ingesting product [org.apache.oodt.cas.filemgr.structs.Product@fb60123] : null
     at 
org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeException(XmlRpcClientResponseProcessor.java:104)
     at 
org.apache.xmlrpc.XmlRpcClientResponseProcessor.decodeResponse(XmlRpcClientResponseProcessor.java:71)
     at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:73)
     at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
     at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
     at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
     at 
org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient.ingestProduct(XmlRpcFileManagerClient.java:1198)
     at 
org.apache.oodt.cas.filemgr.ingest.StdIngester.ingest(StdIngester.java:199)
     at org.apache.oodt.cas.crawl.ProductCrawler.ingest(ProductCrawler.java:304)
     at 
org.apache.oodt.cas.crawl.ProductCrawler.handleFile(ProductCrawler.java:188)
     at org.apache.oodt.cas.crawl.ProductCrawler.crawl(ProductCrawler.java:108)
     at org.apache.oodt.cas.crawl.ProductCrawler.crawl(ProductCrawler.java:75)
     at 
org.apache.oodt.cas.crawl.cli.action.CrawlerLauncherCliAction.execute(CrawlerLauncherCliAction.java:58)
     at org.apache.oodt.cas.cli.CmdLineUtility.execute(CmdLineUtility.java:331)
     at org.apache.oodt.cas.cli.CmdLineUtility.run(CmdLineUtility.java:187)
     at org.apache.oodt.cas.crawl.CrawlerLauncher.main(CrawlerLauncher.java:36)
Oct 02, 2014 12:14:36 PM 

[0] http://www.mail-archive.com/dev%40oodt.apache.org/msg04318.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to