Reto Bachmann-Gmür created SOLR-4838: ----------------------------------------
Summary: Rethrow AccessControlExceptions unwrapped Key: SOLR-4838 URL: https://issues.apache.org/jira/browse/SOLR-4838 Project: Solr Issue Type: Improvement Reporter: Reto Bachmann-Gmür java.security.AccessControlException should not be catched and wrapped as SolrServerException but not catched or rethrown to the client. The reason is that for a SolrServerException the client is likely not to be able to do anything useful and can just inform the user that there was a problem with solr. But if the client gets an AccessControlException useful things like a log-in window popping up are more likely to happen. org.apache.solr.client.solrj.SolrServerException: org.apache.solr.client.solrj.SolrServerException: java.security.AccessControlException: access denied ("java.io.FilePermission" "(...)" "delete") at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:223) at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117) at org.apache.stanbol.entityhub.yard.solr.impl.SolrYard.store(SolrYard.java:699) ... 67 more Caused by: org.apache.solr.client.solrj.SolrServerException: java.security.AccessControlException: access denied ("java.io.FilePermission" "(...)" "delete") at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:155) ... 69 more Caused by: java.security.AccessControlException: access denied ("java.io.FilePermission" "..." "delete") -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org