java.lang.IllegalArgumentException: Field must have either TokenStream, String, Reader or Number value; got stored,indexed,tokenized<product:>

GitHub | ercpe | 3 months ago
  1. 0

    IllegalArgumentException when running with MySQL Database

    GitHub | 3 months ago | ercpe
    java.lang.IllegalArgumentException: Field must have either TokenStream, String, Reader or Number value; got stored,indexed,tokenized<product:>
  2. 0

    java.lang.IllegalArgumentException: Field must have either

    GitHub | 2 months ago | Pamir
    java.lang.IllegalArgumentException: Field must have either TokenStream, String, Reader or Number value; got stored,indexed,tokenized<product:>
  3. 0

    Strange exception in Elasticsearch 1.4.3

    Google Groups | 2 years ago | Angel Cross
    java.lang.IllegalArgumentException: State contains AttributeImpl of type org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl that is not in in this AttributeSource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cluster can't recover after upgrade from 1.1.1 to 1.3.2 due to MaxBytesLengthExceededException

    Google Groups | 2 years ago | omar
    org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException: [transient_2014_09_10][7] failed to recover shard
  6. 0

    How to correctly implement a delegating tokenizer in lucene 4.x?

    Stack Overflow | 2 years ago | user3159253
    java.lang.IllegalArgumentException: first position increment must be > 0 (got 0) for field 'address' at org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:617)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Field must have either TokenStream, String, Reader or Number value; got stored,indexed,tokenized<product:>

    at org.apache.lucene.document.Field.tokenStream()
  2. Lucene
    IndexWriter.addDocument
    1. org.apache.lucene.document.Field.tokenStream(Field.java:555)
    2. org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:103)
    3. org.apache.lucene.index.DocFieldProcessor.processDocument(DocFieldProcessor.java:248)
    4. org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:253)
    5. org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:455)
    6. org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1534)
    7. org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1204)
    8. org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1185)
    8 frames
  3. Dependency-Check Core
    Engine.initializeAnalyzer
    1. org.owasp.dependencycheck.data.cpe.CpeMemoryIndex.buildIndex(CpeMemoryIndex.java:214)
    2. org.owasp.dependencycheck.data.cpe.CpeMemoryIndex.open(CpeMemoryIndex.java:119)
    3. org.owasp.dependencycheck.analyzer.CPEAnalyzer.open(CPEAnalyzer.java:159)
    4. org.owasp.dependencycheck.analyzer.CPEAnalyzer.initialize(CPEAnalyzer.java:133)
    5. org.owasp.dependencycheck.Engine.initializeAnalyzer(Engine.java:442)
    5 frames
  4. Dependency-Check Maven Plugin
    MavenEngine.initializeAnalyzer
    1. org.owasp.dependencycheck.maven.MavenEngine.initializeAnalyzer(MavenEngine.java:137)
    1 frame
  5. Dependency-Check Core
    Engine.analyzeDependencies
    1. org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:380)
    1 frame
  6. Dependency-Check Maven Plugin
    BaseDependencyCheckMojo.execute
    1. org.owasp.dependencycheck.maven.MavenEngine.analyzeDependencies(MavenEngine.java:95)
    2. org.owasp.dependencycheck.maven.AggregateMojo.generateDataFile(AggregateMojo.java:314)
    3. org.owasp.dependencycheck.maven.AggregateMojo.generateDataFile(AggregateMojo.java:291)
    4. org.owasp.dependencycheck.maven.AggregateMojo.runCheck(AggregateMojo.java:75)
    5. org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:423)
    5 frames
  7. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
    1 frame
  8. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
    9 frames
  9. M3 Interceptor
    Maven31Launcher.main
    1. org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  11. Plexus
    Launcher.launch
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
    2 frames
  12. jenkins.maven3.agent
    Maven31Main.launch
    1. jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:185)
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  14. Hudson Maven Embedder
    Maven3Builder.call
    1. hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
    2. hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
    2 frames
  15. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:153)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:50)
    3. hudson.remoting.Request$2.run(Request.java:332)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    4 frames
  16. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames