Error accessing product object method - Lotus Notes

356 views Asked by At

I'm getting this error "Error accessing product object method" on Call mySqlTableObj.init(url,user,password)

here is the lotusscript script library:

Dim jsDU As New JAVASESSION
Dim mySqlTable As JAVACLASS
Dim mySqlTableObj  As JAVAOBJECT

Set mySqlTable = jsDU.GetClass("org.piu.MySQLTable.MySQLObject")
Set mySqlTableObj = mySqlTable.Createobject()
Call mySqlTableObj.init(url,user,password)
Set getMySQLTableObject = mySqlTableOBJ

here's the java script library:

public void init( String url, String un,String pd) {

    this.url = url;
    this.un = un;
    this.pd = pd;
}

I do not get this error all the time. Sometimes it does not appear sometimes it does. Can anyone help me with this?

Thanks!

0

There are 0 answers