You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gus Heck (JIRA)" <ji...@apache.org> on 2019/03/24 23:11:00 UTC
[jira] [Resolved] (SOLR-13324) Stop swallowing exception for
Canonical URL in URLClassifyProocessor
[ https://issues.apache.org/jira/browse/SOLR-13324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gus Heck resolved SOLR-13324.
-----------------------------
Resolution: Fixed
Fix Version/s: master (9.0)
This and the parent issue will go to 9.0 only given that that few sysout type precommit issues are likely to be added during back porting to branches, and to ensure maximum time to discover any side effects.
> Stop swallowing exception for Canonical URL in URLClassifyProocessor
> --------------------------------------------------------------------
>
> Key: SOLR-13324
> URL: https://issues.apache.org/jira/browse/SOLR-13324
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: UpdateRequestProcessors
> Affects Versions: master (9.0)
> Reporter: Gus Heck
> Priority: Minor
> Fix For: master (9.0)
>
>
> There's a default catch block here blocking SOLR-13322, which looks like we should just throw the exception from the method since it's only used inside a try/catch that already catches MalformedURLException
> {code:java}
> [forbidden-apis] Forbidden method invocation: java.lang.Throwable#printStackTrace() [Eclipse auto-generated stubs; exceptions should be correctly bubbled up and handled accordingly]
> [forbidden-apis] in org.apache.solr.update.processor.URLClassifyProcessor (URLClassifyProcessor.java:149)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org