jsp - org.apache.jasper.JasperException: java.util.NoSuchElementException at java.util.ArrayList$Itr.next(ArrayList.java:794) -
below exception got of sudden, same code works locally , test system, failing in dev environments, configuration same in layers.
org.apache.jasper.jasperexception: unable compile class jsp @ org.apache.jasper.jspcompilationcontext.compile(jspcompilationcontext.java:604) @ org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:328) @ org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:313) @ org.apache.jasper.servlet.jspservlet.service(jspservlet.java:260) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.opensymphony.sitemesh.webapp.sitemeshfilter.dofilter(sitemeshfilter.java:59) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.applicationdispatcher.invoke(applicationdispatcher.java:646) @ org.apache.catalina.core.applicationdispatcher.processrequest(applicationdispatcher.java:436) @ org.apache.catalina.core.applicationdispatcher.doforward(applicationdispatcher.java:374) @ org.apache.catalina.core.applicationdispatcher.forward(applicationdispatcher.java:302) @ org.springframework.web.servlet.view.internalresourceview.rendermergedoutputmodel(internalresourceview.java:238) @ org.springframework.web.servlet.view.abstractview.render(abstractview.java:264) @ org.springframework.web.servlet.dispatcherservlet.render(dispatcherservlet.java:1208) @ org.springframework.web.servlet.dispatcherservlet.processdispatchresult(dispatcherservlet.java:992) @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:939) @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:856) @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:936) @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:827) @ javax.servlet.http.httpservlet.service(httpservlet.java:617) @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:812) @ javax.servlet.http.httpservlet.service(httpservlet.java:723) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:290) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.displaytag.filter.responseoverridefilter.dofilter(responseoverridefilter.java:125) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.opensymphony.sitemesh.webapp.sitemeshfilter.obtaincontent(sitemeshfilter.java:129) @ com.opensymphony.sitemesh.webapp.sitemeshfilter.dofilter(sitemeshfilter.java:77) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:330) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor.invoke(filtersecurityinterceptor.java:118) @ org.springframework.security.web.access.intercept.filtersecurityinterceptor.dofilter(filtersecurityinterceptor.java:84) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.access.exceptiontranslationfilter.dofilter(exceptiontranslationfilter.java:113) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.authentication.anonymousauthenticationfilter.dofilter(anonymousauthenticationfilter.java:113) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.servletapi.securitycontextholderawarerequestfilter.dofilter(securitycontextholderawarerequestfilter.java:54) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.authentication.abstractauthenticationprocessingfilter.dofilter(abstractauthenticationprocessingfilter.java:183) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ com.overstock.spring.security.filter.webauthenticationformpopulatingfilter.dohttpfilter(webauthenticationformpopulatingfilter.java:43) @ com.overstock.spring.security.filter.abstracthttpservletfilterbean.dofilter(abstracthttpservletfilterbean.java:20) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.authentication.logout.logoutfilter.dofilter(logoutfilter.java:105) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ com.overstock.spring.security.filter.webauthenticationurlcheckingfilter.dohttpfilter(webauthenticationurlcheckingfilter.java:72) @ com.overstock.spring.security.filter.abstracthttpservletfilterbean.dofilter(abstracthttpservletfilterbean.java:20) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ com.overstock.spring.security.ils.filter.userinfocookiesetterfilter.dohttpfilter(userinfocookiesetterfilter.java:51) @ com.overstock.spring.security.filter.abstracthttpservletfilterbean.dofilter(abstracthttpservletfilterbean.java:20) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.context.securitycontextpersistencefilter.dofilter(securitycontextpersistencefilter.java:87) @ org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(filterchainproxy.java:342) @ org.springframework.security.web.filterchainproxy.dofilterinternal(filterchainproxy.java:192) @ org.springframework.security.web.filterchainproxy.dofilter(filterchainproxy.java:160) @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:346) @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:259) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.overstock.ui.serviceusagetrackingfilter.dohttpfilter(serviceusagetrackingfilter.java:34) @ com.overstock.ui.abstracthttpservletfilter.dofilter(abstracthttpservletfilter.java:40) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ com.overstock.ui.scope.processingscopefilter.dohttpfilter(processingscopefilter.java:71) @ com.overstock.ui.abstracthttpservletfilter.dofilter(abstracthttpservletfilter.java:40) @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235) @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206) @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:233) @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:191) @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:127) @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:103) @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) @ org.apache.catalina.valves.accesslogvalve.invoke(accesslogvalve.java:615) @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:293) @ org.apache.jk.server.jkcoyotehandler.invoke(jkcoyotehandler.java:190) @ org.apache.jk.common.handlerrequest.invoke(handlerrequest.java:311) @ org.apache.jk.common.channelsocket.invoke(channelsocket.java:776) @ org.apache.jk.common.channelsocket.processconnection(channelsocket.java:705) @ org.apache.jk.common.channelsocket$socketconnection.runit(channelsocket.java:898) @ org.apache.tomcat.util.threads.threadpool$controlrunnable.run(threadpool.java:690) @ java.lang.thread.run(thread.java:724) caused by: java.util.nosuchelementexception @ java.util.arraylist$itr.next(arraylist.java:794) @ org.apache.jasper.compiler.validator$validatevisitor.getjspattribute(validator.java:1330) @ org.apache.jasper.compiler.validator$validatevisitor.checkxmlattributes(validator.java:1207) @ org.apache.jasper.compiler.validator$validatevisitor.visit(validator.java:840) @ org.apache.jasper.compiler.node$customtag.accept(node.java:1530) @ org.apache.jasper.compiler.node$nodes.visit(node.java:2361) @ org.apache.jasper.compiler.node$visitor.visitbody(node.java:2411) @ org.apache.jasper.compiler.validator$validatevisitor.visit(validator.java:859) @ org.apache.jasper.compiler.node$customtag.accept(node.java:1530) @ org.apache.jasper.compiler.node$nodes.visit(node.java:2361) @ org.apache.jasper.compiler.node$visitor.visitbody(node.java:2411) @ org.apache.jasper.compiler.node$visitor.visit(node.java:2417) @ org.apache.jasper.compiler.node$root.accept(node.java:495) @ org.apache.jasper.compiler.node$nodes.visit(node.java:2361) @ org.apache.jasper.compiler.validator.validateexdirectives(validator.java:1781) @ org.apache.jasper.compiler.compiler.generatejava(compiler.java:198) @ org.apache.jasper.compiler.compiler.compile(compiler.java:354) @ org.apache.jasper.compiler.compiler.compile(compiler.java:334) @ org.apache.jasper.compiler.compiler.compile(compiler.java:321) @ org.apache.jasper.jspcompilati…
i had same error, turned out bug in tomcat. issue me empty attribute on html tag in jsp file. example:
<body ui-view=""></body>
https://issues.apache.org/bugzilla/show_bug.cgi?id=56561
per bug report, fixed in 8.0.9, 7.0.55, , 6.0.42
Comments
Post a Comment