Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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(Field.java:555)	at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:103)	at org.apache.lucene.index.DocFieldProcessor.processDocument(DocFieldProcessor.java:248)	at org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:253)	at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:455)	at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1534)	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1204)	at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1185)	at org.owasp.dependencycheck.data.cpe.CpeMemoryIndex.buildIndex(CpeMemoryIndex.java:214)	at org.owasp.dependencycheck.data.cpe.CpeMemoryIndex.open(CpeMemoryIndex.java:119)	at org.owasp.dependencycheck.analyzer.CPEAnalyzer.open(CPEAnalyzer.java:159)	at org.owasp.dependencycheck.analyzer.CPEAnalyzer.initialize(CPEAnalyzer.java:133)	at org.owasp.dependencycheck.Engine.initializeAnalyzer(Engine.java:442)	at org.owasp.dependencycheck.maven.MavenEngine.initializeAnalyzer(MavenEngine.java:137)	at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:380)	at org.owasp.dependencycheck.maven.MavenEngine.analyzeDependencies(MavenEngine.java:95)	at org.owasp.dependencycheck.maven.AggregateMojo.generateDataFile(AggregateMojo.java:314)	at org.owasp.dependencycheck.maven.AggregateMojo.generateDataFile(AggregateMojo.java:291)	at org.owasp.dependencycheck.maven.AggregateMojo.runCheck(AggregateMojo.java:75)	at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:423)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)	at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)	at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:185)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)	at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)	at hudson.remoting.UserRequest.perform(UserRequest.java:153)	at hudson.remoting.UserRequest.perform(UserRequest.java:50)	at hudson.remoting.Request$2.run(Request.java:332)	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)