Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Again: java.lang.NullPointerException when using Web service lookup

  1. #1

    Angry Again: java.lang.NullPointerException when using Web service lookup

    When try to use a webservice lookup, I get this error:


    2009/08/19 15:36:04 - Web Service Send Command to Device.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : Unexpected error :
    2009/08/19 15:36:04 - Web Service Send Command to Device.0 - ERROR (version 3.2.0-RC1, build 10482 from 2009-03-30 11.47.00 by tomcat) : java.lang.NullPointerException
    2009/08/19 15:36:04 - Web Service Send Command to Device.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/19 15:36:04 - Web Service Send Command to Device.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/19 15:36:04 - Web Service Send Command to Device.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/19 15:36:04 - Web Service Send Command to Device.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)
    2009/08/19 15:36:04 - Web Service Send Command to Device.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1)

    I attach an image of the transformation.

    Could you please help me? Sombody?
    Attached Images Attached Images  

  2. #2
    Join Date
    Apr 2008
    Posts
    4,696

    Default

    Step 1 - make sure you're using a stable release.

    Note: version 3.2.0-RC1 is NOT the release... the 3.2.0-Stable is, but there is newer than that.

    Step 2 - put a dummy step in before the web lookup. Preview it. Make sure you have rows coming out of it. (The "Detect Empty Stream" may be causing problems, since it will generate an Empty row if the stream is empty!)
    Last edited by gutlez; 08-19-2009 at 07:45 PM.

  3. #3

    Unhappy Thank you...

    Dear Gut:

    1) Thank you for your answer.

    2) We're using 3.2.0-RC1.... . So, could you please give me the url where I can download the latest stable version?

    3) I'll try the Dummy step before the Web service lookup one... I have checked the transformation and it receives rows.

    Regards,
    Luis

  4. #4
    Join Date
    Apr 2008
    Posts
    4,696

    Default

    Same place you downloaded 3.2.0-RC1... Sourceforge.

    http://sourceforge.net/projects/pent...e.zip/download

    RC1 is (at best) a Release Candidate... Not yet a stable version.

    http://kettle.pentaho.org/ is the place to watch...

  5. #5

    Red face Thanks again

    Gut:

    Thanks again. I'll try and let you know.

    Regards,
    Luis

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.