Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6152

WSDLValidator may throw ClassCastException under verbose mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.4, 2.7.15, 3.1
    • Tooling
    • None
    • Unknown

    Description

      The following exception is thrown when a validation error occurs under the verbose mode.

      Error : Cannot cast java.lang.Boolean to java.lang.String

      java.lang.ClassCastException: Cannot cast java.lang.Boolean to java.lang.String
      at java.lang.Class.cast(Class.java:3094)
      at org.apache.cxf.tools.common.ToolContext.get(ToolContext.java:125)
      at org.apache.cxf.tools.common.ToolContext.isVerbose(ToolContext.java:163)
      at org.apache.cxf.tools.common.AbstractCXFToolContainer.isVerboseOn(AbstractCXFToolContainer.java:120)
      at org.apache.cxf.tools.validator.WSDLValidator.execute(WSDLValidator.java:91)
      at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
      at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:58)
      at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:40)
      at org.apache.cxf.tools.validator.WSDLValidator.main(WSDLValidator.java:110)

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: