Guru Prashanth - 2015-07-31

Hi All

I am using the batch file provided in MSWMI. The com server is running locally on the machine. I am using the Administrator to access the host.I am getting the following error

C:\Users\Administrator\Desktop\j-interop\examples\MSWMI>Execute.bat localhost lo
calhost Administrator Dangerous1
java.lang.ArrayIndexOutOfBoundsException: 16
at jcifs.util.Encdec.dec_uint32le(Encdec.java:90)
at ndr.NdrBuffer.dec_ndr_long(NdrBuffer.java:146)
at ndr.NetworkDataRepresentation.readUnsignedLong(NetworkDataRepresentat
ion.java:64)
at org.jinterop.dcom.core.JIRemoteSCMActivator$RemoteCreateInstance.read
(JIRemoteSCMActivator.java:642)
at ndr.NdrObject.decode(NdrObject.java:36)
at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:1
37)
at rpc.Stub.call(Stub.java:113)
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:645)
at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:496)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:460)
at org.jinterop.dcom.test.MSWMI.<init>(MSWMI.java:38)
at org.jinterop.dcom.test.MSWMI.main(MSWMI.java:169)

Here is the log file for Jinterop. I am using the latest version 3.0.0.

http://paste.ubuntu.com/11972003/

Thanks
Guru