SOLR DIH throwing error “unsupported type : class java.lang.String”


I'm trying to import a MS SQL field containing a PDF BLOB into SOLR and getting the following error:


Exception while processing: attachment document : SolrInputDocument(fields: []):org.apache.solr.handler.dataimport.DataImportHandlerException: java.lang.RuntimeException: unsupported type : class java.lang.String at org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:63) at org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityProcessorWrapper.java:246) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:476) at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:415) at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:330) at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:232) at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:416) at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:480) at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:461) Caused by: java.lang.RuntimeException: unsupported type : class java.lang.String


Here is the relevant part of my dataimport file:

<entity name="attachment" dataSource="dastream" processor="TikaEntityProcessor" dataField="items.CONTENTDATAFILE" format="text" <field column="content" name="body" /> </entity>

Anyone have any idea whats wrong? SOLR version is 4.10.3


The field, <em>CONTENTDATAFILE</em>, is probably null for the entity in question...


  • Creating a Google shared contact using the API - contact is created but not in the shared Directory
  • keras.utils.to_categorical() - name keras not defined
  • How do I configure Quartz.NET host with Spring.NET
  • Rails runner script not working
  • Solr DataImportHandler delta import
  • Is it wrong to have more than one SOLR war file sharing the same solr_home?
  • ReactJS - FCM not working in safari browser
  • Android Studio 2 error :app:compileDebugJavaWithJack
  • create recurring activejob fails
  • LibGDX GwtApplication Exception (TypeError) in HTML Deployment
  • Delete specific queue when client's idle time in activemq
  • JAXB Root Class Rename using binding.xml
  • How to start a Mysql server in Java programatically?
  • Version in docker-compose is unsupported
  • setContentView() is not enough to switch between layouts?
  • Android onKey w/ virtual keyboard
  • Cuda Clang and OS X Mavericks
  • URLConnection doesn't work since API 10 and higher?
  • Detect when Facebook like button is clicked
  • Jetty 9 HashLoginService
  • AJAX Html Editor Extender upload image appearing blank
  • Problem deserializing objects from cache on MyBatis 3/Java
  • MongoDb aggregation
  • azure media services - The request body is too large and exceeds the maximum permissible limit
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • How to create a file in java without a extension
  • OpenGL ES texture problem, 4 duplicate columns and horizontal lines (Android)
  • Display issues when we change from one jquery mobile page to another in firefox
  • Cross-Platform Protobuf Serialization
  • Python - Map / Reduce - How do I read JSON specific field in using DISCO count words example
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • How to format a variable of double type
  • VB.net deserialize, JSON Conversion from type 'Dictionary(Of String,Object)' to type '
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • coudnt use logback because of log4j
  • How do I configure my settings file to work with unit tests?
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • JaxB to read class hierarchy
  • Binding checkboxes to object values in AngularJs