org.pentaho.di.core.exception.KettleException: Failed to commit batch: java.lang.String cannot be cast to java.lang.Integer

Pentaho BI Platform Tracking | Joaquin Gutierrez | 3 years ago
  1. 0

    I have this error: ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-06-14 04.30.00 by tomcat) : Error desconocido 2013/06/14 17:32:02 - OpenERP Object Delete.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-06-14 04.30.00 by tomcat) : org.pentaho.di.core.exception.KettleException: 2013/06/14 17:32:02 - OpenERP Object Delete.0 - Failed to commit batch: 2013/06/14 17:32:02 - OpenERP Object Delete.0 - java.lang.String cannot be cast to java.lang.Integer 2013/06/14 17:32:02 - OpenERP Object Delete.0 - 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.processRow(OpenERPObjectDelete.java:51) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at java.lang.Thread.run(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.parser.XmlRpcResponseParser.addResult(XmlRpcResponseParser.java:61) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.parser.RecursiveTypeParserImpl.endValueTag(RecursiveTypeParserImpl.java:78) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.parser.XmlRpcResponseParser.endElement(XmlRpcResponseParser.java:186) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at com.debortoliwines.openerp.api.Session.executeCommand(Session.java:187) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at com.debortoliwines.openerp.api.OpenERPCommand.unlinkObject(OpenERPCommand.java:140) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.openerp.core.OpenERPHelper.deleteObjects(OpenERPHelper.java:162) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.CommitBatch(OpenERPObjectDelete.java:93) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.processRow(OpenERPObjectDelete.java:49) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - ... 2 more I'm sure the step input is an integer read from the ddbb.I tried to force the conversion to an integer field with a step to rename / delete not working. Thank

    Pentaho BI Platform Tracking | 3 years ago | Joaquin Gutierrez
    org.pentaho.di.core.exception.KettleException: Failed to commit batch: java.lang.String cannot be cast to java.lang.Integer
  2. 0

    I have this error: ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-06-14 04.30.00 by tomcat) : Error desconocido 2013/06/14 17:32:02 - OpenERP Object Delete.0 - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-06-14 04.30.00 by tomcat) : org.pentaho.di.core.exception.KettleException: 2013/06/14 17:32:02 - OpenERP Object Delete.0 - Failed to commit batch: 2013/06/14 17:32:02 - OpenERP Object Delete.0 - java.lang.String cannot be cast to java.lang.Integer 2013/06/14 17:32:02 - OpenERP Object Delete.0 - 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.processRow(OpenERPObjectDelete.java:51) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at java.lang.Thread.run(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.parser.XmlRpcResponseParser.addResult(XmlRpcResponseParser.java:61) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.parser.RecursiveTypeParserImpl.endValueTag(RecursiveTypeParserImpl.java:78) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.parser.XmlRpcResponseParser.endElement(XmlRpcResponseParser.java:186) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at com.debortoliwines.openerp.api.Session.executeCommand(Session.java:187) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at com.debortoliwines.openerp.api.OpenERPCommand.unlinkObject(OpenERPCommand.java:140) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.openerp.core.OpenERPHelper.deleteObjects(OpenERPHelper.java:162) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.CommitBatch(OpenERPObjectDelete.java:93) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - at org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.processRow(OpenERPObjectDelete.java:49) 2013/06/14 17:32:02 - OpenERP Object Delete.0 - ... 2 more I'm sure the step input is an integer read from the ddbb.I tried to force the conversion to an integer field with a step to rename / delete not working. Thank

    Pentaho BI Platform Tracking | 3 years ago | Joaquin Gutierrez
    org.pentaho.di.core.exception.KettleException: Failed to commit batch: java.lang.String cannot be cast to java.lang.Integer
  3. 0

    Not able to connect to Bugzilla

    Google Groups | 2 years ago | Unknown author
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Brows OpenERP contacts using java code

    Stack Overflow | 4 years ago | user1471739
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer

    2 unregistered visitors
    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

      java.lang.String cannot be cast to java.lang.Integer

      at org.apache.xmlrpc.parser.XmlRpcResponseParser.addResult()
    2. Apache XML-RPC Common Library
      XmlRpcResponseParser.endElement
      1. org.apache.xmlrpc.parser.XmlRpcResponseParser.addResult(XmlRpcResponseParser.java:61)
      2. org.apache.xmlrpc.parser.RecursiveTypeParserImpl.endValueTag(RecursiveTypeParserImpl.java:78)
      3. org.apache.xmlrpc.parser.XmlRpcResponseParser.endElement(XmlRpcResponseParser.java:186)
      3 frames
    3. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      9 frames
    4. Apache XML-RPC Client Library
      XmlRpcClient.execute
      1. org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:186)
      2. org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156)
      3. org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
      4. org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
      5. org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
      6. org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
      7. org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
      8. org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
      8 frames
    5. com.debortoliwines.openerp
      OpenERPCommand.unlinkObject
      1. com.debortoliwines.openerp.api.Session.executeCommand(Session.java:187)
      2. com.debortoliwines.openerp.api.OpenERPCommand.unlinkObject(OpenERPCommand.java:140)
      2 frames
    6. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.openerp.core.OpenERPHelper.deleteObjects(OpenERPHelper.java:162)
      2. org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.CommitBatch(OpenERPObjectDelete.java:93)
      3. org.pentaho.di.trans.steps.openerp.objectdelete.OpenERPObjectDelete.processRow(OpenERPObjectDelete.java:49)
      4. org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
      4 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame