求高手解决严重: Servlet.service() for servlet jsp threw exception java.lang. 5
严重:Servlet.service()forservletjspthrewexceptionjava.lang.NumberFormatException:Forinp...
严重: Servlet.service() for servlet jsp threw exception
java.lang.NumberFormatException: For input string: "chrome/"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
at java.lang.Double.parseDouble(Double.java:510)
at com.fredck.FCKeditor.FCKeditor.retrieveBrowserVersion(FCKeditor.java:264)
at com.fredck.FCKeditor.FCKeditor.isCompatible(FCKeditor.java:251)
at com.fredck.FCKeditor.FCKeditor.create(FCKeditor.java:292)
at com.fredck.FCKeditor.tags.FCKeditorTag.doAfterBody(FCKeditorTag.java:689)
at org.apache.jsp.admin.dandu_jsp._jspx_meth_FCK_005feditor_005f0(dandu_jsp.java:343)
at org.apache.jsp.admin.dandu_jsp._jspService(dandu_jsp.java:265)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619) 展开
java.lang.NumberFormatException: For input string: "chrome/"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
at java.lang.Double.parseDouble(Double.java:510)
at com.fredck.FCKeditor.FCKeditor.retrieveBrowserVersion(FCKeditor.java:264)
at com.fredck.FCKeditor.FCKeditor.isCompatible(FCKeditor.java:251)
at com.fredck.FCKeditor.FCKeditor.create(FCKeditor.java:292)
at com.fredck.FCKeditor.tags.FCKeditorTag.doAfterBody(FCKeditorTag.java:689)
at org.apache.jsp.admin.dandu_jsp._jspx_meth_FCK_005feditor_005f0(dandu_jsp.java:343)
at org.apache.jsp.admin.dandu_jsp._jspService(dandu_jsp.java:265)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619) 展开
展开全部
异常已经报的很清楚了,你是在把一个字符串转换成数字的时候转换不了,"chrome/"肯定不能转换成数字,看看你程序代码在哪做的转换数字的处理,这个需要转换的值肯定是不对,一般程序会报出来在哪一行转换出错的
追问
请问大神,那要怎么修改呀?
追答
如果我没猜错你写的代码的话,你在你的代码里System.out.println( " “+ ...) 就像这样 在前面加一个空串
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
这个不看代码,不好整吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
可以看一看你的代码吗
追问
怎么给你看?看哪段代码?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询