cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

VersionControlService throwing Remote exception

grainger-3
1-Newbie

VersionControlService throwing Remote exception

Hello Everyone,

I am new to Windchill customization. I am using eclipse for code writing, I have configured method server with eclipse. Problem is, I am able to write and debug normal APIs based code but when I use any service related API like VersionControlService  I am getting exception.

like below.

Exception in thread ``main`` wt.util.WTRemoteException: unable to invoke remote method; nested exception is :

            java.rmi.ServerRuntimeException: Server exception; nested exception is:

             java.lang.NullpointerException

              .....

             ......

I am calling method using  RemoteMethodServer API and invoking class using invoke method.

can any body guide me what wrong I am doing while running the code.

Windchill and eclipse are running on same machine.

2 REPLIES 2

There is java.lang.NullpointerException. can you post complete stack trace and code which you are running

Thanks

Shreyas

Hi Shreyas,

Thank you for Reply, By mistake null WTDocument object was being passed in api. 

Top Tags