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/04/03 15:22:53 UTC
[jira] [Commented] (OODT-755) Deserialize opaque objects when
logging error messages
[ https://issues.apache.org/jira/browse/OODT-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394416#comment-14394416 ]
Tom Barber commented on OODT-755:
---------------------------------
aye +1 there, I just had the same error, transpired because the filemgr was throwing up because of one of my file names on the filemgr side.
> 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.9
>
>
> 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)