Exception information ::
09:57:35 [org. directwebremoting. impl. defaultremoter]-[warn] method execution failed:
Java. util. unknownformatconversionexception: conversion = 'F'
At java. util. formatter $ formatspecifier. Conversion (formatter. Java: 2605)
At java. util. formatter $ formatspecifier. <init> (formatter. Java: 2633)
At java. util. formatter. parse (formatter. Java: 2479)
At java. util. formatter. Format (formatter. Java: 2413)
At java. util. formatter. Format (formatter. Java: 2366)
At java. Lang. String. Format (string. Java: 2770)
At com. XM. ITV. Service. impl. categoryserviceimpl. getmovie (categoryserviceimpl. Java: 172)
172 lines of code:
Export _url = cmd = openbrowser & url = http: // localhost: 8080/xmitv/getfriendshare. php? Medicode = % S & username = % s
Pai_url = string. Format (pai_url,
Urlencoder. encode (list. Get (I). getcode (), "UTF-8 "),
Urlencoder. encode (session. getattribute ("member") + "", "UTF-8 "));
An error occurs during forced conversion.
Cause: Because pai_url is defined at the beginning, and when the format of pai_url is used, the first time in the list loop is % s, however, % s has been executed for the first time in the second loop. % S is not found, so such a parameter error occurs. If you do not need a parameter, you are forced to give it. So it is OK to put the cmd_url in the loop.
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 25)
At java. Lang. Reflect. method. Invoke (method. Java: 597)
At org. directwebremoting. impl. executeajaxfilter. dofilter (executeajaxfilter. Java: 34)
At org. directwebremoting. impl. defaultremoter $1. dofilter (defaultremoter. Java: 428)
At org.directwebremoting.impl.defaultremoter.exe cute (defaultremoter. Java: 431)
At org.directwebremoting.impl.defaultremoter.exe cute (defaultremoter. Java: 283)
At org. directwebremoting. servlet. plaincallhandler. Handle (plaincallhandler. Java: 52)
At org. directwebremoting. servlet. urlprocessor. Handle (urlprocessor. Java: 101)
At org. directwebremoting. servlet. dwrservlet. dopost (dwrservlet. Java: 146)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 647)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 729)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 269)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 188)
At com. XM. ITV. Filter. loginfilter. dofilter (loginfilter. Java: 93)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 215)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 188)
At org. Apache. struts2.dispatcher. filterdispatcher. dofilter (filterdispatcher. Java: 413)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 215)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 188)
At org. Apache. struts2.dispatcher. actioncontextcleanup. dofilter (actioncontextcleanup. Java: 99)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 215)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 188)
At org. Apache. Catalina. Core. standardwrappervalve. Invoke (standardwrappervalve. Java: 213)
At org. Apache. Catalina. Core. standardcontextvalve. Invoke (standardcontextvalve. Java: 172)
At org. Apache. Catalina. Core. standardhostvalve. Invoke (standardhostvalve. Java: 127)
At org. Apache. Catalina. Valves. errorreportvalve. Invoke (errorreportvalve. Java: 117)
At org. Apache. Catalina. Core. standardenginevalve. Invoke (standardenginevalve. Java: 108)
At org. Apache. Catalina. connector. coyoteadapter. Service (coyoteadapter. Java: 174)
At org. Apache. Coyote. http11.http11processor. Process (http11processor. Java: 875)
At org. Apache. Coyote. http11.http11baseprotocol $ http11connectionhandler. processconnection (http11baseprotocol. Java: 665)
At org.apache.tomcat.util.net. pooltcpendpoint. processsocket (pooltcpendpoint. Java: 528)
At org.apache.tomcat.util.net. leaderfollowerworkerthread. Runit (leaderfollowerworkerthread. Java: 81)
At org. Apache. tomcat. util. threads. threadpool $ controlrunnable. Run (threadpool. Java: 689)
At java. Lang. thread. Run (thread. Java: 619)
09:57:35 [org. directwebremoting. dwrp. basecallmarshaller]-[warn] -- erroring: batchid [0] Message [java. util. unknownformatconversionexception: conversion = 'F']