IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  java.lang.nullpointer exception

    Posted Mon March 27, 2006 05:09 PM

    Hi All,

    I have written a java service which converts stringtodatestring. I’am calling this service from another service Ia’m getting this error “java.lang.nullpointerexception”. I have checked the inputs an all possible causes that i can think.

    Anyideas,

    Thanks,
    uwhiz


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: java.lang.nullpointer exception

    Posted Mon March 27, 2006 05:16 PM

    check your java code some where you are trying to convert null value into string. First try to run the java service seperately instead of calling it from another service. If possible paste your code in the next post.
    Thanks
    Jay


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: java.lang.nullpointer exception

    Posted Mon March 27, 2006 06:36 PM

    Hi Jay,

    Yeah the problem solved. I was passing null value to the stirng.

    once again thanx,

    uwhiz


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: java.lang.nullpointer exception

    Posted Tue March 28, 2006 04:56 PM

    Just curious: what does your service do exactly? Is it anything that the services in WmPublic/pub.date don’t already do?

    • Percio

    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services