on 12-19-2006 4:55 AM
Hi,
I am using MI client <b>SP15</b> with <b>DB2e</b> for persistence. When i execute the code in debug mode, <b>NullPointerException</b> is returned by the statement :
<b>SyncBoDescriptor sbd = descriptorFacade.getSyncBoDescriptor(syncBoName);</b>
But if i execute the same code on MI Client(Normal Execution) its working perfectly and the same code is working perfectly in Debug Mode when I use <b>File</b> as Persistence medium.
Please suggest a solution.
Regards,
Aryan
Hi Aryan
Since you say that the exception is reported only when using NWDS, one suggestion and possible solution is to check whether you are using different versions of JDK for the client and NWDS. If they are different try to use the same version and retry
Best Regards
Sivakumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello aryan,
how did you execute the MI client in debug mode? is it via NWDS?
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aryan,
If the data was already created using FileIO as persistence, then before you use DB2e for persistence you will have to do a client data reset (so that the data tables for storing each sync BO's data is created and populated).
I suspect this has not been done. Please check on this one.
Best Regards,
Sandy
Hi Sandeep,
Actually I have tried out with File Persistence and it was working fine. Then using a separate MI Client installation, I have tried out with DB2E. For that I have downloaded DB2E installation file,followed by a client restart and then I downloaded my application.Now my application is using DB2e as persistence.
I have confirmed that by checking the "data" folder in the <MI_HOME>. Moreover I am using Jquery for querying.If the persistence medium is file then the statement which create Jquery instance will throw an exception.But that statement is executing correctly.
Regards
Aryan
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.