You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sven Hoffmann (JIRA)" <ji...@apache.org> on 2010/08/30 15:42:54 UTC
[jira] Commented: (SOLR-1940) SolrDispatchFilter sets content type
as NULL
[ https://issues.apache.org/jira/browse/SOLR-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904195#action_12904195 ]
Sven Hoffmann commented on SOLR-1940:
-------------------------------------
After applying the patch of src/webapp/web/admin/index.jsp on WebSphere Application Server 6.1.0.29 I was able to open the 'Config' and 'Schema' pages.
> SolrDispatchFilter sets content type as NULL
> --------------------------------------------
>
> Key: SOLR-1940
> URL: https://issues.apache.org/jira/browse/SOLR-1940
> Project: Solr
> Issue Type: Bug
> Reporter: Lance Norskog
> Attachments: SOLR-1940.patch, SOLR-1940.patch
>
>
> o.a.s.h.SolrDispatchFilter can set the output Content-Type to a null pointer instead of a string. Under websphere this results in a NullPointerException. This is the offending code:
> response.setContentType(responseWriter.getContentType(solrReq, solrRsp));
> Suggested fix: either use a default content type, or do not set the content type and let the browser handle it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org