2 scheet scheet 于 2017.09.08 08:56 提问

lucene和java.lang.StackOverflowError

严重: Servlet.service() for servlet [jsp] in context with path [/SearchEngine] threw exception [javax.servlet.ServletException: java.lang.StackOverflowError] with root cause
java.lang.StackOverflowError
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)
at org.apache.lucene.analysis.Analyzer.tokenStream(Unknown Source)

2个回答

qq_38494537
qq_38494537   Rxr 2017.09.08 09:02

java.lang.StackOverflowError
内存溢出,一般由死循环导致

scheet
scheet 是在analyzer.tokenStream处出错
11 个月之前 回复
phenomenonsTell
phenomenonsTell   2017.09.08 09:03

/SearchEngine对应的方法执行中栈溢出了

phenomenonsTell
phenomenonsTell 回复大喵小忙: 你好好看看第一句话怎么说的
10 个月之前 回复
scheet
scheet 是在analyzer.tokenStream处出错
11 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
lucene应用心得以及几种中文分词器的使用比对
lucene应用心得以及几种中文分词器的使用比对:1、创建索引和关键字搜索在不同的系统中运行出现的问题如果将创建索引和关键字搜索分别写在后台和前台系统,然后分别将这两套系统部署在同一个应用服务器下面( 如同一个tomcat6.0),在会出现一下现象:,(a)当点击后台的创建索引,运行正常,这时,在点击前台的关键词搜索则就报异常 (b)点击前台的搜索(之前已经创建好索引),运行正常,这时,在
java.lang.StackOverflowError(hibernate内存溢出)
java.lang.StackOverflowError at java.lang.Integer.stringSize(Integer.java:384) at java.lang.Integer.toString(Integer.java:330) at java.lang.Integer.toString(Integer.java:739) at java.lang.String.v
eclipse编译过程中出现java.lang.StackOverFlowError
在开发过程中、遇到一个Const文件过长,eclipse编译过程中出现java.lang.StackOverFlowError 解决方案 打开eclipse目录下面的eclipse.ini文件 修改前 -vmargs -Xms40m -Xmx256m 修改后 -vmargs -Xms80m -Xmx512m -Xss512K Project -> C
java.lang.stackoverflowerror
Error: java.lang.stackoverflowerror 原因:出现死循环
java.lang.StackOverflowError 解决办法
我在处理数据库一对多的关系的时候 报出的这个错误 , 是由于函数调用层级过多导致 简单说就是 你把两边都产生了toString()方法 ,把多的一方的实体类里的toString()去掉,或者把两边的toString()都去掉 问题就解决了
android开发中的java.lang.StackOverflowError错误
http://blog.csdn.net/mozhizun/article/details/7051300 Android开发中StackOverflowError错误实例分析 一、概述  我在一个复杂的layout嵌套较多的android界面,碰到了java.lang.StackOverflowError这个Fatal Exception,app程序crash退出。
Java 异常处理 之:java.lang.StackOverflowError
java 异常处理
Hibernate的java.lang.StackOverFlowError问题
出现这类问题,主要是在一对多双向关联映射时在一方的java类里面的toString()方法时,出现了多方的类如图 @Override     public String toString() {         return "Classes [cid=" + cid + ", cname=" + cname + ", cinfo=" + cinfo                 + "
Exception in thread "main" java.lang.StackOverflowError
http://blog.sina.com.cn/s/blog_716358dc0100lj73.html 呵呵
LOG 引起的StackOverflowError
LOG 引起的StackOverflowError SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/logging/hcreport-datainf-i18n/lib/slf4j-log4j12-1.7.8.jar !/org/slf4j/impl/Sta