You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Tom Barber (JIRA)" <ji...@apache.org> on 2015/10/15 17:03:05 UTC

[jira] [Assigned] (OODT-755) Deserialize opaque objects when logging error messages

     [ https://issues.apache.org/jira/browse/OODT-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Barber reassigned OODT-755:
-------------------------------

    Assignee: Tom Barber

> 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
>            Assignee: Tom Barber
>             Fix For: 0.11
>
>
> 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.
> We also REALLY need to provide a more meaningful message other than null!
> 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)