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

WSDLValidator may throw ClassCastException under verbose mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.4, 2.7.15, 3.1
    • Component/s: Tooling
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: