Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Getting ClassCast Exception

  1. #1
    Join Date
    Nov 2011
    Posts
    14

    Default Getting ClassCast Exception

    In our application we are running the kettle job file from the java code. We are getting below ClassCast exception during the run.But this exception is not affecting the process. Process finished successfully. So what would be the reason of this exception ? Can be avoid it?

    java.lang.ClassCastException: org.pentaho.di.trans.steps.tableoutput.TableOutput cannot be cast to org.pentaho.di.job.entry.JobEntryBase
    at org.pentaho.di.job.entry.JobEntryBase.equals(JobEntryBase.java:104)
    at org.pentaho.di.core.logging.LoggingObject.equals(LoggingObject.java:94)
    at org.pentaho.di.core.logging.LoggingRegistry.findExistingLoggingSource(LoggingRegistry.java:95)
    at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:68)
    at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:42)
    at org.pentaho.di.core.database.Database.<init>(Database.java:190)
    at org.pentaho.di.trans.steps.tableoutput.TableOutput.init(TableOutput.java:578)
    at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:52)
    at java.lang.Thread.run(Thread.java:662)

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    It means you need to upgrade away from your development version.

  3. #3
    Join Date
    Nov 2011
    Posts
    14

    Default

    Thanks Matt. Problem is resolved now.

  4. #4
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    It's one of the reasons why I put that annoying dialog at startup of Spoon... but if you don't read it or put the dev version in production ... oh well.

  5. #5
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    lol; That "annoying" dialog is easily circumvented too - first thing we do with dev builds is turn that off

  6. #6
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    True, but you don't come complaining about dev bugs on this forum :-)

  7. #7
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    me? never!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.