Count not parse the invoke method( while calling java method)

The following code is there in java code method

package Applications.Unica.UnicaCampaignInterface.UnicaCallBulkUploadClient;

import java.io.IOException;

import java.rmi.Naming;

import java.rmi.NotBoundException;

import java.rmi.RemoteException;

public class UnicaCallBulkUploadClientBulkUpLoadClient{

/****** START SET/GET METHOD, DO NOT MODIFY *****/

protected String profileId = "";

protected String promotionId = "";

protected String rmiurl = "";

protected String errormessage = "";

public String getprofileId() {

  return profileId;

}

public void setprofileId(String val) {

  profileId = val;

}

public String getpromotionId() {

  return promotionId;

}

public void setpromotionId(String val) {

  promotionId = val;

}

public String getrmiurl() {

  return rmiurl;

}

public void setrmiurl(String val) {

  rmiurl = val;

}

public String geterrormessage() {

  return errormessage;

}

public void seterrormessage(String val) {

  errormessage = val;

}

/****** END SET/GET METHOD, DO NOT MODIFY *****/

public UnicaCallBulkUploadClientBulkUpLoadClient() {

}

public void invoke()  throws Exception{

/* Available Variables: DO NOT MODIFY

In  : String profileId

In  : String promotionId

In  : String rmiurl

Out : String errormessage

* Available Variables: DO NOT MODIFY *****/

com.walmart.mtep.promotions.bulkupload.EVoucherBulkUploader bb = (com.walmart.mtep.promotions.bulkupload.EVoucherBulkUploader) Naming

    .lookup(rmiurl);

String giveprofileId = profileId;

String givepromotionId=promotionId;

String errormessageString=bb.uploadEVouchersAndReturnFails(profileId, promotionId);

errormessage=errormessageString;

}

}

The following is error

<?xml version = "1.0" encoding = "UTF-8"?>

<ns0:ErrorReport xmlns:ns0 = "http://www.tibco.com/pe/EngineTypes">

<StackTrace>Job-14000 Error in [Applications/Unica/UnicaCampaignInterface/UnicaCallBulkUploadClient.process/GroupAllActivities/BulkUpLoadClient]

While executing [invoke] encountered [java.net.MalformedURLException] : [invalid URL string:  rmi://10.203.54.10:8860/com/walmart/mtep/promotions/bulkupload/EVoucherBulkUploader at java.rmi.Naming.parseURL(Naming.java:269)]

at com.tibco.plugin.java.JavaActivity.eval(JavaActivity.java:395)

at com.tibco.pe.plugin.Activity.eval(Activity.java:209)

at com.tibco.pe.core.TaskImpl.eval(TaskImpl.java:540)

at com.tibco.pe.core.Job.a(Job.java:712)

at com.tibco.pe.core.Job.k(Job.java:501)

at com.tibco.pe.core.JobDispatcher$JobCourier.a(JobDispatcher.java:249)

at com.tibco.pe.core.JobDispatcher$JobCourier.run(JobDispatcher.java:200)

</StackTrace>

<Msg>While executing [invoke] encountered [java.net.MalformedURLException] : [invalid URL string:  rmi://10.203.54.10:8860/com/walmart/mtep/promotions/bulkupload/EVoucherBulkUploader at java.rmi.Naming.parseURL(Naming.java:269)]</Msg>

<FullClass>com.tibco.plugin.java.InvocationException</FullClass>

<Class>InvocationException</Class>

<ProcessStack>IntegrationProcesses/UNICACAMPAINIntegration.process/GroupAllActivities/ForEachFeed/MainProcess>Applications/Unica/UnicaCampaignInterface/UnicaMainProcess.process/UnicaInterface/CoreProcess>Applications/Unica/UnicaCampaignInterface/UnicaCoreProcess.process/GroupAllActivities/CampaignSplitFileList/CallUpload>Applications/Unica/UnicaCampaignInterface/UnicaCallBulkUploadClient.process/GroupAllActivities/BulkUpLoadClient</ProcessStack>

<MsgCode>BW-JAVA-100001</MsgCode>

<Data>

  <ns1:InvocationException xmlns:ns1 = "http://schemas.tibco.com/bw/plugins/java/5.0/javaExceptions">

   <msg>While executing [invoke] encountered [java.net.MalformedURLException] : [invalid URL string:  rmi://10.203.54.10:8860/com/walmart/mtep/promotions/bulkupload/EVoucherBulkUploader at java.rmi.Naming.parseURL(Naming.java:269)]</msg>

   <msgCode>BW-JAVA-100001</msgCode>

   <methodName>invoke</methodName>

   <exceptionClassName>java.net.MalformedURLException</exceptionClassName>

   <exceptionMessage>invalid URL string:  rmi://10.203.54.10:8860/com/walmart/mtep/promotions/bulkupload/EVoucherBulkUploader at java.rmi.Naming.parseURL(Naming.java:269)</exceptionMessage>

  </ns1:InvocationException>

</Data>

</ns0:ErrorReport>

(2) Answers

Login