Hi Anna,
As the issue is reported in production environment, so it will be very helpful if you provide the solution ASAP... :)
please find the stack trace.
Java page stack trace: java.lang.ExceptionInInitializerError
at com.jniwrapper.win32 .system.Kernel32.isUnicode (Kernel32.java:77)
at com.jniwrapper.win32.FunctionName. <clinit> (FunctionName.java:24)
at com.jniwrapper.win32.MessageLoopThread. <clinit> (MessageLoopThread.java:24 )
at com.scandihealth.ccs.ccsclient.ccsbase.CPMSubModule.environmentInitialize (CPMSubModule.java:683)
at com.scandihealth.portalbridge.CPMBridge.EnvironmentInitialize (CPMBridge.java:505) to sun.reflect.NativeMethodAccessorImpl.invoke0 (native method )
at sun.r. eflect.NativeMethodAccessorImpl.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown Source)
at java.lang.reflect.Method.invoke (Unknown Source)
at com.jnbridge.jnbcore.JNBDispatcher.voidVirtualCall (Unknown Source)
at com.jnbridge.jnbcore.JNBDispatcher.call (Unknown Source)
at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a (Unknown Source)
at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest (Unknown Source) Caused city: com.jniwrapper.JNIWrapperException: java.io.FileNotFoundException: C: \ Users \ abc5 \ AppData \ Local \ Temp \ jniwrap-3.8.3.24078.Build.3.8.3 \ jniwrap.dll (The process can not access the file , because it is used by another process) Caused city: java.io.FileNotFoundException: C: \ Users \ abc5\ AppData \ Local \ Temp \ jniwrap-3.8.3.24078.Build.3.8.3 \ jniwrap.dll (The process can not access the file as it is used by another process)
Regards,
Jayendra Singh
On Wednesday, September 6, 2017 at 4:10:21 PM UTC+5:30, Anna Dolbina wrote:
Hello Jayendra,
It is quite difficult to determine the cause of the exception without the exception stack trace or a sample that can be used to reproduce the same issue in our environment.
Is it possible to wrap the code given in your original post in a try/catch clause and collect the complete exception stack trace using any means available in your application? You may use SLF4j logging that is used by ComfyJ itself.
Hi,
We are using comfyj-2.8.jar and jniwrap-3.8.3.24078.jar.
Everything was working fine but few days back suddenly we are getting "java.lang.ExceptionInInitializerError".
The error occurs randomly. After analyzing the code we have found that the issue occurs while executing the below code segment:
OleMessageLoop.start();
NativeResourceCollector.getInstance().start();
We don't have any other information as this issue occurs only in production and also we don't have exception stack trace.
Environment details:
Java 1.6,
Windows 7,10
Thanks & Regards,
Jayendra Singh
--
You received this message because you are subscribed to the Google Groups "ComfyJ Forum" group.