Я получаю эту ошибку, когда вычисляю строковое значение: Double.toString (Double.parseDouble (offertionSortScore) - 6)
17: 47: 19,983 INFO [STDOUT] [EDS ALL LIST] NOC BLACK LIST: Sugeng
Hindarjo
17: 47: 19,984 ОШИБКА [[jsp]] Servlet.service () для сервлета jsp threw
исключение java.lang.NumberFormatException: пустая строка
at sun.misc.FloatingDecimal.readJavaFormatString (FloatingDecimal.java:994)
at java.lang.Double.parseDouble (Double.java:510)
в org.apache.jsp.WEB_002dINF.jsp.n51Alist_jsp.getTransactionsFromIpg (n51Alist_jsp.java:380)
в org.apache.jsp.WEB_002dINF.jsp.n51Alist_jsp._jspService (n51Alist_jsp.java:581)
в org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:70)
на javax.servlet.http.HttpServlet.service (HttpServlet.java:803)
в org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:373)
в org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:336)
в org.apache.jasper.servlet.JspServlet.service (JspServlet.java:265)
на javax.servlet.http.HttpServlet.service (HttpServlet.java:803)
в org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290)
в org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206)
в org.apache.catalina.core.ApplicationDispatcher.invoke (ApplicationDispatcher.java:654)
в org.apache.catalina.core.ApplicationDispatcher.processRequest (ApplicationDispatcher.java:445)
в org.apache.catalina.core.ApplicationDispatcher.doForward (ApplicationDispatcher.java:379)
в org.apache.catalina.core.ApplicationDispatcher.forward (ApplicationDispatcher.java:292)
в nsia.owasp.util.Controller.doPost (Controller.java:166)
на javax.servlet.http.HttpServlet.service (HttpServlet.java:710)
на javax.servlet.http.HttpServlet.service (HttpServlet.java:803)
в org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290)
в org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206)
в org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter (ReplyHeaderFilter.java:96)
в 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:230)
в org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:175)
в org.jboss.web.tomcat.security.SecurityAssociationValve.invoke (SecurityAssociationValve.java:182)
в org.jboss.web.tomcat.security.JaccContextValve.invoke (JaccContextValve.java:84)
в org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:127)
в org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
в org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke (CachedConnectionValve.java:157)
в org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109)
в org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:262)
в org.apache.coyote.ajp.AjpProcessor.process (AjpProcessor.java:437)
в org.apache.coyote.ajp.AjpProtocol $ AjpConnectionHandler.process (AjpProtocol.java:366)
в org.apache.tomcat.util.net.JIoEndpoint $ Worker.run (JIoEndpoint.java:446)
at java.lang.Thread.run (Thread.java:662) 17: 47: 19,984 ИНФО [STDOUT] Исключение => org.apache.jasper.JasperException: исключение
произошла обработка страницы JSP /WEB-INF/jsp/n51Alist.jsp в строке 370
367: if (cekBlackListByNoc == true) {
368: System.out.println ("[EDS ALL LIST] NOC BLACK LIST:" + nameOnCardDecrypt);
369:data [0] = "yellow";
370: data [17] = Double.toString (Double.parseDouble (SuggestionSortScore) - 6);
371: if (Double.parseDouble (data [17]) <3.0) {</p>
372: data [17] = "3.1";
373:}
почему в трассировке стека указана пустая строка?суть подсказок заполнена значением "5.0".