Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] org.eclipse.jetty.servlet.DefaultServlet: "d != java.lang.String" since 9.2.3

Hi all,

 

  I installed Jetty 9.2.3.v20140905 and deployed my servlets successfully.

 

When requesting _javascript_ or binary data I receive the following message:

 

18.09 13:30:53.176  WARN (qtp15683161-17 - /cetis-ssml/nextgendialog/dlgnextgen/CH/images/common/header.gif?sessionId=ky8pOZB) [servlet.DefaultServlet] EXCEPTION

java.util.IllegalFormatConversionException: d != java.lang.String

      ...

      at java.util.Formatter.format(Formatter.java:2520)

      at java.util.Formatter.format(Formatter.java:2455)

      at java.lang.String.format(String.java:2927)

      at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:497)

 

The source code of DefaultServlet looks like this at lines 496,497:

 

if (LOG.isDebugEnabled())

LOG.debug(String.format("uri=%s, resource=%s, content=%s",request.getRequestURI(),resource,content));

 

When I change the Log level in my configuration to INFO, the problem logically disappears.

 

My question is:

Is this a bug in the DefaultServlet implementation (the code was modified at this point fom 9.2.2 to 9.2.3) or do I miss something in my deployment (e.g. content types)?

 

Freundliche Grüße / Kind regards
Wolfgang Vullhorst


Back to the top