java.lang.ClassCastException: org.pentaho.platform.api.engine.ActionValidationException cannot be cast to java.lang.String

Pentaho BI Platform Tracking | Doug Moran | 6 years ago
  1. 0

    Many of the CDF samples under "BI Developer Examples" display an alert box with the error message: Found error: [object XMLHttpRequest] - parseerror, Error: TypeError: Cannot read property 'documentElement' of null The error message in the log: | Error Time: Monday, October 18, 2010 12:07:04 PM EDT | Session ID: joe | Instance Id: bfbb57dd-dad1-11df-90a0-d39e833a99c2 | Action Sequence: jfreechart.xaction | Execution Stack: | Action Class: CdaQueryComponent | Action Desc: CDA Query | Loop Index (1-based): N/A Stack Trace:org.pentaho.platform.api.engine.ActionValidationException: RuntimeContext.ERROR_0009 - Could not create component CdaQueryComponent at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:547) at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:524) at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateSequence(RuntimeContext.java:508) --- <snip> --- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:637) Caused by: java.lang.ClassNotFoundException: CdaQueryComponent at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.pentaho.platform.engine.services.runtime.RuntimeContext.resolveComponent(RuntimeContext.java:800) at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:534) ... 71 more 12:07:04,540 ERROR [HttpWebService] HttpWebService.ERROR_0001 - MESSAGE_TBD java.lang.ClassCastException: org.pentaho.platform.api.engine.ActionValidationException cannot be cast to java.lang.String at org.pentaho.platform.engine.services.SoapHelper.generateSoapError(SoapHelper.java:82) at org.pentaho.platform.engine.services.SoapHelper.generateSoapResponse(SoapHelper.java:161) --- <snip> --- Reproduced in CE and EE first sample not working: bi-developers/cdf-samples/20-samples/blueprint Also - chart samples, Pentaho Sample when drilling on last chart and many others...

    Pentaho BI Platform Tracking | 6 years ago | Doug Moran
    java.lang.ClassCastException: org.pentaho.platform.api.engine.ActionValidationException cannot be cast to java.lang.String
  2. 0

    Many of the CDF samples under "BI Developer Examples" display an alert box with the error message: Found error: [object XMLHttpRequest] - parseerror, Error: TypeError: Cannot read property 'documentElement' of null The error message in the log: | Error Time: Monday, October 18, 2010 12:07:04 PM EDT | Session ID: joe | Instance Id: bfbb57dd-dad1-11df-90a0-d39e833a99c2 | Action Sequence: jfreechart.xaction | Execution Stack: | Action Class: CdaQueryComponent | Action Desc: CDA Query | Loop Index (1-based): N/A Stack Trace:org.pentaho.platform.api.engine.ActionValidationException: RuntimeContext.ERROR_0009 - Could not create component CdaQueryComponent at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:547) at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:524) at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateSequence(RuntimeContext.java:508) --- <snip> --- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:637) Caused by: java.lang.ClassNotFoundException: CdaQueryComponent at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.pentaho.platform.engine.services.runtime.RuntimeContext.resolveComponent(RuntimeContext.java:800) at org.pentaho.platform.engine.services.runtime.RuntimeContext.validateComponents(RuntimeContext.java:534) ... 71 more 12:07:04,540 ERROR [HttpWebService] HttpWebService.ERROR_0001 - MESSAGE_TBD java.lang.ClassCastException: org.pentaho.platform.api.engine.ActionValidationException cannot be cast to java.lang.String at org.pentaho.platform.engine.services.SoapHelper.generateSoapError(SoapHelper.java:82) at org.pentaho.platform.engine.services.SoapHelper.generateSoapResponse(SoapHelper.java:161) --- <snip> --- Reproduced in CE and EE first sample not working: bi-developers/cdf-samples/20-samples/blueprint Also - chart samples, Pentaho Sample when drilling on last chart and many others...

    Pentaho BI Platform Tracking | 6 years ago | Doug Moran
    java.lang.ClassCastException: org.pentaho.platform.api.engine.ActionValidationException cannot be cast to java.lang.String
  3. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String
  6. 0

    Bug ID: JDK-6499662 "java.lang.ClassCastException: cannot be cast to java.lang.String" happens from time to time

    sun.com | 4 months ago
    java.lang.ClassCastException: cannot be cast to java.lang.String

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.pentaho.platform.api.engine.ActionValidationException cannot be cast to java.lang.String

      at org.pentaho.platform.engine.services.SoapHelper.generateSoapError()
    2. org.pentaho.platform
      SoapHelper.generateSoapResponse
      1. org.pentaho.platform.engine.services.SoapHelper.generateSoapError(SoapHelper.java:82)
      2. org.pentaho.platform.engine.services.SoapHelper.generateSoapResponse(SoapHelper.java:161)
      2 frames