Hitachi Vantara Pentaho Community Forums
Results 1 to 1 of 1

Thread: Web services lookup "java.lang.NullPointerException" when no rows

  1. #1

    Exclamation Web services lookup "java.lang.NullPointerException" when no rows

    Good morning!

    I have a transformation that checks if there is any row that needs to be processed (a "SELECT COUNT(*)"). If so, I look for the data and send it over to a "Web services lookup" step. If I have 0 rows, I abort the transformation.

    Now, this transoformation (see the attached image) stops because of an error:

    2009/08/17 09:31:11 - Web Service Update Shipping Order.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : Unexpected error :
    2009/08/17 09:31:11 - Web Service Update Shipping Order.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : java.lang.NullPointerException
    2009/08/17 09:31:11 - Web Service Update Shipping Order.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : at org.pentaho.di.trans.steps.webservices.WebService.defineIndexList(WebService.java:171)
    2009/08/17 09:31:11 - Web Service Update Shipping Order.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : at org.pentaho.di.trans.steps.webservices.WebService.processRow(WebService.java:124)
    2009/08/17 09:31:11 - Web Service Update Shipping Order.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2862)
    2009/08/17 09:31:11 - Web Service Update Shipping Order.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : at org.pentaho.di.trans.steps.webservices.WebService.run(WebService.java:957)

    Could you please help me on this?

    Thanks in advance,
    Luis
    Attached Images Attached Images  
    Last edited by luisc9; 08-19-2009 at 07:13 PM.

Tags for this Thread

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.