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

Robert Muir updated SOLR-2115:
------------------------------

    Fix Version/s:     (was: 1.4.2)
                       (was: 4.0)
                       (was: 3.1)
                   Next

Moving out all unassigned issues set to 3.1 per this email: 
http://www.lucidimagination.com/search/document/f026cc56081b5a51/unassigned_jira_issues_set_for_3_1


> DataImportHandler config file *must* be specified in "defaults" or status 
> will be "DataImportHandler started. Not Initialized. No commands can be run"
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2115
>                 URL: https://issues.apache.org/jira/browse/SOLR-2115
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4.1, 1.4.2, 3.1, 4.0
>            Reporter: Lance Norskog
>             Fix For: Next
>
>
> The DataImportHandler has two URL parameters for defining the data-config.xml 
> file to be used for the command. 'config' is used in some places and 
> 'dataConfig' is used in other places.
> 'config' does not work from an HTTP request. However, if it is in the 
> "defaults" section of the DIH <requestHandler> definition, it works. If the 
> 'config' parameter is used in an HTTP request, the DIH uses the default in 
> the <requestHandler> anyway.
> This is the exception stack recieved by the client if there is no default. 
> (This is the 3.X branch.)
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
> <title>Error 500 </title>
> </head>
> <body><h2>HTTP ERROR: 500</h2><pre>null
> java.lang.NullPointerException
>       at 
> org.apache.solr.handler.dataimport.DataImportHandler.handleRequestBody(DataImportHandler.java:146)
>       at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
>       at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)
>       at 
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
>       at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
>       at 
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>       at 
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>       at 
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>       at 
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>       at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>       at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>       at 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>       at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>       at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>       at org.mortbay.jetty.Server.handle(Server.java:285)
>       at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
>       at 
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
>       at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
>       at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
>       at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
>       at 
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>       at 
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> </pre>
> <p>RequestURI=/solr/db/dataimport</p><p><i><small><a 
> href="http://jetty.mortbay.org/";>Powered by Jetty://</a></small></i></p><br/> 
>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> <br/>                                                
> </body>
> </html>

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to