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

GitHub | Pamir | 3 months ago
  1. 0

    java.lang.IllegalArgumentException: Field must have either

    GitHub | 3 months ago | Pamir
    java.lang.IllegalArgumentException: Field must have either TokenStream, String, Reader or Number value; got stored,indexed,tokenized<product:>
  2. 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:>
  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.CheckMojo.runCheck(CheckMojo.java:97)
    3. org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:423)
    3 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:318)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
    9 frames
  9. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    3 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  11. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)
    4 frames