Menu

#321 Lots of error message while using converted dll in .NET, making application slow

v1.0 (example)
open
nobody
None
3
2017-08-24
2017-08-24
Amit Verma
No

Hi,

I'm using the ikvm v 7.2.4630.5 for converting my Java JAR project into a .NET dll.
Running the ikvm command line tool works fine.

Then I add the created dll (together with all the other IKVM-dll's) as a reference in a new .NET C# project.

I can create the object and call the method but while running it generates 1000's of error lines like:

'ABC.exe' (CLR v4.0.30319: ABC.exe): Loaded 'ikvm_dynamic_assembly250870979'.
'ABC.exe' (CLR v4.0.30319: ABC.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\ISymWrapper\v4.0_4.0.0.0
b03f5f7f11d50a3a\ISymWrapper.dll'. Cannot find or open the PDB file.
A first chance exception of type 'java.io.FileNotFoundException' occurred in IKVM.OpenJDK.Core.dll
A first chance exception of type 'java.security.PrivilegedActionException' occurred in IKVM.Runtime.dll
A first chance exception of type 'java.io.FileNotFoundException' occurred in IKVM.OpenJDK.Core.dll
A first chance exception of type 'java.security.PrivilegedActionException' occurred in IKVM.Runtime.dll
A first chance exception of type 'java.io.FileNotFoundException' occurred in IKVM.OpenJDK.Core.dll
This all making .Net application load very slow, which can be seen manually.

Please suggest what should I do to remove these exception - In short to make my application faster like it was.

Discussion


Log in to post a comment.