kohsuke / com4j

Type-safe Java/COM binding
http://com4j.kohsuke.org/
BSD 2-Clause "Simplified" License
146 stars 78 forks source link

COMsurrogate has stopped working #44

Open sann3 opened 9 years ago

sann3 commented 9 years ago

I am using com4j-20120426-2 to generate java skeleton from dll and connect. It is working fine. But after some time windows showing "COMsurrogate has stopped working" error , in that box if I click ok the running java terminated. Please find the detailed windows exception.

Problem signature: Problem Event Name: APPCRASH Application Name: DllHost.exe Application Version: 6.1.7600.16385 Application Timestamp: 4a5bc6b7 Fault Module Name: StackHash_a13a Fault Module Version: 6.1.7601.17725 Fault Module Timestamp: 4ec49b8f Exception Code: c0000374 Exception Offset: 000ce6c3 OS Version: 6.1.7601.2.1.0.272.7 Locale ID: 1033 Additional Information 1: a13a Additional Information 2: a13adc6fde0255c16bdfac2a7fa7b5e9 Additional Information 3: e1f9 Additional Information 4: e1f970ab2e475d4dc578f4188f488cfc

Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt

Exception :

com4j.ComException: 800706be The remote procedure call failed. : The remote procedure call failed. : .\invoke.cpp:517 at com4j.Wrapper.invoke(Wrapper.java:187) at $Proxy15.get(Unknown Source) Caused by: com4j.ComException: 800706be The remote procedure call failed. : The remote procedure call failed. : .\invoke.cpp:517 at com4j.Native.invoke(Native Method) at com4j.StandardComMethod.invoke(StandardComMethod.java:35) at com4j.Wrapper$InvocationThunk.call(Wrapper.java:356) at com4j.Task.invoke(Task.java:50) at com4j.ComThread.run0(ComThread.java:172) at com4j.ComThread.run(ComThread.java:153)